In this we will install the cpanel and login to the cpanel using the domain url and we will mapping the cpanel ip with our domain name.
Cpanel installation Commands :-
1] Stop the firewall service
iptables-save ~/firewall.rules
systemctl stop ufw.service
systemctl disable ufw.service
systemctl stop firewalld.service
systemctl disable firewalld.service
2] Upgrade the system
sudo apt update
sudo apt upgrade
3] add the domain name entry in host file :-
vi /etc/hosts
server Ip domain-name
4] cpanel installation script :-
cd /home && curl -o latest -L securedownload... && sh latest
5] Login to your cpanel / whm
serverip/2083
serverip/2087
URL Based :-
domainname/cpanel
domainname/whm
4 окт 2024