- Katılım
- 15 Aralık 2005
- Mesajlar
- 732
- Reaction score
- 0
Merhaba arkadaşlar, bir sitede Roundcube Webmail'in kurulumuna rastladım sizlerle de paylaşmak istedim.
First make sure you know your mysql root password, you have to replace DATABASEPASSWORD to your mysql root password.
Eski roundcube yüklüyse kaldırmak için,
Dosyaları indirip yükleyelim ve chmod ayarlarını yapalım,
Veritabanı oluşturmak ve sql yüklemek,
dosya isimlerini değiştirelim,
db.inc.php dosyasını açalım,
nano db.inc.php
Arama yapalım,
Bunla değiştirelim,
main.inc.php dosyasını açalım,
nano main.inc.php
Arama yapalım,
Bunla değiştirelim,
Now we have to configure cPanel to show roundcube in the theme. Please note this is for the X theme(default) only!! If you use another theme please skip the next part and see below.
**NOTE** If you receive a message stating
Reversed (or previously applied) patch detected! Assume -R?
please press N for No as this is because you previously installed roundcube
This will auto do all the necessary changes to roundcube and the X theme.
Once the patch is executed you may now access roundcube via http://yourip/webmail
If you do not use the X theme please do the following
Then open your webmaillogin.html, please replace YOURTHEME with the name of your theme.
and find
Add Below
***UPDATE***
Remember to chattr +i the files or add the patch to your /scripts/upcp.
chattr +i /usr/local/cpanel/base/frontend/x/webmaillogin.html
chattr +i /usr/local/cpanel/base/webmaillogin.cgi
That's it! You may now access roundcube via http://yourip/webmail
alıntı.
First make sure you know your mysql root password, you have to replace DATABASEPASSWORD to your mysql root password.
Eski roundcube yüklüyse kaldırmak için,
Kod:
cd /usr/local/cpanel/base
rm -rf roundcube*
mysql -p -e 'drop database roundcube';
chattr -i /usr/local/cpanel/base/frontend/x/webmaillogin.html
chattr -i /usr/local/cpanel/base/webmaillogin.cgi
/scripts/upcp
Dosyaları indirip yükleyelim ve chmod ayarlarını yapalım,
Kod:
cd /usr/local/cpanel/base
wget -O roundcube.tar.gz http://easynews.dl.sourceforge.net/sourceforge/roundcubemail/roundcubemail-0.1beta2.1.tar.gz
tar -zxvf roundcube.tar.gz
rm -rf roundcube.tar.gz
mv -f roundcubemail-0.1beta2 roundcube
cd roundcube
chmod -R 777 temp
chmod -R 777 logs
Veritabanı oluşturmak ve sql yüklemek,
Kod:
mysql -e "CREATE DATABASE roundcube;" -pDATABASEPASSWORD
mysql -e "use roundcube; source SQL/mysql.initial.sql;" -pDATABASEPASSWORD
Kod:
cd config
mv db.inc.php.dist db.inc.php
mv main.inc.php.dist main.inc.php
db.inc.php dosyasını açalım,
nano db.inc.php
Arama yapalım,
Kod:
$rcmail_config['db_dsnw'] = 'mysql://roundcube:pass@localhost/roundcubemail';
Bunla değiştirelim,
Kod:
$rcmail_config['db_dsnw'] = 'mysql://root:DATABASEPASSWORD@localhost/roundcube';
nano main.inc.php
Arama yapalım,
Kod:
$rcmail_config['default_host'] = '';
Kod:
$rcmail_config['default_host'] = 'localhost';
Kod:
cd /usr/local/cpanel/base/roundcube/skins/default/images/
cp roundcube_logo.png /usr/local/cpanel/base/frontend/x/images/roundcube_logo.png
cp roundcube_logo.png /usr/local/cpanel/base/webmail/x/images/roundcube_logo.png
wget http://www.hostgeekz.com/files/hostgeekz/HGpatch-roundcube-1.0BETA2.1
patch -p0 < HGpatch-roundcube-1.0BETA2.1
**NOTE** If you receive a message stating
Reversed (or previously applied) patch detected! Assume -R?
please press N for No as this is because you previously installed roundcube
This will auto do all the necessary changes to roundcube and the X theme.
Once the patch is executed you may now access roundcube via http://yourip/webmail
If you do not use the X theme please do the following
Kod:
wget http://www.hostgeekz.com/files/hostgeekz/HGpatch-roundcube-NON-X-1.0BETA2.1
patch -p0 < HGpatch-roundcube-NON-X-1.0BETA2.1
Kod:
nano /usr/local/cpanel/base/frontend/YOURTHEME/webmaillogin.html
HTML:
</td>
</cpanelif>
</cpanelfeature>
HTML:
<td align="center" valign="bottom" width="200">
<a href="/roundcube/index.php"><img src="images/roundcube_logo.png" border="0"></a>
<a href="/roundcube/index.php">RoundCube</a>
</td>
Remember to chattr +i the files or add the patch to your /scripts/upcp.
chattr +i /usr/local/cpanel/base/frontend/x/webmaillogin.html
chattr +i /usr/local/cpanel/base/webmaillogin.cgi
That's it! You may now access roundcube via http://yourip/webmail
alıntı.