Schritt 1 // Roundcube Downloaden
Code:
cd /var/www/ispcp/gui/tools
wget http://mesh.dl.sourceforge.net/sourceforge/roundcubemail/roundcubemail-0.2-stable.tar.gz
tar xvfz roundcubemail-0.2-stable.tar.gz
cp -R roundcubemail-0.2-stable roundcube
rm -r roundcubemail-0.2-stable roundcubemail-0.2-stable.tar.gz
chown -R vu2000 /var/www/ispcp/gui/tools/roundcube
cd roundcube
chmod 755 temp logs
Schritt 2 // Datenbank anlegen
Dein MySQL Root Passwort
ersetze
DeinPasswort mit deinem
Code:
CREATE DATABASE roundcubemail DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
GRANT ALL PRIVILEGES ON roundcubemail.* TO roundcube@localhost IDENTIFIED BY 'DeinPasswort';
quit
Schritt 3 // SQL-File importieren
Code:
mysql -u roundcube -p roundcubemail < SQL/mysql.initial.sql
Dein Roundcube Datebank Passwort
Schritt 4 // Configurieren
Code:
cd /var/www/ispcp/gui/tools/roundcube/config
cp db.inc.php.dist db.inc.php
cp main.inc.php.dist main.inc.php
Schritt 5 //
DeinPasswort wechseln in
Code:
vi db.inc.php
$rcmail_config['db_dsnw'] = 'mysql://roundcube:DeinPasswort@localhost/roundcubemail';
Schritt 6 // Die bestehenden Einträge in folgende ändern
Code:
vi main.inc.php
line 27: $rcmail_config['message_cache_lifetime'] = '30m';
line 38: $rcmail_config['default_host'] = 'localhost';
line 97: $rcmail_config['session_lifetime'] = 30;
line 180: $rcmail_config['create_default_folders'] = TRUE;
Schritt 7 // folgenden Eintrag ändern: Alias /webmail /var/www/ispcp/gui/tools/webmail/
Code:
vi /etc/apache2/sites-available/00_master.conf
Alias /webmail /var/www/ispcp/gui/tools/roundcube/
Schritt 8 // Testen!!!