Documentation

Installation guides, commands, and security tips for your licenses.

License Installation

Supported OS for cPanel License

all CentOS versions • all CloudLinux versions • EL 8/9 • AlmaLinux 8/9/10 (on version 132+) • RockyLinux 8/9 • Ubuntu 20.04/22.04

Pre-Installation Steps

Be sure to run the installer script at the root level. If you have previously installed another license on your server, use this command to remove it first:

wget -O remover https://mirror.resellercenter.ir/remover; chmod +x remover; ./remover

Full Installation Commands

cPanel / WHM

# Install:

bash <( curl https://mirror.resellercenter.ir/pre.sh ) cPanel; RcLicenseCP

# Update License:

RcLicenseCP

# Avoid Datacenter Abuse Report (Verify at verify.cpanel.net):

touch /etc/.verifylicense ; RcLicenseCP
LiteSpeed Enterprise

# Install:

bash <( curl https://mirror.resellercenter.ir/pre.sh ) liteSpeed; RcLicenseLSWS

# Update License:

RcLicenseLSWS
CloudLinux OS

# Install:

bash <( curl https://mirror.resellercenter.ir/pre.sh ) CloudLinux; RcLicenseCLN

# Update License:

RcLicenseCLN
Imunify360

# Install:

bash <( curl https://mirror.resellercenter.ir/pre.sh ) Imunify360; RcLicenseImunify360

# Update License:

RcLicenseImunify360
wp2

# Install:

bash <( curl https://mirror.resellercenter.ir/pre.sh ) wp2; RcLicenseWP

# Update License:

RcLicenseWP
Softaculous

# Install:

bash <( curl https://mirror.resellercenter.ir/pre.sh ) Softaculous; RcLicenseSoftaculous

# Update License:

RcLicenseSoftaculous
SitePad

# Install:

bash <( curl https://mirror.resellercenter.ir/pre.sh ) Sitepad; RcLicenseSitepad

# Update License:

RcLicenseSitepad
Plesk

# Install:

bash <( curl https://mirror.resellercenter.ir/pre.sh ) Plesk; RcLicensePlesk

# Update License:

RcLicensePlesk
Virtualizor

# Install:

bash <( curl https://mirror.resellercenter.ir/pre.sh ) Virtualizor; RcLicenseVirtualizor

# Update License:

RcLicenseVirtualizor
JetBackup

# Install:

bash <( curl https://mirror.resellercenter.ir/pre.sh ) JetBackup; RcLicenseJetBackup

# Update License:

RcLicenseJetBackup
WHMReseller

# Install:

bash <( curl https://mirror.resellercenter.ir/pre.sh ) WHMReseller; RcLicenseWHMReseller

# Update License:

RcLicenseWHMReseller
WHMSonic

# Install:

bash <( curl https://mirror.resellercenter.ir/pre.sh ) WHMSonic; RcLicenseWHMSonic

# Update License:

RcLicenseWHMSonic
DirectAdmin

# Install:

bash <( curl https://mirror.resellercenter.ir/pre.sh ) DirectAdmin; RcLicenseDA

# Update License:

RcLicenseDA
DAReseller

# Install:

bash <( curl https://mirror.resellercenter.ir/pre.sh ) DAReseller; RcLicenseDAReseller

# Update License:

RcLicenseDAReseller
OSM

# Install:

bash <( curl https://mirror.resellercenter.ir/pre.sh ) OSM; RcLicenseOSM

# Update License:

RcLicenseOSM
CXS

# Install:

bash <( curl https://mirror.resellercenter.ir/pre.sh ) CXS; RcLicenseCXS

# Update License:

RcLicenseCXS
CPGuard

# Install:

bash <( curl https://mirror.resellercenter.ir/pre.sh ) CPGuard; RcLicenseCPGuard

# Update License:

RcLicenseCPGuard

SSL Settings for cPanel

LetsEncrypt AutoSSL

To install the LetsEncrypt AutoSSL provider, run this command:

/usr/local/cpanel/scripts/install_lets_encrypt_autossl_provider

Then login to your WHM > AutoSSL and activate "LetsEncrypt". Now your clients can install LetsEncrypt SSL automatically.

Install FleetSSL

FleetSSL license comes free with our cPanel license. Once you have installed the cPanel licensing system, run the following command to activate it:

RcLicenseCP -fleetssl

This command installs FleetSSL and its license at the same time.

Install SSL on Hostname

To install a valid SSL on your server hostname, run:

/usr/local/cpanel/bin/checkallsslcerts

Security TIPS for cPanel

Login to cPanel and WHM safely

Make sure to login to cPanel and WHM with a valid SSL installed domain name or host name. Never login with IP address. For example, if your domain name is example.com, always login securely:

Service Port Number SSL Status
cPanel (Secure) 2083 YES
WHM (Secure) 2087 YES
cPanel (Insecure) 2082 NO
WHM (Insecure) 2086 NO

Install CSF Firewall

You can install the ConfigServer Security & Firewall (CSF) to protect your network. Installation commands:

cd /usr/src
rm -fv csf.tgz
wget https://download.configserver.com/csf.tgz
tar -xzf csf.tgz
cd csf
sh install.sh

To test CSF required modules, run:

perl /usr/local/csf/bin/csftest.pl

Don't worry if you cannot run all the features, so long as the script doesn't report any FATAL errors.

Secure SSH

Try not to use port 22 for SSH login. Change it from /etc/ssh/sshd_config file to another number (for example: 1527) and save it. Open the port number in your firewall rules and run: service sshd restart

Verify LiteSpeed Core/Worker Numbers

To determine what LiteSpeed core license you are currently running, use the following command:

ps aux | grep litespeed

The number of LiteSpeed processes showing is your LiteSpeed license core number. For example, if the output looks like this:

root      5344  0.0  1.0 21474956380 41452 ?   S    16:00   0:00 litespeed (lshttpd - main)
nobody    5347  0.2  4.3 21474999300 167916 ?  Sl   16:00   0:02 litespeed (lshttpd - #01)
nobody    5348  0.2  4.3 21475018528 167764 ?  Sl   16:00   0:02 litespeed (lshttpd - #02)
nobody    5354  0.2  4.3 21475017464 169564 ?  Sl   16:00   0:02 litespeed (lshttpd - #03)
nobody    5361  0.2  4.1 21474999752 161328 ?  Sl   16:00   0:02 litespeed (lshttpd - #04)
nobody    5366  0.2  4.3 21475015736 168296 ?  Sl   16:00   0:02 litespeed (lshttpd - #05)
nobody    5372  0.2  4.3 21475015324 169664 ?  Sl   16:00   0:02 litespeed (lshttpd - #06)
nobody    5378  0.2  4.8 21475021156 188424 ?  Sl   16:00   0:02 litespeed (lshttpd - #07)
nobody    5384  0.2  4.0 21475000400 158732 ?  Sl   16:00   0:02 litespeed (lshttpd - #08)

This means you have an 8 core license installed. If a wrong number is showing, please contact our support team so we can check it.

License Troubleshoot NEW

This document will guide you on ways to troubleshoot your licensing issues.

cPanel error 500 or Invalid License File

Incorrect authority delivering the license. *** Or any cPanel related issues

This error might happen on your first time installation, make sure to remove all previous licenses on your server then run the following command:

RcLicenseCP -fix

This command will check all cPanel possible issues and correct them.

cPanel PostgreSQL login failed

If you have installed PostgreSQL on your server and you are facing login failed error on client side just run:

RcLicenseCP -pgsql

This command will configure your PostgreSQL and fix any possible issues.

cPanel Locale files

To install cPanel locale files just type:

RcLicenseCP -locale

Then choose which locale you want from the list.

This document will get updated...