Before you do this cPanel/WHM installation, make sure you have host, hostname and ip static. And have domain names and also have VPS or Virtual Data Center (Cloud Server) with the Operation System of Distro Linux.
For those of you who don't know how to install an operating system from Distro Linux on VPS or Cloud Server, please follow the following guide steps:
- Please log into your VPS/VDC server using SSH or via the Console Web
- Please update your repo with this kaput command (e.g. using OS CentOS) :
yum update -y
- Then, please install wget and also need to be able to install cPanel. Type the following command:
yum install perl -y
yum install wget
- If successful it will show like this :
- Before installing the cPanel, make sure your domain is installed
- After installing both of them, please install the cPanel with the following commands:
curl -o latest -L https://securedownloads.cPanel.net/latest
sh latest
- If successful it will show like this :
- The installation process will take long enough, some factors affecting it are server/VPS specs and interconnections with the cPanel server.
- If your remote ssh connection is disconnected, the installation process is running and can be monitored from the installation log in a way:
tail -f /var/log/cPanel/cPanel-install.log
- When the installation process is complete, please access to your cPanel/WHM server by typing your ip and port cPanel on your browser bar address. For example, if you are using 192.168.2.2 as the ip address, enter the following link in your browser bar address:
- If successful, it will show the following command :
* 192.168.2.2 is either the VPS server's ip or Cloud Server
* 2087 is the default port of WHM (for spanel user using port 2082/2083)