หลังจากได้เครื่องที่ลง CentOS7 มาแล้วให้ดำเนินการติดตั้งตามขั้นตอนดังนี้
1. Yum Update , Install nano , perl curl
-
yum update -y
-
yum install perl nano curl -y
2. Disable NetworkManager
-
nano -w /etc/sysconfig/network-scripts/.... ifcfg-eth0 and ifcfg-lo
-
Edit file ifcfg-eth0 and ifcfg-lo
NM_CONTROLLED=no
ONBOOT=yes -
systemctl enable network.service
-
systemctl start network.service
3.Disable SELinux
-
nano -w /etc/selinux/config
-
SELINUX=disabled
4. Installation cPanel
-
cd /home
-
curl -o latest -L https://securedownloads.cpanel.net/latest
-
sh latest
-
https://verify.cpanel.net/app/verify
-
---END---
5. ทดสอบเรียกใช้งาน ผ่าน https://<your-server-ip>:2087
หมายเหตุ
Configuration WHM > Click <