Horde Groupware requires some prerequisite software before you can use it. In addition, there are other software packages which, while
not required, are recommended as without them you will experience very limited functionality. The following helps you to
install the required and recommended software packages on a Debian Etch (4.0) System.
*There is also a Horde 'Groupware Webmail Edition' this will not be the part of this how to*
*This how to will not cover your mailserver setup.*
*Note: this how to is just a draft and not really perfect - feel free to edit it and make it better*
I started with a new and fresh Debian(openvz-image)
You should update your system.
apt-get update && apt-get dist-upgrade
apt-get install libapache2-mod-php5 apache2 apache2-mpm-prefork
apt-get install php5-cli
apt-get install php-pear php5-gd php5-ldap php5-mcrypt php5-memcache
apt-get install php5-imap
apt-get install php5-mysql
apt-get install php5-pgsql
For Mysql
apt-get install mysql-server
mysql -p -e 'CREATE USER HORDE ...'
mysql -p -e 'grant all on horde.* to horde@localhost identified by "horde";'
Download and unpack it
wget [tarball] cd /root tar -xvf horde-webmail-1.0.1.tar.gz
copy to /var/www and change owner
cp -r /root/horde-webmail-1.0.1 /var/www/horde chown -r www-data:www-data horde
php5 -q /var/www/horde/scripts/setup.php