First I'll set up host name that matches my domain name:
hostnamectl set-hostname server01.pokeboost.net
Next I'll disable my firewall on my server as its required for WHM and cPanel installations.
Below appears that there is no firewall service on my vps so i can skip this. Later i will add a firewall.
[root@my-vps ~]# systemctl status firewalld.service
Unit firewalld.service could not be found.
Next i'll disable SELinux:
vi /etc/selinux/conf - Changed SELINUXTYPE=disabled
reboot
Next i will install Perl
yum install perl -y
Now we can finally download and install the software
cd /home && curl -o latest -L
https://securedownloads.cpanel.net/latest && sh latest
Make sure that you have curl before running that command as you can see i didn't have it.
yum install curl -y
After installation it should have a link to click, Following the link from the terminal.
( I got a timed out when i visited the link because my VPS didn't have a firewall but my provider Ionos has a cloud panel where you have to open the ports up. So i added 2087 and 2082 port in my firewall policy:
yum install curl -y
After installation it should have a link to click, Following the link from the terminal.
( I got a timed out when i visited the link because my VPS didn't have a firewall but my provider Ionos has a cloud panel where you have to open the ports up. So i added 2087 port in my firewall policy:
Then i logged in with my Linux server root credentials: root and root password.
Now we have successfully installed WHM cPanel on rocky Linux 9.
DNS / Hostnames:
Add A record to my server: I use the same hostname as i named my server.
Now i will add my default ionos name servers to my WHM account. Here is ionos default nameservers that i will add
Set the name servers and configure records.
You have completed installing and configuing DNS to work with your new WHM.
Top comments (0)