Differences between revisions 15 and 16
Revision 15 as of 2017-02-01 13:06:15
Size: 2554
Editor: ?MathieuParent
Comment: repo update. squeeze removed
Revision 16 as of 2017-02-01 13:10:58
Size: 2113
Editor: ?MathieuParent
Comment: jessie+stretch doesn't work
Deletions are marked like this. Additions are marked like this.
Line 34: Line 34:

=== Debian 8.0 "Jessie" with 9.0 "Stretch" packages ===

Do this (as root):
{{{
cat <<EOF > /etc/apt/sources.list.d/stretch.list
deb http://ftp.fr.debian.org/debian stretch main
EOF
cat <<EOF > /etc/apt/preferences.d/horde.pref
Package: *
Pin: release n=stretch
Pin-Priority: 100

Package: php-horde php-horde-*
Pin: release n=stretch
Pin-Priority: 500
EOF
apt-get update
}}}

... and follow the generic instructions.

Translation(s): none


General Horde installation Howto

Distribution-specific requirements

Debian 7.0 "Wheezy"

Horde is not in Debian Wheezy, but you can install it from jessie.

Do this (as root):

cat <<EOF > /etc/apt/sources.list.d/jessie.list
deb http://ftp.fr.debian.org/debian jessie main
EOF
cat <<EOF > /etc/apt/preferences.d/horde.pref
Package: *
Pin: release n=jessie
Pin-Priority: 100

Package: php-horde php-horde-*
Pin: release n=jessie
Pin-Priority: 500
EOF
apt-get update

... and follow the generic instructions.

Debian 8.0 "Jessie" and later

No specific instructions: follow the generic instructions.

Installing

Installing bundles

If you want to install the webmail bundle:

  • apt-get install php-horde-webmail

If you want to install the groupware bundle:

  • apt-get install php-horde-groupware

NB: Horde bundles provide the horde-bundle virtual package

Installing individual applications

Just add php-horde- in front of the application name. Example:

  • apt-get install php-horde-gollem

Configuring Webserver

/!\ The php-horde package installs a simple apache config (/etc/apache2/conf.d/php-horde.conf). This is for fast installation but is not sufficient for production environment (it does not ensure SSL). You can remove it and add a new site (/etc/apache2/sites-available/horde.conf) and enable it (a2ensite horde).

Configuring Horde

There are several ways to configure Horde:

  • 1. if you have installed a bundle, you can run the included script
    • (webmail-install or groupware-install)
  • 2. for each application, you can bootstrap the config

        cd /etc/horde/<app>
        cp conf.php.dist conf.php
        chown www-data conf.php
  • .. then use the web interface:
  • 3. configure thru the web interface, download the generated file, copy it to
    • /etc/horde/<app> and make it unwritable (chown root + chmod 0755)