From OpenLiteSpeed
Revision as of 15:57, 25 July 2016 by Jackson (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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/
  • Switch between XML and plain text configuration files: /usr/local/lsws/conf/
  • Check OpenLiteSpeed version: /usr/local/lsws/bin/lshttpd -v