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:plesk:installation [2015/09/01 17:47]
Michael Alegre [Switch to LSWS]
litespeed_wiki:plesk:installation [2015/09/04 20:41]
Michael Alegre [Stop Nginx Reverse Proxy Before LiteSpeed Installation]
Line 3: Line 3:
 This wiki covers how to install LiteSpeed Web Server (LSWS) and LiteSpeed'​s [[http://​www.litespeedtech.com/​products/​control-panel-plugins/​plesk-extension|Plesk Extension]] on a Plesk server. We assume that you have a working Apache-Plesk setup. While there are multiple ways to go about the installation,​ this wiki will only cover installing the Plesk Extension first and then installing LSWS from the extension. This wiki covers how to install LiteSpeed Web Server (LSWS) and LiteSpeed'​s [[http://​www.litespeedtech.com/​products/​control-panel-plugins/​plesk-extension|Plesk Extension]] on a Plesk server. We assume that you have a working Apache-Plesk setup. While there are multiple ways to go about the installation,​ this wiki will only cover installing the Plesk Extension first and then installing LSWS from the extension.
  
-===== Stopping Nginx Reverse Proxy Before LiteSpeed Installation ===== 
-The latest version of Plesk may configure Nginx as a reverse proxy server that sits in between the Internet and Apache. Before installing LSWS, please turn off Nginx reverse proxy so that Apache is the only web server handling live traffic. Not stopping the Nginx reverse proxy will cause system errors and block the LiteSpeed process from being started. ​   
- 
-** Stopping Nginx reverse proxy: ** 
- 
-From the Plesk Admin Console, navigate to... 
- 
-Server Management -> Tools and Settings -> Server Management -> Services Management -> Reverse Proxy Server (nginx) 
- 
-...and click the stop button {{:​litespeed_wiki:​plesk-stop-button.png}}. 
- 
-Verify that no nginx process is still running with the following command: ​ 
- 
-  ps -ef | grep nginx | grep master 
- 
-If you do not see any output than the process has been stopped.\\ 
- 
-If instead you see the following output: ​ 
- 
-  root    16379    1  0 09:45 ?     ​00:​00:​00 nginx: master process /​usr/​sbin/​nginx -c /​etc/​nginx/​nginx.conf 
-  ​ 
-the Nginx reverse proxy has not yet been stopped and must still be stopped before attempting LiteSpeed installation. 
 ===== Prerequisites ===== ===== Prerequisites =====
  
   - OS: Linux, Solaris, FreeBSD, or MacOSX   - OS: Linux, Solaris, FreeBSD, or MacOSX
   - A working Apache setup   - A working Apache setup
-  - Plesk 11 or higher+  - Plesk 11.5 or higher
  
 ===== Install the Plesk Extension ===== ===== Install the Plesk Extension =====
Line 39: Line 17:
 Or simply visit our [[http://​www.litespeedtech.com/​products/​control-panel-plugins/​download|control panel plugin download page]] and download it to your machine. Or simply visit our [[http://​www.litespeedtech.com/​products/​control-panel-plugins/​download|control panel plugin download page]] and download it to your machine.
  
-**Note:** Plesk 12 users can also find our Plesk Extension in the Plesk Extension catalog as LiteSpeed Extension 1.2.x.+**Note:** Plesk 12 users can also find our Plesk Extension in the Plesk Extension catalog as "LiteSpeed Extension 1.2.x".
 ==== Add the extension from Plesk ==== ==== Add the extension from Plesk ====
  
Line 48: Line 26:
 {{ :​litespeed_wiki:​plesk-extension-success.png?​direct 800px |}} {{ :​litespeed_wiki:​plesk-extension-success.png?​direct 800px |}}
  
-=== Plesk 11: Run the commands requested === +=== Plesk 11.5: Run the commands requested === 
-Plesk 11 requires root level commands be run from the command line. To finish ​the installation, run the commands requested as root:+Plesk 11.5 requires root level commands be run from the command line to finish ​LSWS installation
 + 
 +{{ :​litespeed_wiki:​plesk-11.5-install.png?​direct 800px |}} 
 + 
 +Run the commands requested as root to complete the installation: 
   sh /​usr/​local/​psa/​admin/​plib/​modules/​litespeed/​scripts/​install_scripts   sh /​usr/​local/​psa/​admin/​plib/​modules/​litespeed/​scripts/​install_scripts
   rm /​usr/​local/​psa/​admin/​plib/​modules/​litespeed/​scripts/​install_scripts   rm /​usr/​local/​psa/​admin/​plib/​modules/​litespeed/​scripts/​install_scripts
  
-{{litespeed_wiki:​plesk:​plesk_install_commands2.png?​700}} +**Note:** Plesk 11.5 users will also see a warning that ''/​sbin/''​ is not used when installing. This is normal and appears because the extension is compatible with both Plesk 11.5 and 12.
- +
-**Note:** Plesk 11 users will also see a warning that ''/​sbin/''​ is not used when installing. This is normal and appears because the extension is compatible with both Plesk 11 and 12.+
  
 ===== Install LSWS from the Plesk Extension ===== ===== Install LSWS from the Plesk Extension =====
  
 You can now access the LiteSpeed Plesk Extension under Server Management > Extensions > LiteSpeed Extension. You can now access the LiteSpeed Plesk Extension under Server Management > Extensions > LiteSpeed Extension.
 +
 +==== Stop Nginx Reverse Proxy Before LiteSpeed Installation ====
 +
 +Upon first accessing the LiteSpeed extension, you may encounter the following error message:
 +
 +{{:​litespeed_wiki:​plesk-nginx-error.png?​nolink|}}
 +
 +The latest version of Plesk may configure Nginx as a reverse proxy server that sits in between the Internet and Apache. Before installing LSWS, you must stop Nginx reverse proxy so that Apache is the only web server handling live traffic. Not stopping the Nginx reverse proxy will cause system errors and block the LiteSpeed process from being started. ​  
 +
 +** Stopping Nginx reverse proxy: **
 +
 +From the Plesk Admin Console, navigate to...
 +
 +Server Management -> Tools and Settings -> Server Management -> Services Management -> Reverse Proxy Server (nginx)
 +
 +...and click the stop button {{:​litespeed_wiki:​plesk-stop-button.png}}.
 +
 +Once it has stopped, you should no longer see the error message and can move on to installation.
  
 ==== Install LSWS ==== ==== Install LSWS ====
Line 107: Line 106:
 Click "​Switch to LiteSpeed"​. This will stop Apache and switch LSWS to your main server ports — 80 and 443. Click "​Switch to LiteSpeed"​. This will stop Apache and switch LSWS to your main server ports — 80 and 443.
  
-{{litespeed_wiki:​plesk:​plesk_lsws_switch.png?700}}+{{ :litespeed_wiki:​plesk-switch-to-lsws.png?direct 800px |}}
  
 LiteSpeed is now running as your main web server. Congratulations! LiteSpeed is now running as your main web server. Congratulations!
  
-{{litespeed_wiki:​plesk:​plesk_lsws_running.png?700}}+{{ :litespeed_wiki:​plesk-sucessful-switch.png?direct 800px |}}
  • Admin
  • Last modified: 2015/09/04 21:26
  • by Michael Alegre