Install CentOS 7 x64
Update files:
Yum update –y
After install, Change SSH port:
Connect to your server via SSH.
Switch to the root user.
Run the following command:
vi /etc/ssh/sshd_config
Locate the following line:
# Port 22
Warning: Make sure the new SSH port does not conflict with any known or blocked ports.
Remove # and change 22 to your desired port number.
Restart the sshd service by running the following command:
service sshd restart
Install cPanel:
cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
Update files:
Yum update –y
After install, Change SSH port:
Connect to your server via SSH.
Switch to the root user.
Run the following command:
vi /etc/ssh/sshd_config
Locate the following line:
# Port 22
Warning: Make sure the new SSH port does not conflict with any known or blocked ports.
Remove # and change 22 to your desired port number.
Restart the sshd service by running the following command:
service sshd restart
Install cPanel:
cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
Published on: 19 / 01 / 2018