Webmail: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(→Links) |
|||
Zeile 65: | Zeile 65: | ||
sudo a2enconf roundcube.conf | sudo a2enconf roundcube.conf | ||
sudo service apache2 reload | sudo service apache2 reload | ||
</pre> | |||
==== config.inc.php ==== | |||
<pre> | |||
cd /var/www/roundcube/config/ | |||
sudo cp -p config.inc.php.sample config.inc.php | |||
</pre> | </pre> | ||
Version vom 20. März 2016, 18:57 Uhr
Roundcube
Download
weget https://downloads.sourceforge.net/project/roundcubemail/roundcubemail/1.1.4/roundcubemail-1.1.4.tar.gz
Installation
Package installieren
sudo tar xzvf roundcubemail-* sudo mv roundcubemail-1.1.4 /var/www/roundcube sudo chown -R www-data:www-data /var/www/roundcube
Folgende php-Skripte sind erforderlich (falls noch nicht installiert):
sudo apt-get install php5 php-pear php5-mysql php5-mcrypt php5-intl
Datenbank erstellen
mysql -u root -p mysql> CREATE DATABASE roundcubemail; mysql> create user 'roundcube'@'%' identified by '<password>'; mysql> grant usage on *.* to 'roundcube'@'%' identified by '<password>'; mysql> grant all privileges on roundcubemail.* to 'roundcube'@'%'; mysql> flush privileges; mysql> quit;
Zertifikat erstellen
Siehe dazu SSL Zertifikat
Konfiguration
Apache
cd /etc/apache2/conf-available/ sudo touch roundcube.conf
Alias /roundcube "/var/www/roundcube/" <Directory "/var/www/roundcube"> Options +FollowSymLinks AllowOverride All <IfModule mod_dav.c> Dav off </IfModule> SetEnv HOME /var/www/roundcube SetEnv HTTP_HOME /var/www/roundcube </Directory>
sudo a2enconf roundcube.conf sudo service apache2 reload
config.inc.php
cd /var/www/roundcube/config/ sudo cp -p config.inc.php.sample config.inc.php