- Messages
- 1,381
- Reaction score
- 30
- Points
- 0
So you've just purchased the cPanel upgrade from x10hosting... Now what are you to do to install everything?
First, you need to make sure you have a clean, fresh installation (this means you haven't installed anything on the VPS yet, and if you have, you'll need to rebuild it).
If you haven't chosen CentOS (not hostinabox) as your operating system, or you need to rebuild, I highly suggest using CentOS.
I am writting this tutorial using CentOS, though it may work on other systems.
First, you'll need to SSH your server and set the hostname, you can do this by running this code (replace SERVERNAME with your server name and DOMAIN.TLD with your domain):
Then
That should set your hostname, you can verify that by typing "hostname" (without the quotes). It should show your hostname you just set.
After you've set the hostname, you need to move into the home directory of the root account by running this:
Once you're in the home directory, you need to download the latest version of cPanel by running this:
After the latest version of cPanel downloads, start the script. NOTE: This may take well over an hour to finish, make sure you have time!
After cPanel has finished installing, you need to verify/activate your license by running:
Now you can access WHM and set up your server, go to (where IP is your IP address, e.g. 172.0.0.1): http://IP:2087 , login as root and use the root password.
First, you need to make sure you have a clean, fresh installation (this means you haven't installed anything on the VPS yet, and if you have, you'll need to rebuild it).
If you haven't chosen CentOS (not hostinabox) as your operating system, or you need to rebuild, I highly suggest using CentOS.
I am writting this tutorial using CentOS, though it may work on other systems.
First, you'll need to SSH your server and set the hostname, you can do this by running this code (replace SERVERNAME with your server name and DOMAIN.TLD with your domain):
Code:
echo servername.domain.tld > /etc/hostname
Code:
/bin/hostname -F /etc/hostname
After you've set the hostname, you need to move into the home directory of the root account by running this:
Code:
cd /home
Code:
wget http://layer1.cpanel.net/latest
Code:
sh latest
Code:
/usr/local/cpanel/cpkeyclt