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
Next revision Both sides next revision
litespeed_wiki:cpanel:auto-installer [2014/04/25 13:12]
Kevin Fwu Note for CageFS
litespeed_wiki:cpanel:auto-installer [2014/08/05 21:25]
Michael Armstrong
Line 25: Line 25:
 ==== The Command ==== ==== The Command ====
  
-  ./​lsws_whm_autoinstaller.sh SERIAL_NO PHP_SUEXEC port_offset admin_user admin_pass admin_email+  ./​lsws_whm_autoinstaller.sh SERIAL_NO PHP_SUEXEC port_offset admin_user admin_pass admin_email ​easyapache_integration auto_switch_to_lsws
  
 Sample input: Sample input:
  
-  ./​lsws_whm_autoinstaller.sh TRIAL 2 1000 admin a1234567 root@localhost+  ./​lsws_whm_autoinstaller.sh TRIAL 2 1000 admin a1234567 root@localhost ​1 0
  
 ==== Parameters ==== ==== Parameters ====
Line 41: Line 41:
   - (Optional) admin_pass: Admin user password for accessing the LiteSpeed WebAdmin console. Default is "​a1234567"​   - (Optional) admin_pass: Admin user password for accessing the LiteSpeed WebAdmin console. Default is "​a1234567"​
   - (Optional) admin_email:​ Admin user's email. This email address will receive important server notices, such as license expiring or server core dumps. Default is "​root@localhost"​   - (Optional) admin_email:​ Admin user's email. This email address will receive important server notices, such as license expiring or server core dumps. Default is "​root@localhost"​
 +  - (Optional) disable_easyapache_integration:​ EasyApache Integration automatically rebuilds matching PHP for LiteSpeed when you update EasyApache. Available values are 1 (enable) and 0 (disable). EasyApache Integration is enabled by default.
 +  - (Optional) auto_switch_to_lsws:​ Automatically switch to LiteSpeed Web Server at the end of installation. This setting will only take effect if the port offset is set to 0. Available values are 1 (enable) 0 (disable). Most users will need to test and verify before they switch, so the default is 0 (disabled).
 +
  
 === Notes === === Notes ===
  
-  * The auto-installer does not start up LiteSpeed Web Server. Once installed, it can be started from the WHM plugin. +  * If you install LSWS with a trial license, you can always switch to your purchased license using the Change License button in the WHM plugin.
-  * The auto-installer will not automatically switch LiteSpeed with Apache as your main web server. We wish to give hosts a chance to test sites before switching. Once installed, you can switch to LSWS using the WHM plugin. +
-  * Some hosts may find it easier to automatically install LSWS with a trial license (since the input will thus always be the same). ​If you install LSWS with a trial license, you can always switch to your purchased license using the Change License button in the WHM plugin.+
   * The auto-installer will build PHP for LSWS (with LSAPI) based on your most recent EasyApache PHP build.   * The auto-installer will build PHP for LSWS (with LSAPI) based on your most recent EasyApache PHP build.
   * If CageFS was installed prior to using this script, the auto-installer will automatically add a mount point for LSWS.   * If CageFS was installed prior to using this script, the auto-installer will automatically add a mount point for LSWS.
 ==== Switching to LiteSpeed ==== ==== Switching to LiteSpeed ====
  
-The auto-installer installs and registers ​LSWS, but does not start it or switch out Apache. To switch to LiteSpeed, open our WHM plugin ​and follow the steps below:+If you did not set the Auto-Installer to automatically switch to LSWS (auto_switch_to_lsws=1)the Auto-Installer will not start LSWS or switch out Apache. To switch to LiteSpeed, open our WHM Plugin ​and follow the steps below:
  
 === If you set port offset to >0 === === If you set port offset to >0 ===
Line 63: Line 64:
 LiteSpeed Web Server is all ready to be your main web server. Clicking on the Switch to LiteSpeed button will stop Apache and start LSWS as your main web server. LiteSpeed Web Server is all ready to be your main web server. Clicking on the Switch to LiteSpeed button will stop Apache and start LSWS as your main web server.
  
-=== Notes ===+===== Troubleshooting =====
  
-  * Enabling EasyApache integration (with the EasyApache Integration button) will automatically rebuild PHP for LiteSpeed every time you rebuild PHP with EasyApache. This will make it easier to upgrade PHP in the future — just build PHP in EasyApache and a matching LSPHP will be auto-built.+For common errors, see our [[litespeed_wiki:​cpanel_troubleshooting|cPanel troubleshooting guide]].
  • Admin
  • Last modified: 2019/01/28 17:03
  • by Lisa Clarke