Server Installation/Roundcube: Unterschied zwischen den Versionen
Aus Opennet
(→Betrieb) |
(→Betrieb) |
||
Zeile 8: | Zeile 8: | ||
* Datenbank vorbereiten: | * Datenbank vorbereiten: | ||
echo "create database roundcubemail_1xy;" | mysql | echo "create database roundcubemail_1xy;" | mysql | ||
− | echo " | + | echo "GRANT ALL PRIVILEGES ON roundcubemail_1xy.* TO 'roundcube'@'localhost';" | mysql |
+ | echo "flush privileges;" | mysql | ||
mysqldump roundcubemail_0xy | mysql roundcubemail_1xy | mysqldump roundcubemail_0xy | mysql roundcubemail_1xy | ||
* Software installieren: | * Software installieren: | ||
Zeile 21: | Zeile 22: | ||
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 | ||
− | + | What version are you upgrading from? Type '?' if you don't know. | |
+ | 0.x.y | ||
+ | Executing database schema update. | ||
+ | Updating database schema (2014042900)... [OK] | ||
+ | This instance of Roundcube is up-to-date. | ||
+ | Have fun! | ||
* Veröffentlichen: | * Veröffentlichen: | ||
vi /etc/apache2/sites-available/www_ssl # change to new roundcube | vi /etc/apache2/sites-available/www_ssl # change to new roundcube |
Version vom 30. Mai 2014, 11:14 Uhr
Software für Webmail Interface - siehe http://www.roundcube.net
Installation
Betrieb
Softwareupdate:
- Datenbank vorbereiten:
echo "create database roundcubemail_1xy;" | mysql echo "GRANT ALL PRIVILEGES ON roundcubemail_1xy.* TO 'roundcube'@'localhost';" | mysql echo "flush privileges;" | 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 What version are you upgrading from? Type '?' if you don't know. 0.x.y Executing database schema update. Updating database schema (2014042900)... [OK] This instance of Roundcube is up-to-date. Have fun!
- Veröffentlichen:
vi /etc/apache2/sites-available/www_ssl # change to new roundcube
Anschliessend den Webinstaller aufrufen unter https://url-to-roundcube/installer/.