Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
litespeed_wiki:license:command_reference [2015/03/02 20:25] Jackson Zhang [Control Commands] |
litespeed_wiki:license:command_reference [2015/07/27 20:06] Michael Alegre removed |
||
---|---|---|---|
Line 1: | Line 1: | ||
======Commands Reference====== | ======Commands Reference====== | ||
- | This reference lists all the commands for LSWS and LSLB. Since most of them are license related, so we put in the license section. | + | This reference lists all the commands for LSWS and LSLB. |
* For LSWS, assume it's installed under /usr/local/lsws/ | * For LSWS, assume it's installed under /usr/local/lsws/ | ||
* For LSLB, assume it's installed under /usr/local/lslb/, the commands are same as LSWS, you can just replace "lshttpd" with "lslbd". | * For LSLB, assume it's installed under /usr/local/lslb/, the commands are same as LSWS, you can just replace "lshttpd" with "lslbd". | ||
Line 22: | Line 22: | ||
</code> | </code> | ||
+ | ./lswsctrl start will force communication with LiteSpeed licensing server immediately. | ||
<code> | <code> | ||
Line 37: | Line 38: | ||
</code> | </code> | ||
<code> chkconfig lsws {on|off} </code> | <code> chkconfig lsws {on|off} </code> | ||
+ | |||
=====License Commands===== | =====License Commands===== | ||
Line 49: | Line 51: | ||
bin/lshttpd -t | bin/lshttpd -t | ||
- | * Verify current license against license server (-V) | + | * Verify current license against license server (-V). This Command will force communication with LiteSpeed licensing server immediately. |
bin/lshttpd -V | bin/lshttpd -V | ||
Line 62: | Line 64: | ||
* If you forgot your admin web console login, you can reset your password from command line | * If you forgot your admin web console login, you can reset your password from command line | ||
- | lsws/admin/misc/admpass.sh | + | /usr/local/lsws/admin/misc/admpass.sh |
* Check version | * Check version | ||
- | lsws/bin/lshttpd -v | + | /usr/local/lsws/bin/lshttpd -v |
+ | |||
+ | * Switch version | ||
+ | |||
+ | /usr/local/lsws/admin/misc/mgr_ver.sh <version> | ||
+ | |||
+ | * Force re-install/update | ||
+ | |||
+ | /usr/local/lsws/admin/misc/lsup.sh -f -v <version> | ||
+ | |||
+ | * Install/Uninstall startup script | ||
+ | /usr/local/lsws/admin/misc/rc-inst.sh | ||
+ | /usr/local/lsws/admin/misc/rc-uninst.sh |