Installing RoundCube on cPanel server

roundcube_hosting

Looking for installing roundcube on Linux cPanel Dedicated servers then you can just follow the steps given below !!!
Firstly we need to remove roundcube files/folders/databases from our server if we have any older version. Follow the instructions given below  :-
Uninstall/remove exiting RoundCube
cd /usr/local/cpanel/base
rm -rf roundcube*
mysql -e ‘drop database roundcube’;
/scripts/upcp

Now try to download Roundcube version from its website which we can install on our server :-
Download latest version from :- http://roundcube.net/downloads. once downloded you need to unzip it (using WinZip or ZipGenius or tar -xzf roundcubemail-0.1.tar.gz) in the current directory.
Now we will start with installation procedure :-
Install stall latest roundcube
cd /usr/local/cpanel/base
wget -O roundcube.tar.gz http://nchc.dl.sourceforge.net/sourceforge/
roundcubemail/roundcubemail-0.2.1.tar.gz
rm -rf roundcube.tar.gz
mv -f roundcubemail-0.2.1/ roundcube
cd roundcube
chmod -R 777 temp
chmod -R 777 logs

We will have to create databases, database user and install the intial sql file. Use following commands :-
Database Configuration
mysql -e “CREATE DATABASE roundcube;”
mysql -e “GRANT ALL PRIVILEGES ON roundcube.* TO roundcube@localhost
IDENTIFIED BY ‘DATABASEPASSWORD’;”
mysql -e “FLUSH PRIVILEGES;”
mysql -e “use roundcube; source SQL/mysql.initial.sql;”

You will have to replace the roundcube password with ‘DATABASEPASSWORD’ field.
Configuring RoundCube
cd config
mv db.inc.php.dist db.inc.php
mv main.inc.php.dist main.inc.php

then open database configuration file  using favorite editors like vi or pico, file name db.inc.php
vi db.inc.php
Find following line
$rcmail_config['db_dsnw'] = ‘mysql://roundcube:pass@localhost/roundcubemail’;
Replace it with $rcmail_config['db_dsnw'] =’mysql://roundcube:DATABASEPASSWORD@localhost/roundcube’;

Now open main.inc.php
vi main.inc.php
Find
$rcmail_config['default_host'] = ”; replace with
$rcmail_config['default_host'] = ‘localhost’;
Finally just  restart mysql  cpanel services on your dedicated server….that’s all :) you have installed Roundcube on your cPanel Dedicated Server !!!!

webhosting_uk_server Installing RoundCube on cPanel server

  1. No comments yet.
  1. No trackbacks yet.