# from: http://dgeo.perso.dgeos.net/INSTALL_HORDE4_FreeBSD.txt # # sources: # http://www.horde.org/apps/horde/docs?f=INSTALL.html#installing-with-pear # https://github.com/horde/horde/blob/master/horde/docs/INSTALL portmaster databases/php5-pgsql security/pecl-ssh2 archivers/pecl-lzf security/pecl-pam devel/pecl-intl textproc/pecl-xdiff net/pecl-geoip pw user add -n _horde -g 80 -d /nonexistent -s /usr/sbin/nologin -L www mkdir /usr/local/www/horde4 /usr/local/www/hordebin pear config-create /usr/local/www/horde4 /usr/local/www/horde4/pear.conf pear -c /usr/local/www/horde4/pear.conf config-set bin_dir /usr/local/www/hordebin user pear -c /usr/local/www/horde4/pear.conf install pear /usr/local/www/hordebin/pear -c /usr/local/www/horde4/pear.conf channel-discover pear.horde.org /usr/local/www/hordebin/pear -c /usr/local/www/horde4/pear.conf install horde/horde_role /usr/local/www/hordebin/pear -c /usr/local/www/horde4/pear.conf run-scripts horde/Horde_Role # Filesystem location for the base Horde application : /usr/local/www/horde # dependances "beta" for i in channel://pear.php.net/SOAP-0.12.0 channel://pecl.php.net/sasl-0.1.0 channel://pear.php.net/Text_CAPTCHA-0.4.3 channel://pecl.php.net/idn-0.2.0 channel://pear.php.net/XML_Serializer-0.20.2 channel://pear.php.net/HTTP_WebDAV_Server-1.0.0RC5 channel://pear.php.net/Date_Holidays-0.21.4 Date Net_LDAP; do /usr/local/www/hordebin/pear -c /usr/local/www/horde4/pear.conf install -a $i done # driver BDD /usr/local/www/hordebin/pear -c /usr/local/www/horde4/pear.conf install "pear/MDB2#pgsql" /usr/local/www/hordebin/pear -c /usr/local/www/horde4/pear.conf install -a horde/horde chown _horde /usr/local/www/horde/static # chemins temporaires horde mkdir -p -m 0700 /var/tmp/horde/{tmp,upload,vfs,sessions,cache} chown -R _horde /var/tmp/horde # applis for i in imp turba kronolith ingo nag; do /usr/local/www/hordebin/pear -c /usr/local/www/horde4/pear.conf install -a horde/$i done # pour jouer: # export PHP_PEAR_SYSCONF_DIR=/usr/local/www/horde4 # export PATH=/usr/local/www/hordebin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin # http://dev.twitter.com/pages/auth # callback URL = /horde/services/Twitter.php # /usr/local/www/hordebin/pear -c /usr/local/www/horde4/pear.conf install -a horde/Horde_Service_Twitter