cd /var/cpanel/serviceauth/
rm -rf exim
/scripts/upcp –force
wget -O /scripts/buildeximconf \http://httpupdate.cpanel.net/autofixer/buildeximconf
chmod 700 /scripts/buildeximconf
/scripts/buildeximconf
/scripts/restartsrv_exim
add to /etc/rc.conf
exim_enable=”YES”
sendmail_submit_enable=”NO”
restart
service cpanel restart
service exim restart
Secara default Ubuntu 10.04 terinstal php versi 5.3.x, sedangkan sampai saat tulisan ini dibuat ZendOptimizer yang terbaru versi 3.3.9 support sampai php 5.2.x.
Salah satu solusi agar ZendOptimizer bisa terinstal, adalah dengan men-downgrade versi php nya menjadi 5.2.x, caranya:
1. Login via SSH to your server and enter following commands:
root@hosting# cd /usr/local/cpanel/whostmgr/docroot/cgi
root@hosting [/usr/local/cpanel/whostmgr/docroot/cgi]# wget http://www.netenberg.com/files/free/fantastico_whm_admin.tgz
root@hosting [/usr/local/cpanel/whostmgr/docroot/cgi]# tar -xzpf fantastico_whm_admin.tgz
root@hosting [/usr/local/cpanel/whostmgr/docroot/cgi]# rm -rf fantastico_whm_admin.tgz
root@hosting [/usr/local/cpanel/whostmgr/docroot/cgi]# chown -R root:root addon_fantastico.cgi
2. Now go to WHM, login as root and follow the link Plugins -> Fantastico De Luxe WHM Admin. One need to complete the installation by following [...]
Buka terminal/konsol
adnan:~# vim /etc/mysql/my.cnf
Cari baris yang seperti ini:
bind-address =127.0.0.1
Matikan dengan memberi tanda # sehingga menjadi
#bind-address =127.0.0.1
Restart mysql
adnan:~# /etc/init.d/mysql restart
Buka port 3306
adnan:~# iptables -A INPUT -i eth0 -p tcp -m tcp –dport 3306 -j ACCEPT
Cek untuk memastikan port 3306 sudah terbuka
adnan:~# netstat -ntulp
Install LAMP
Masuk terminal sebagai root
ketik # apt-get install lamp-server^
Tanda “^” harus diketik, jika tidak maka perintah tersebut tidak akan jalan.
Install PhpMyadmin
Masuk console sebagai root
Ketik # apt-get install phpmyadmin