@petkoo12 your steps work fine. More clarification:
*** Save Original Files
Code: Select all
mv /usr/share/roundcube/ /usr/share/roundcube_bk/
cp -R /var/lib/roundcube/ /var/lib/roundcube_bk/
*** Copy Database Details
Copy database details form file: /etc/roundcube/db.inc.php and save in a text file. it will use in last step.
*** Download Roundcube and prepare the folder (you can find link:
https://roundcube.net/download/). 1.2.3 is latest version for now but you can replace for future update.
Code: Select all
wget https://github.com/roundcube/roundcubemail/releases/download/1.2.3/roundcubemail-1.2.3.tar.gz
tar xvf roundcubemail-1.2.3.tar.gz
cp -R roundcubemail-1.2.3/ /usr/share/roundcube/
*** Rename config.inc.php.sample
Go to location: /usr/share/roundcube/config/ and rename config.inc.php.sample to config.inc.php
*** Create config files (and symlinks)
Code: Select all
mkdir /etc/roundcube/config
cp /usr/share/roundcube/config/defaults.inc.php /etc/roundcube/config/defaults.inc.php
ln -s /etc/roundcube/config/defaults.inc.php /var/lib/roundcube/config/defaults.inc.php
cp /usr/share/roundcube/config/config.inc.php /etc/roundcube/config/config.inc.php
ln -s /etc/roundcube/config/config.inc.php /var/lib/roundcube/config/config.inc.php
*** Copy plugins and skins
Code: Select all
rm -R /var/lib/roundcube/plugins/
rm -R /var/lib/roundcube/skins/
cp -R /usr/share/roundcube/plugins/ /var/lib/roundcube/plugins/
cp -R /usr/share/roundcube/skins/ /var/lib/roundcube/skins/
***Set up password and database name (copy, past form your copied text file)
Code: Select all
nano /etc/roundcube/config/defaults.inc.php
nano /etc/roundcube/config/config.inc.php
modify this line :
$config['db_dsnw'] = 'mysql://name of sql user:password of user@localhost/database name';