Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Subscribe my Youtube Channel and Support me
- https://youtube.com/@byteflick
- First, log into your server with any SSH client then update the packages and reboot the server.
- Ubuntu/Debian
- sudo apt update -y && sudo apt upgrade -y && sudo reboot
- Centos/Cloudlinux/AlmaLinux/Rocky Linux
- sudo yum update -y && sudo yum upgrade -y && sudo reboot
- Execute the following command to change the hostname for all operating systems.
- sudo hostnamectl set-hostname yourhostname
- Now edit the hosts file and also change the hostname there.
- Ubuntu/Debian
- sudo apt install nano -y
- Centos/Cloudlinux/AlmaLinux/Rocky Linux
- sudo yum install nano -y
- sudo nano /etc/hosts
- Add the following lines at the end of the list.
- 127.0.0.1 yourhostname
- serverip yourhostname
- Press CTRL + X and press Y and press enter to save changes and exit the editor
- If you want to buy a Plesk unlimited accounts license at a cheap rate you can contact me through email. Install Plesk using a one-line command
- wget -O installer.sh https://autoinstall.plesk.com/one-click-installer && sh installer.sh
- This process will take approximately 10 - 30 minutes depending on your server speed.
Advertisement
Add Comment
Please, Sign In to add comment