Horde (Ubuntu 16.04): Unterschied zwischen den Versionen

Aus Tutorials
Zur Navigation springen Zur Suche springen
Zeile 14: Zeile 14:


<pre>
<pre>
sudo apt-get install php-pear php-apc php7.0-dev   
sudo apt-get install php-pear php7.0-dev   
</pre>
</pre>



Version vom 10. März 2018, 12:32 Uhr

Noch in Bearbeitung


Installation

Diverses

sudo apt-get install libpam0g-dev libpam-runtime libpam-modules libpam-modules-bin libpam-doc \
libpam-cracklib libpam0g

PHP

sudo apt-get install php-pear php7.0-dev  

PEAR packages

sudo pear install Date
sudo pear install Net_DNS2
sudo pear install Services_Weather
sudo pear install File_Fstab
sudo pear install Date_Holidays-alpha#all
sudo pear install Net_Sieve

Webmail

sudo mkdir /var/www/horde
sudo chown -R www-data:www-data /var/www/horde
sudo -u www-data pear config-create /var/www/horde /var/www/horde/pear.conf
sudo -u www-data pear -c /var/www/horde/pear.conf install pear
sudo -u www-data /var/www/horde/pear/pear -c /var/www/horde/pear.conf channel-discover pear.horde.org
sudo -u www-data /var/www/horde/pear/pear -c /var/www/horde/pear.conf install horde/horde_role
sudo -u www-data /var/www/horde/pear/pear -c /var/www/horde/pear.conf run-scripts horde/horde_role
sudo -u www-data /var/www/horde/pear/pear -c /var/www/horde/pear.conf install -a horde/webmail

Links

https://www.horde.org/apps/webmail/docs/INSTALL http://pear.horde.org/

Konfiguration

Erstellung eines SSL-Zertifikates siehe SSL_Zertifikat

cd /etc/apache2/sites-available/
sudo vi horde.conf
<VirtualHost *:80>
        ServerName horde.kirner.or.at
        Redirect / https://horde.kirner.or.at
</VirtualHost>
sudo vi horde-ssl.conf
<VirtualHost *:443>
    ServerName horde.kirner.or.at

    SSLEngine on
    SSLCertificateFile /etc/ssl/certs/horde.crt
    SSLCertificateKeyFile /etc/ssl/private/apache.key

    # Pfad zu den Webinhalten
    DocumentRoot /var/www/horde

    KeepAlive On
    KeepAliveTimeout 5

    php_value include_path /var/www/horde/pear/php
    SetEnv PHP_PEAR_SYSCONF_DIR /var/www/horde

    <Directory /var/www/horde/> 
        Options +FollowSymlinks 
        AllowOverride All 
    </Directory>

    ErrorLog ${APACHE_LOG_DIR}/horde.kirner.or.at-error.log
    CustomLog ${APACHE_LOG_DIR}/horde.kirner.or.at-access.log combined
</VirtualHost>
sudo a2ensite horde
sudo a2ensite horde-ssl
sudo service apache2 reload

Links

https://www.horde.org/apps/webmail

https://wiki.horde.org/

https://kyup.com/tutorials/install-horde/


Zurück zu Mailserver einrichten