Skip to main content
All CollectionsVPSVPS OS and Templates
How to Use the CloudLinux VPS Template
How to Use the CloudLinux VPS Template

Getting Started with Hostinger VPS CloudLinux Template

Updated over a week ago

CloudLinux is a popular operating system focused on providing a secure and stable platform, as well as enhancing server performance and security.

At Hostinger, we have two CloudLinux templates available for automatic installation - Cloudlinux OS 8 and Cloudlinux OS 8 Solo. You can learn about their features here: CloudLinux OS editions.

This means that you will only need to purchase and activate a Cloudlinux license to take full advantage of its features and benefits. Just follow these steps:

Step 1 - Obtain a License Key

  1. Visit the CloudLinux website and and follow the instructions to purchase a license suitable for your needs

  2. If you will get an IP-based license, check your VPS IP address. In this case, you will not require a license key

  3. Get your valid license key after purchase and keep it at hand - you will need it in the next step

Step 2 - Activate the License Key

Access your server using SSH using the following command:

ssh root@vps-ip

Replacing vps-ip with the IP address of your VPS.

Next, run the rhnreg_ks command to activate the license key:

/usr/sbin/rhnreg_ks --activationkey=[activation key]

Replacing [activation key] with your key value.

If you have an IP-based license, use the clnreg_ks command instead:

/usr/sbin/clnreg_ks --force

Step 3 - Verify the Activation

To verify that your CloudLinux license is properly activated, use the following command:

cldetect --check-license

If the license does not appear to be active, go over the activation process once more.

In case you encounter any issues during the activation process, feel free to refer to the CloudLinux support portal or contact them for further assistance.

Additional Resources

Did this answer your question?