Differences between revisions 1 and 21 (spanning 20 versions)
Revision 1 as of 2013-01-03 17:34:48
Size: 1116
Editor: ?MathieuParent
Comment:
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 1: Line 1:
#language en
~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: none-~
----
Line 3: Line 6:
== Debian <= 6 (squeeze) ==
For Debian squeeze and above, Horde 3 instructions are at [[Horde/Horde3]].

== Debian 7 (wheezy) ==

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

== Debian unstable (sid) ==
== Installing ==
Line 13: Line 9:
For example, if you want to install the webmail bundle:
 aptitude install php-horde-webmail
Line 16: Line 10:
Then :
 webmail-install
If you want to install the webmail bundle:
        apt install php-horde-webmail
Line 19: Line 13:
For example, if you want to install the webmail bundle:
 aptitude install php-horde-groupware
If you want to install the groupware bundle:
        apt install php-horde-groupware
Line 22: Line 16:
Then :
 groupware-install

NB: Horde bundles provides the ''horde-bundle'' virtual package
NB: Horde bundles provide the ''horde-bundle'' virtual package
Line 28: Line 19:
Just add php-horde- in fornt of the application name. Example
 aptitude install php-horde-gollem
Line 31: Line 20:
=== Configuring Webserver === Just add php-horde- in front of the application name. For example:
        apt install php-horde-gollem
Line 33: Line 23:
/!\ The ''php-horde'' package installs a simple apache config (/etc/apache2/conf.d/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). === 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)

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)