Info
Content

cPanel/WHM Installation


CentOS 6

Install depenencies:

yum install -y screen nano

Set a FQDN:

hostname srvXXXX.localdomain.ltd

nano /etc/sysconfig/network
HOSTNAME="srvXXXX.localdomain.ltd"

service network restart

Disable NetworkManager:

service NetworkManager stop
chkconfig NetworkManager off

Download and run the cPanel installation script:

cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest
screen sh latest

Configure the firewall using a cPanel script:

/scripts/configure_firewall_for_cpanel

Run a manual license verification:

/usr/local/cpanel/cpkeyclt

CentOS 7

Install depenencies:

yum install -y screen nano

Set a FQDN:

hostnamectl set-hostname srvXXXX.localdomain.ltd

Disable NetworkManager:

systemctl stop NetworkManager.service
systemctl disable NetworkManager.service

Changing your hostname via hostnamectl will reset your nameserver configuration. Re-configuration is required.

nano /etc/resolv.conf
nameserver 77.247.176.114
nameserver 77.247.176.115
nameserver 85.159.238.17

Download and run the cPanel installation script:

cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest
screen sh latest

Configure the firewall using a cPanel script:

systemctl enable firewalld && systemctl start firewalld
/scripts/configure_firewall_for_cpanel

Run a manual license verification:

/usr/local/cpanel/cpkeyclt
No Comments
Back to top