Differences between revisions 19 and 21 (spanning 2 versions)
Revision 19 as of 2021-02-17 13:33:12
Size: 1810
Editor: ?Beuc
Comment: fix config path
Revision 21 as of 2021-02-18 04:47:14
Size: 1809
Editor: PaulWise
Comment: cleanups
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:

== Distribution-specific requirements ==

=== Debian 8.0 "Jessie" and later ===

No specific instructions: follow the generic instructions.
Line 17: Line 11:
        apt-get install php-horde-webmail         apt install php-horde-webmail
Line 20: Line 14:
        apt-get install php-horde-groupware         apt install php-horde-groupware
Line 26: Line 20:
Just add php-horde- in front of the application name. Example:
        apt-get install php-horde-gollem
Just add php-horde- in front of the application name. For example:
        apt install php-horde-gollem
Line 37: Line 31:
For IMP:
{{{
apt install dovecot-imapd
adduser admin
}}}
then edit {{{/etc/horde/imp/backends.php}}} and comment out {{{'secure' => 'tls',}}}.
Line 40: Line 41:
The ''php-horde'' package installs a simple apache config The ''php-horde'' package installs a simple Apache config
Line 58: Line 59:
 * 3. configure thru the web interface, download the generated file, copy it to  * 3. configure through the web interface, download the generated file, copy it to

Translation(s): none


General Horde installation Howto

Installing

Installing bundles

If you want to install the webmail bundle:

  • apt install php-horde-webmail

If you want to install the groupware bundle:

  • apt 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. For example:

  • apt install php-horde-gollem

Installing an admin user

For admin:admin credentials:

mysql horde < /usr/share/php/data/horde/scripts/sql/script.initial_horde_user.sql

For IMP:

apt install dovecot-imapd
adduser admin

then edit /etc/horde/imp/backends.php and comment out 'secure' => 'tls',.

Configuring Webserver

/!\ The php-horde package installs a simple Apache config (/etc/apache2/conf-available/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 through the web interface, download the generated file, copy it to
    • /etc/horde/<app> and make it unwritable (chown root + chmod 0755)