Debian 6.0.5 Squeeze Konfigurasi Debian Server Teknik Komputer dan Jaringan
Membuat mail server dengan “RoundCube “RoundCube Mail” Mail”
* Upload paket roundcubemail-0.5.1.tar.gz dengan menggunakan WinSCP.
©Jihad_Irhaby
Page 2
* Buat folder untuk cube mail.
root@lappet:~# mkdir /var/www/cubemail * Extract dan kopikan file round cubemail.
root@lappet:~# tar xfv roundcubemail-0.5.1.tar.gz root@lappet:~# mv roundcubemail-0.5.1/* -t /var/www/cubemail/ * Rubah permission dari folder cubemail tersebut
root@lappet:~# chmod 777 /var/www/cubemail/ -R root@lappet:~# chmod 777 /var/www/cubemail/temp/ root@lappet:~# chmod 777 /var/www/cubemail/logs/ --------------kode dipotong---------; @ IN NS lappet-pulut.com. @ IN A 192.168.222.111 IN MX 1 mail.lappet-pulut.com www IN A 192.168.222.111 ftp IN A 192.168.222.111 mail IN A 192.168.222.111 ntp IN A 192.168.222.111 tube IN A 192.168.222.111 squirrelmail IN A 192.168.222.111 cubemail IN A 192.168.222.111
* Tambahkan konfigurasi subdomain dari Bind9.
root@lappet:~# nano /var/cache/bind/db.web * Tambahkan tulisan yang bercetak tebal seperti disamping, Setelah itu restart layanan Bind9.
root@lappet:~# /etc/init.d/bind9 restart ©Jihad_Irhaby
Page 3
* Sekarang kita konfigurasi tuh apache nya.
root@lappet:~# cd /etc/apache2/sites-available/ root@lappet:/etc/apache2/sites-available# cp default cubemail root@lappet:/etc/apache2/sites-available# nano cubemail
ServerAdmin [email protected] ServerName cubemail.lappet-pulut.com
* Edit bagian yang bercetak tebal, aktifkan site konfigurasi nya dan restart apache nya.
DocumentRoot /var/www/cubemail/ Options FollowSymLinks AllowOverride None Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all
root@lappet:/etc/apache2/sites-available# cd root@lappet:~# a2ensite cubemail root@lappet:~# /etc/init.d/apache2 restart
* Buat database untuk cubemeail.
root@lappet:~# mysql -u root -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 104 Server version: 5.1.49-3 (Debian) Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to modify and redistribute it under the GPL v2 license Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> create database cubemail; Query OK, 1 row affected (0.00 sec) mysql> quit Bye
©Jihad_Irhaby
Page 4
* Sekarang, buka browser dean ketikan alamat http://cubemail.lappet-pulut.com/installer/ .
* Pastikan folder /var/www/cubemail/ memiliki file .htaccess yang berisi:
* Jika muncul peringatan suhosin session encrypt tersebut, maka lakukan langkah berikut ini. * install php5-suhosin.
root@lappet:~# apt-get install php5-suhosin *Edit konfigurasi php.ini
root@lappet:~# nano /etc/php5/apache2/php.ini suhosin.session.encrypt = Off
©Jihad_Irhaby
* Tambahkan parameter disamping, kemudian restart layanan apache.
Page 5
root@lappet:~# /etc/init.d/apache2 restart * Inilah hasilnya..
* Lanjut ke step berikutnya.
* Klik create config * Kita akan diberi 2 konfigurasi yaitu main.inc.php dan db.inc.php. download file konfigurasi tersebut.
©Jihad_Irhaby
Page 6
* Kemudian upload file konfigurasi tersebut kedalam folder /var/www/cubemail/config/. * Klik Continue.
©Jihad_Irhaby
Page 7
* Bisa juga tuh test email kita. * Langkah terakhir, hapus folder instalasi & Masukan konfigurasi mysql.
root@lappet:~# rm /var/www/cubemail/installer/ -R root@lappet:~# mysql -u root -p cubemail < /var/www/cubemail/SQL/mysql.initial.sql Enter password:
©Jihad_Irhaby
Page 8
* Waktunya TEST nih.. Ketik alamat http://cubemail.lappet-pulut.com/
Selesai deh ::☺ ☺::
©Jihad_Irhaby
Page 9