Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
litespeed_wiki:cpanel:auto-installer [2014/04/22 16:32] Michael Armstrong |
litespeed_wiki:cpanel:auto-installer [2014/07/14 18:33] Michael Armstrong [Parameters] |
||
---|---|---|---|
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. | ||
==== Switching to LiteSpeed ==== | ==== Switching to LiteSpeed ==== | ||