How to Register CloudLinux OS with Key-based/IP-based Licenses?
- CloudLinux OS Solo
- CloudLinux OS Shared
- CloudLinux OS Shared Pro
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.
1. 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
NOTE: the command above is for CloudLinux 6 and 7 versions only.
/usr/sbin/rhnreg_ks --activationkey=<activation key> --force
An activation key looks special for different CloudLinux OS:
- CLSOLO-XXXXXXXXXXXXXXXXXXXXXXXX - CloudLinux OS Solo
- CL-XXXXXXXXXXXXXXXXXXXXXXXX (about 24 symbols) - CloudLinux OS Shared / CloudLinux OS Shared Pro - a new format
- xxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx - CloudLinux OS Shared / CloudLinux OS Shared Pro - an old format but still in use
2. 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
3. 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.
4. Using CloudLinux license behind NAT
CloudLinux 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 that a server hostname should be FQDN, not less than 3 symbols.
Please sign in to leave a comment.