hichkas
07-10-2009, 11:55 AM
Hi
I have centOS VPS
im install WHM :
To begin your installation, use the following commands:
cd /home — Opens the directory /home.
wget http://layer1.cpanel.net/latest — Fetches the latest installation file from the cPanel servers.
sh latest — Opens and runs the installation files.
/usr/local/cpanel/cpkeyclt — Activates your license after installation.
after finish installation
/WHM
/2087
not work !
linux2k
07-10-2009, 12:13 PM
Login to your root SSH
use the following commands
selinux=disabled
setenforce 0
service iptables stop
Then try to open whm
If still not work then use the following command
/scripts/upcp --force
hichkas
07-10-2009, 12:16 PM
Thanks solved
But " service iptables stop "
for CSF need Iptables
how i can FIX iptables for using in WHM ?
Gary4gar
07-10-2009, 12:21 PM
you need to open ports in iptables. like if I want to open port 2087 use by whm I would do:
iptables -I INPUT -p tcp --dport 2087 -j ACCEPT
linux2k
07-10-2009, 12:22 PM
iptables/csf is not fully supported in VPS enviroment.
First manually config iptables or use csf in test mode.
hichkas
07-12-2009, 07:17 AM
im restart vps but again me must " service iptables stop "
befor restart i do :
iptables -I INPUT -p tcp --dport 208 -j ACCEPT
but after restart we must again run " service iptables stop "
how i can solve or allow that to work WHM for ever after restart.?
LDHosting
07-12-2009, 08:08 AM
If you use CSF Firewall you can add the ports that you need opened in /etc/csf/csf.conf Just look for the TCP_IN section and add the ports that you need in there.
2077 = Web Disk
2078 = Web Disk SSL
2082 = cPanel
2083 = cPanel SSL
2086 = WHM
2087 = WHM SSL
2095 = Webmail
2096 = Webmail SSL
After editing and saving the file, run service csf restart from SSH. That should make sure that the ports are open whenever CSF starts.
linux2k
07-12-2009, 12:16 PM
Use command
service iptables disabled
hichkas
07-12-2009, 12:30 PM
yes , i know
if i restart server
again must run thats command ?
Crashus
07-12-2009, 01:44 PM
run chmod 000 /etc/init.d/iptables
this will prevent your iptables from starting at vps startup. However it is really bad idea to use it in such way, better option is to install CSF (you maybe can do it in WHM) and configure it properly. CSF+LFD is very good thing actually.