Getting started in your new Linux VPS is easy although somewhat different depending on the type of virtual server you have. We offer two different virtualization types, OpenVZ, and KVM. KVM offers a full virtualization environment so, also has many more options.The process to getting logged into your VPS server is exactly the same but, if you have additional IPs then on a KVM server you will need to configure these inside your server. We have included links on how to do this below.
OpenVZ and KVM Virtual servers
OpenVZ is great for people who are new to virtual servers, mainly because once you have your server there is no need to perform any advanced configurations like you have to on a KVM virtual server. Additional IPs will work straight away without needing to configure them so first you will need to connect to your server using a command line tool like Putty. Get a copy from the link and open the program.
From your welcome email detailing all of your virtual server details get the IP address of the virtual server and the root password. In putty place the IP address in the “hostname” box and then click connect. You can leave the port as 22 unless we have given you a custom ssh port. If we installed any software like cPanel you will have a custom ssh port so place it in the port box. Click connect. When the login screen appears for the username use root and then enter the password as requested. You can paste a password in by copying it and clicking the left mouse button once in the console, hit enter
Your now logged into the server. The first thing to do is update the system. The commands to do this are different depending on your operating system. We will cover CentOS/RHEL and Debian/Ubuntu here. Using the correct command for your operating system enter it into the console and hit enter
CentOS/RHEL
yum update -y
Debian/Ubuntu
apt-get update && apt-get upgrade -y
Once your updates are installed reboot the system by issuing the below command
reboot
Installing cPanel
Now your system is fully up to date you can next to proceed to install software so log back into your VPS. There are many different uses for virtual servers so everyone’s requirements will likely be different. Most common with our customers is cPanel so we have created a handy installer which will install cPanel, CSF and DDOS Deflate to your VPS with a few simple commands. Paste the below into your servers ssh console
wget https://blog.f2h.cloud/servers/cpanelinstall.sh ; sh cpanelinstall.sh
The install is totally automated and will take up to an hour to complete. Once completed you can access WHM by navigating to your server’s mail IP address and :2086 at the end
Additional IP configurations for KVM servers
If you have purchased additional IP addresses, then these are likely to need to be configured inside your virtual server. If you can’t ping the IPs, you will then need to follow our guide on how to configure interfaces for each IP address. It’s very simple and won’t take you long. Choose the correct guide for the operating system deployed to your virtual server below
CentOS / Red Hat KVM Additional IP Configuration
Debian / Ubuntu KVM Additional IP Configuration
Customers no longer have to configure additional IPs in virtual servers. If any IPs do not ping simply login to the control panel and click the “reconfigure networking” button to automatically configure your IPs
Once you have your IPs resolving to your server you can continue the required setup for your individual needs. If after following the above guides on how to configure any additional IPs inside a KVM virtual server and you still can’t ping your IP addresses please contact our support team who will work with you to resolve the problem.
How was this article?
You might also like
More from cPanel
How To Install A Cloudflare Origin SSL Certificate In cPanel
Free SSL Certificates from places like cPanel or Let's Encrypt are great. When Let's Encrypt first introduces free SSL Certificates …
Create a SWAP partition on CentOS, RHEL and AlmaLinux without a reboot
SWAP is a memory type that Linux NVMe VPS Servers use to process requests. Memory will be held in SWAP …
Help fixing Error: last request failed: [AUTH] Authentication failed.
The Error: last request failed: [AUTH] Authentication failed error can be caused by a range of things. It could be …