Hey!
Today I'm going to show you how to install cPanel / WHM to your CentOS machine. It's simple and quick if you do everything correctly.
First make sure your server has at least 512MB RAM otherwise your cPanel can start lagging and it's not good. It's suggested that you should have CentOS 4.x or 5.x. Red Hat is good also. Make sure you have disabled SELinux like that:
You can find that file by writing line below to your console:
Make sure you have enough space 5GB +. And most important tip: Make sure you have FRESH INSTALL of your OS otherwise your cPanel install might fail.
Now everything is good and it's time to start installing cPanel / WHM.
Make sure you are logged in as root. If it's so write line below to your console:
It will change your directory to "home" where all files will be installed. If that's done write second line in to your console:
Now it will download a file called "latest" to your "home" folder. It is our installer, we have to run it to start cPanel / WHM installation process. To do it write a line below to your console:
Now it starts installing. It will take ~2h to complete installation. It depends on your server's speed. Make sure you don't write anything to console while it installs or installation might fail.
So if everything is installed you have to activate your cPanel / WHM license. It goes like that:
And you are done. If everything went well you can access WHM now. To go to your WHM go to: http://youriphere:2086.
I hope it helped. If you have questions feel free to ask.
Regards,
Th3_pun1sh3r
Today I'm going to show you how to install cPanel / WHM to your CentOS machine. It's simple and quick if you do everything correctly.
First make sure your server has at least 512MB RAM otherwise your cPanel can start lagging and it's not good. It's suggested that you should have CentOS 4.x or 5.x. Red Hat is good also. Make sure you have disabled SELinux like that:
Code:
# This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - No SELinux policy is loaded. SELINUX=disabled # SELINUXTYPE= can take one of these two values: # targeted - Only targeted network daemons are protected. # strict - Full SELinux protection. SELINUXTYPE=targeted
Code:
/etc/selinux/config
Now everything is good and it's time to start installing cPanel / WHM.
Make sure you are logged in as root. If it's so write line below to your console:
Code:
cd /home
Code:
wget -N http://httpupdate.cpanel.net/latest
Code:
sh latest
So if everything is installed you have to activate your cPanel / WHM license. It goes like that:
Code:
/usr/local/cpanel/cpkeyclt
I hope it helped. If you have questions feel free to ask.
Regards,
Th3_pun1sh3r