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
Last revision Both sides next revision
litespeed_wiki:cpanel:whm-plugin-installer [2015/08/13 20:28]
Michael Alegre spelling, grammer, updated plugin button descriptions, updated Max cPanel process memory from 256MB to 512MB
litespeed_wiki:cpanel:whm-plugin-installer [2017/05/12 13:19]
Michael Alegre [Step 1: Install LiteSpeed WHM plugin]
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 25: Line 28:
   - Click "​Next"​ to install LiteSpeed   - Click "​Next"​ to install LiteSpeed
  
-If you set Port Offset to "​0",​ Apache will be stopped and LiteSpeed started after a successful installation. You may want to switch back to Apache temporarily as we still need to build the PHP binary for LiteSpeed. 
  
 +===== 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.
  
-===== Step 3: Build matching PHP binary ​=====+==== 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 43: Line 48:
   "/​usr/​local/​cpanel/​whostmgr/​cgi/​lsws/​cmd_buildmatchingphp.sh"​   "/​usr/​local/​cpanel/​whostmgr/​cgi/​lsws/​cmd_buildmatchingphp.sh"​
  
-OR+Or
  
  
Line 60: 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://​cpaneltips.com/​install-litespeed-cpanel|cpanel installation tips]].
  • Admin
  • Last modified: 2017/08/16 12:32
  • by Eric Leu