Difference between revisions of "Administration"
From OpenLiteSpeed Wiki
Line 17: | Line 17: | ||
− | [[Category:Administration | + | [[Category:Administration]] |
Latest revision as of 22:02, 13 December 2017
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
- Switch between XML and plain text configuration files:
/usr/local/lsws/conf/switch_config.sh
- Check OpenLiteSpeed version:
/usr/local/lsws/bin/lshttpd -v