There are two types of CloudLinux licenses - the Key-based license and the IP-based one. The registration process is a bit different for both of them; here you'll find the instructions on how to register your CloudLinux OS system using each.
Register CloudLinux OS with a Key-based License
To register a server using the activation key (or a regular trial key), run the following command:
yum install rhn-setup --enablerepo=cloudlinux-base /usr/sbin/rhnreg_ks --activationkey=<activation key> --force
The activation key looks as follows: 1234-abcdefgh567klmnp
Register CloudLinux OS with an IP-based License
If you have an IP based license, use the clnreg_ks command:
yum install rhn-setup --enablerepo=cloudlinux-base /usr/sbin/clnreg_ks --force
What type of CloudLinux License do I use?
If you're not sure what type of license you have, check our CLN Lookup Tool:
Note for those who haven't registered the server yet and cannot figure out which license type they use
- If you have purchased the license directly with us, most likely it's a key-based one.
- Usually, our resellers issue IP-based licenses. If you purchased your CL license through our partners, try using the clnreg_ks --force command.
Using CloudLinux license behind NAT
CloudLinux/KernelCare IP-based licenses work only with servers with public IP-address or 1:1 NAT.
Server public IP-address can be checked with the following command:
$ lynx -dump https://cloudlinux.com/showip.php
Note: server hostname should be FQDN, not less than 3 symbols.