Actions

Help

Difference between revisions of "Administration"

From OpenLiteSpeed Wiki

Line 5: Line 5:
 
== Control Commands ==
 
== Control Commands ==
  
  * Start OpenLiteSpeed: <code>/usr/local/lsws/bin/lswsctrl start</code>
+
* Start OpenLiteSpeed: <code>/usr/local/lsws/bin/lswsctrl start</code>
  * Stop OpenLiteSpeed: <code>/usr/local/lsws/bin/lswsctrl stop</code>
+
* Stop OpenLiteSpeed: <code>/usr/local/lsws/bin/lswsctrl stop</code>
  * Gracefully restart OpenLiteSpeed (zero downtime): <code>/usr/local/lsws/bin/lswsctrl restart</code>
+
* Gracefully restart OpenLiteSpeed (zero downtime): <code>/usr/local/lsws/bin/lswsctrl restart</code>
  * Show OpenLiteSpeed commands: <code>/usr/local/lsws/bin/lswsctrl help</code>
+
* Show OpenLiteSpeed commands: <code>/usr/local/lsws/bin/lswsctrl help</code>
  
 
== Miscellaneous Commands ==
 
== Miscellaneous Commands ==
  
  * Reset the WebAdmin password from the command line: <code>/usr/local/lsws/admin/misc/admpass.sh</code>
+
* Reset the WebAdmin password from the command line: <code>/usr/local/lsws/admin/misc/admpass.sh</code>
  * Check OpenLiteSpeed version: <code>/usr/local/lsws/bin/lshttpd -v</code>
+
* Check OpenLiteSpeed version: <code>/usr/local/lsws/bin/lshttpd -v</code>
  
  
 
[[Category:Help]]
 
[[Category:Help]]

Revision as of 14:10, 9 October 2014

This administration guide lays down the basic commands for controlling OpenLiteSpeed.

By default, OpenLiteSpeed is installed under /usr/local/lsws/.

Control Commands

  • Start OpenLiteSpeed: /usr/local/lsws/bin/lswsctrl start
  • Stop OpenLiteSpeed: /usr/local/lsws/bin/lswsctrl stop
  • Gracefully restart OpenLiteSpeed (zero downtime): /usr/local/lsws/bin/lswsctrl restart
  • Show OpenLiteSpeed commands: /usr/local/lsws/bin/lswsctrl help

Miscellaneous Commands

  • Reset the WebAdmin password from the command line: /usr/local/lsws/admin/misc/admpass.sh
  • Check OpenLiteSpeed version: /usr/local/lsws/bin/lshttpd -v