Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
litespeed_wiki:license:command_reference [2011/03/18 19:00]
127.0.0.1 external edit
— (current)
Line 1: Line 1:
-======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. 
-     * 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"​. 
- 
-=====Control Commands===== 
-    * For LSLB, the command is "​lslbctrl"​ 
-<​code>​ 
-cd /​usr/​local/​lsws 
-bin/​lswsctrl help  -- will list the below options 
-Usage: ./lswsctrl {start|stop|restart|reload|help} 
- 
-start    - start web server 
-stop     - stop web server 
-restart ​ - gracefully restart web server with zero down time 
-reload ​  - same as restart 
-help     - this screen 
-</​code>​ 
- 
-=====License Commands===== 
- 
-  cd /​usr/​local/​lsws 
- 
-   * Register a new license key (-r) 
- 
-  bin/lshttpd -r 
- 
-   * Test current license locally (-t) 
- 
-  bin/lshttpd -t 
- 
-   * Verify current license against license server (-V) 
- 
-  bin/lshttpd -V 
- 
-   * Migrate current license (-m) 
- 
-  bin/lshttpd -m 
- 
- 
- 
-=====Misc Commands===== 
-    * If you forgot your admin web console login, you can reset your password from command line 
- 
-    lsws/​admin/​misc/​admpass.sh 
- 
-   * Check version 
- 
-    lsws/​bin/​lshttpd -v 
  
  • Admin
  • Last modified: 2015/03/02 20:21
  • (external edit)