Horde (Ubuntu 16.04): Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 33: | Zeile 33: | ||
<pre> | <pre> | ||
cd /etc/apache2/sites-available/ | cd /etc/apache2/sites-available/ | ||
sudo vi | sudo vi horde.conf | ||
</pre> | </pre> | ||
<pre> | <pre> | ||
<VirtualHost *:80> | <VirtualHost *:80> | ||
ServerName | ServerName horde.kirner.or.at | ||
Redirect / https://horde.kirner.or.at | |||
Redirect / https:// | |||
</VirtualHost> | </VirtualHost> | ||
</pre> | </pre> | ||
<pre> | <pre> | ||
sudo vi | sudo vi horde-ssl.conf | ||
</pre> | </pre> | ||
<pre> | <pre> | ||
<VirtualHost *:443> | <VirtualHost *:443> | ||
ServerName | ServerName horde.kirner.or.at | ||
SSLEngine on | SSLEngine on | ||
SSLCertificateFile /etc/ssl/certs/ | SSLCertificateFile /etc/ssl/certs/horde.crt | ||
SSLCertificateKeyFile /etc/ssl/private/apache.key | SSLCertificateKeyFile /etc/ssl/private/apache.key | ||
Zeile 71: | Zeile 69: | ||
</Directory> | </Directory> | ||
ErrorLog ${APACHE_LOG_DIR}/ | ErrorLog ${APACHE_LOG_DIR}/horde.kirner.or.at-error.log | ||
CustomLog ${APACHE_LOG_DIR}/ | CustomLog ${APACHE_LOG_DIR}/horde.kirner.or.at-access.log combined | ||
</VirtualHost> | </VirtualHost> | ||
</pre> | </pre> |
Version vom 10. März 2018, 10:48 Uhr
Noch in Bearbeitung
Installation
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 pear config-create /var/www/horde /var/www/horde/pear.conf sudo pear -c /var/www/horde/pear.conf install pear
Links
https://www.horde.org/apps/webmail/docs/INSTALL
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://kyup.com/tutorials/install-horde/
Zurück zu Mailserver einrichten