Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
litespeed_wiki:cpanel:whm-plugin-installer [2015/08/14 20:49]
Michael Alegre [Step 2: Install LiteSpeed Speed Web Server from within WHM] Apache will not switch to LiteSpeed automatically if offset =0. Removed wrong info.
litespeed_wiki:cpanel:whm-plugin-installer [2017/08/16 12:32] (current)
Eric Leu [cPanel installation tips]
Line 1: Line 1:
-====== How to convert your cPanel server to LiteSpeed in 20 minutes ======+====== How to convert your cPanel server to LiteSpeed in 20 minutes ​(deprecated)====== 
 +We recommend to install our WHM plugin and LSWS through [[litespeed_wiki:​cpanel:​auto-installer|one line auto installer]].  
 + 
 +The following wiki outline the steps to install whm plugin, then LSWS, then PHP, which is now deprecated.
  
 This only works with LiteSpeed Enterprise Edition, you need a trial key or an Enterprise License serial number. This only works with LiteSpeed Enterprise Edition, you need a trial key or an Enterprise License serial number.
Line 8: Line 11:
 Run the following commands from ssh as root Run the following commands from ssh as root
  
-  cd /usr/src; curl http://​www.litespeedtech.com/​packages/​cpanel/​lsws_whm_plugin_install.sh | sh+  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:// //Note: To uninstall WHM LiteSpeed plugin, run the following command://
Line 26: Line 29:
  
  
-===== Step 3: Build matching PHP binary ​=====+===== Step 3: Config PHP ===== 
 +==== For EA4, Plugin will handle it through script == 
 +Our plugin will detect the right configuration and correct them when needed. You don't need to build matching PHP any more. 
 + 
 +==== For EA3, Build matching PHP binary ====
 LSWS comes with a pre-built PHP 4 binary. However, you should build your own PHP binary using configuration options matching those used by Apache mod_php. ​ LSWS comes with a pre-built PHP 4 binary. However, you should build your own PHP binary using configuration options matching those used by Apache mod_php. ​
  
Line 41: Line 48:
   "/​usr/​local/​cpanel/​whostmgr/​cgi/​lsws/​cmd_buildmatchingphp.sh"​   "/​usr/​local/​cpanel/​whostmgr/​cgi/​lsws/​cmd_buildmatchingphp.sh"​
  
-OR+Or
  
  
Line 58: Line 65:
 You can now verify if everything is working as expected. It should be! 8-) You can now verify if everything is working as expected. It should be! 8-)
  
-If "Port Offset"​ was set to non-zero, you can now replace Apache with LiteSpeed Web Server ​bu clicking ​"​Switch to LiteSpeed"​+You can now replace Apache with LiteSpeed Web Server. Click "​Change Port Offset"​ and set the value to 0 if you had not done so previously. Click "​Switch to LiteSpeed" ​and that's it!
- +
-That's it.+
  
 **WARNING:​** Do **NOT** uncheck the "​Apache Web Server"​ (httpd) service under WHM's service manager. If you do this WHM will not restart LiteSpeed automatically when configuration changes have been made.  **WARNING:​** Do **NOT** uncheck the "​Apache Web Server"​ (httpd) service under WHM's service manager. If you do this WHM will not restart LiteSpeed automatically when configuration changes have been made. 
 +
 +====== cPanel installation tips ======
 +Please also refer to [[https://​nixcp.com/​install-litespeed-cpanel/​|cpanel installation tips]].
 +
  • Admin
  • Last modified: 2015/08/14 20:49
  • by Michael Alegre