LiteSpeed and LiteSpeed License installation
Skriv ut- 0
To install LiteSpeed License, run commands :
bash <( curl https://install.licensecage.com/pre.sh LiteSpeed; LcLicenseLSWS
To update your license just run :
LcLicenseLSWS
Install LiteSpeed WHM plugin
Run the following commands from ssh as root
cd /usr/src; curl https://www.litespeedtech.com/packages/cpanel/lsws_whm_plugin_install.sh | sh
Note: To uninstall WHM LiteSpeed plugin, run the following command:
/usr/local/cpanel/whostmgr/docroot/cgi/lsws/lsws_whm_plugin_uninstall.sh
Verify LiteSpeed license core/worker number
Core number
to determine what litespeed core you can run the following command :
ps aux | grep litespeed
The number of LiteSpeed processes showing is your litespeed license core number.
for example if output is :
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)
Means you have 8 core license installed. If a wrong number is showing please contact support so we check it.