DAViCal koledarji, kontakti (CalDav, CardDav)

  1. PostgreSQL
    groupadd -g 209 postgres
    useradd -u 209 -g 209 -d /var/lib/pgsql postgres
    installpkg postgresql-9.3.4-x86_64-1_SBo.tgz
    su postgres -c "initdb -D /var/lib/pgsql/9.3/data --locale=en_US.UTF-8 -A md5 -W"
  2. Dodaj v /etc/rc.d/rc.local
    # Startup postgresql
    if [ -x /etc/rc.d/rc.postgresql ]; then
            /etc/rc.d/rc.postgresql start
    fi
  3. Dodaj v /etc/rc.d/rc.local_shutdown
    # Stop postgres
    if [ -x /etc/rc.d/rc.postgresql ]; then
            /etc/rc.d/rc.postgresql stop
    fi
  4. Nastavitev PostgreSQL v /var/lib/pgsql/9.3/data/postgresql.conf
    listen_addresses = '*'
  5. Dostopi PostgreSQL
    host    all             all             84.255.203.228/32          md5
  6. PHP PostgreSQL module
    wget http://slackbuilds.org/slackbuilds/13.37/libraries/php-pgsql.tar.gz
    tar xvfz php-pgsql.tar.gz
    cd php-pgsql
    wget http://slackware.osuosl.org/slackware-13.37/patches/source/php/php-5.3.27.tar.xz
    sh php-pgsql.SlackBuild
    installpkg  php-pgsql-5.3.27-x86_64-1_SBo.tgz
    
    # enable extension
    joe /etc/php/pgsql.ini
  7. PHP awl packages
  8. DAViCal
    wget http://debian.mcmillan.net.nz/packages/awl/awl-0.53.tar.gz
    tar xvfz awl-0.53.tar.gz
    mv awl-0.53/inc /usr/lib64/php/awl
  9. dd




s

© 2003-24 iNeta d.o.o. | Koroška cesta 31, SI-4000 Kranj | info@ineta.si | Pravno obvestilo
Powered by BravoCMS