Server Installation/Roundcube: Unterschied zwischen den Versionen
Aus Opennet
(→Betrieb) |
(→Betrieb) |
||
Zeile 6: | Zeile 6: | ||
Softwareupdate: | Softwareupdate: | ||
− | echo "create database roundcubemail_1xy" | mysql | + | * Datenbank vorbereiten: |
+ | echo "create database roundcubemail_1xy;" | mysql | ||
+ | echo "INSERT INTO mysql.tables_priv SELECT host, 'roundcubemail_1xy', user, table_name, grantor, timestamp, table_priv, column_priv FROM mysql.tables_priv WHERE user = 'roundcube' AND host = '%' AND db = 'roundcubemail_0xy';" | mysql | ||
mysqldump roundcubemail_0xy | mysql roundcubemail_1xy | mysqldump roundcubemail_0xy | mysql roundcubemail_1xy | ||
+ | * Software installieren: | ||
cd /var/www/ | cd /var/www/ | ||
wget <roundcube-source> ... | wget <roundcube-source> ... | ||
Zeile 15: | Zeile 18: | ||
cp roundcubemail-0.x.y/plugins/password/drivers/isp.php roundcubemail-1.x.y/plugins/password/drivers/ | cp roundcubemail-0.x.y/plugins/password/drivers/isp.php roundcubemail-1.x.y/plugins/password/drivers/ | ||
cp roundcubemail-0.x.y/config/config.inc.php roundcubemail-1.x.y/config/ | cp roundcubemail-0.x.y/config/config.inc.php roundcubemail-1.x.y/config/ | ||
+ | * Update umsetzen: | ||
vi roundcubemail-1.x.y/config/config.inc.php # configure new database | vi roundcubemail-1.x.y/config/config.inc.php # configure new database | ||
roundcubemail-1.x.y/bin/update.sh | roundcubemail-1.x.y/bin/update.sh | ||
roundcubemail-1.x.y/bin/indexcontacts.sh | roundcubemail-1.x.y/bin/indexcontacts.sh | ||
+ | * Veröffentlichen: | ||
vi /etc/apache2/sites-available/www_ssl # change to new roundcube | vi /etc/apache2/sites-available/www_ssl # change to new roundcube | ||
+ | |||
Anschliessend den Webinstaller aufrufen unter https://url-to-roundcube/installer/. | Anschliessend den Webinstaller aufrufen unter https://url-to-roundcube/installer/. | ||
[[Kategorie:Server]] | [[Kategorie:Server]] |
Version vom 30. Mai 2014, 11:02 Uhr
Software für Webmail Interface - siehe http://www.roundcube.net
Installation
Betrieb
Softwareupdate:
- Datenbank vorbereiten:
echo "create database roundcubemail_1xy;" | mysql echo "INSERT INTO mysql.tables_priv SELECT host, 'roundcubemail_1xy', user, table_name, grantor, timestamp, table_priv, column_priv FROM mysql.tables_priv WHERE user = 'roundcube' AND host = '%' AND db = 'roundcubemail_0xy';" | mysql mysqldump roundcubemail_0xy | mysql roundcubemail_1xy
- Software installieren:
cd /var/www/ wget <roundcube-source> ... tar fxzf <roundcube-tar-gz> # put files to new roundcube dir chown -R root:root roundcubemail-1.x.y cp roundcubemail-0.x.y/program/isp_user_check.php roundcubemail-1.x.y/program/ cp roundcubemail-0.x.y/plugins/password/drivers/isp.php roundcubemail-1.x.y/plugins/password/drivers/ cp roundcubemail-0.x.y/config/config.inc.php roundcubemail-1.x.y/config/
- Update umsetzen:
vi roundcubemail-1.x.y/config/config.inc.php # configure new database roundcubemail-1.x.y/bin/update.sh roundcubemail-1.x.y/bin/indexcontacts.sh
- Veröffentlichen:
vi /etc/apache2/sites-available/www_ssl # change to new roundcube
Anschliessend den Webinstaller aufrufen unter https://url-to-roundcube/installer/.