roundcube webmail directadmin installation

Asagidaki howto bu adresden alintidir.
tarafimdan bir takim ekler yapilmistir.

1) Create a mysql db via direct admin. I called mine admin_webmail (you should all know how to do this!)

2) Download and unpack the package:

code:

cd /var/www/html

wget http://easynews.dl.sourceforge.net/...20051007.tar.gz

tar xvfz roundcube_webmail_0.1-20051007.tar.gz

EK: bu versyon turkce kullanmaya kalkinca pek cok sorun cikartiyor.
O yuzden SVN versyonunu tercih etmeli
SVN versyonuna su sekilde sahip oluyoruz:

Linux konsolumuzda:

svn checkout https://svn.roundcube.net/trunk

————–


3) Ensure proper permissions of the folders:

code:
chown -R root.root roundcubemail

cd roundcubemail

chown -R apache logs temp

4) Import their SQL file:

code:
cd SQL

//replace the following with the database
username and password you created in step 1

mysql -u admin_webmail -p
Enter Password: *******

Once in, import their SQL file:

code:
use admin_webmail

SOURCE mysql.initial.sql

EK: mysql5 icin farkli bir dosyamiz var

SOURCE mysql5.initial.sql
—-
now the import should be complete.

5) Setup db config variables

code:
cd ../config/

nano db.inc.php


all you have to do here is change the “$rcmail_config[‘db_dsnw’] = ” config information, mine looks like this:

code:
$rcmail_config['db_dsnw'] =
'mysql://admin_webmail:myPasswordHere@localhost/admin_webmail';

the format is: mysql://:

@host/database_namesave that file and close it.

6) Setup the application config:

code:
nano main.inc.php

find this line:

code:
$rcmail_config['enable_caching'] = TRUE;

Replace with:

code:
$rcmail_config['enable_caching'] = FALSE;

next find:

code:
$rcmail_config['default_host'] = '';

replace with:

code:
$rcmail_config['default_host'] = 'localhost';

EK: Turkce destegi icin main.inc.php nin en altina

php tagindan once

$rcmail_config[‘charset’] = ‘ISO-8859-9’;

eklememiz lazim

———

7) *optional* you may want to setup an apache alias, you can overwrite your current webmail one with the following:

Edit httpd.conf:

code:
nano /etc/httpd/conf/httpd.conf

Find this line:

code:
Alias /webmail /var/www/html/webmail/

Replace with:

code:
Alias /webmail /var/www/html/roundcubemail/

then restart apache

code:
/usr/sbin/service httpd restart

You are done!

Login @ http://www.domain.com/webmail/

Bir yanıt yazın