(If you are only going to install the basic groupware and/or email applications as this guide shows, you should consider installing the Webmail bundle - it's much less work and takes care of most of the tasks on this page. Ed.)

**Instructions for installing Horde 5, IMP and others Horde applications, with Pear on Debian (Jessie) with Apache2, PHP5 and Mysql.

Last updated 2015-10-28

First steps and assumptions

Debian is installed with basic, web server and ssh at a minimum.

SMTP, IMAP and Apache servers are properly configured and working.

All services are on the same host.


Update your system

aptitude update (and aptitude safe-upgrade if necessary)
pear upgrade PEAR

Install Mysql and create Horde database

aptitude install mysql-server mysql-common mysql-client
mysql --user=root -p


Install PHP5

aptitude install php5 php5-common php5-imap php5-mysql php-pear php5-gd php5-tidy php5-imagick php5-mcrypt php5-intl php5-memcache php5-geoip php-gettext imagemagick tidy gettext php5-curl

Install Horde (read INSTALLhttp://www.horde.org/apps/horde/docs/INSTALL before proceeding)

pear channel-discover pear.horde.org
pear install horde/horde_role
pear run-scripts horde/horde_role
Filesystem location for the base Horde application : /var/www/horde
pear install -a -B horde/horde

Notes


Install IMP (read INSTALLhttp://www.horde.org/apps/imp/docs/INSTALL before proceeding)

pear install -a -B horde/imp
Optional: pear upgrade -a -B channel://phpseclib.sourceforge.net/File_ASN1

Install Ingo (read INSTALLhttp://www.horde.org/apps/ingo/docs/INSTALL before proceeding)

pear install -a -B horde/ingo

Install Turba (read INSTALLhttp://www.horde.org/apps/turba/docs/INSTALL before proceeding)

pear install -a -B horde/turba

Install Kronolith (read INSTALLhttp://www.horde.org/apps/kronolith/docs/INSTALL before proceeding)

pear install -a -B horde/kronolith
pear upgrade -a -B channel://pear.php.net/Date_Holidays-0.21.8
Optional: Install your country's holidays, if available.


Install Mnemo (read INSTALLhttp://www.horde.org/apps/mnemo/docs/INSTALL before proceeding)

pear install -a -B horde/mnemo

Setup and configure Horde

chown -R www-data /var/www/horde

First time configuration

cd /var/www/horde/config
cp -p conf.php.dist conf.php

As your database is empty you will get an error and crash. Don't worry!

Setup horde database

horde-db-migrate

Configure Horde and applications

Note: Do not click on the exit icon (logout), just close the browser. We still need to get back without login (Administrator).

Take a look at test.php

Note: Do not click on the exit icon (logout), just close the browser. We stiil need to get back without login (Administrator).

Consider using https

Note: Do not click on the exit icon (logout), just close the browser. We still need to get back without login (Administrator).

Setup authentication and resume Horde configuration

Done!