Login to your server root
Them run
sudo crontab -e
Select an editor.
Set the job
# m h dom mon dow command
0 4 * * * /sbin/shutdown -r +5
m=minute
h=hour
dom=day of month
mon=month
dow=day of week
by dev
Login to your server root
Them run
sudo crontab -e
Select an editor.
Set the job
# m h dom mon dow command
0 4 * * * /sbin/shutdown -r +5
m=minute
h=hour
dom=day of month
mon=month
dow=day of week
by dev
Step 1
Login as root user to SSH of freshly installed Ubuntu 20.04
Step 2
Disable firewall, while installing cpanel & whm on linux ubuntu system
iptables-save > ~/firewall.rules systemctl stop firewalld.service systemctl disable firewalld.service
Step 3
Update Ubuntu System Packages
apt update apt upgrade
Step 5
Set your hostname for example my.hostname.com
set hostname my.hostname.com
edit hostname vi /etc/hosts vi /etc/hostname
Reboot the server.
Step 6
Create a shell session of Linux Screen utility. It helps to remain active even after the network disruption.
screen
If the screen is not installed, install it.
apt install screen
Step 7 – Install Cpanel/WHM
cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
Step 5 – Login to WHM Web interface
https://SERVER_IP:2087
Use your root login credentials.
That’s All!
by dev
Backup of all important data before proceeding! Changes to the partition table always bear the risk of complete data loss.