LiteSpeed Basic Commands

LiteSpeed Basic Commands

Today we will learn LiteSpeed Basic Commands. LiteSpeed Web Server is the proprietary web server software. LiteSpeed Web Server is Litespeed Technology’s flagship high-performance, high-scalability web server. In this guide, we will learn about LiteSpeed’s basic commands.

Lightspeed Basic Control Commands:

  • sudo service lsws start – start webserver
  • sudo service lsws stop – stop webserver
  • sudo service lsws restart – Restart the web server gracefully with zero downtime
  • sudo service lsws reload – Same as reboot
  • sudo service lsws condrestart – Restart the web server gracefully if the server is running
  • sudo service lsws try-restart – as like condrestart
  • sudo service lsws status – display service status
  • sudo service lsws help – List of all commands above

License Commands:

Register a new license key

sudo /usr/local/lsws/bin/lshttpd -r

Test current license locally

sudo /usr/local/lsws/bin/lshttpd -t

Verify current license

sudo usr/local/lsws/bin/lshttpd -V

Migrate current license

sudo /usr/local/lsws/bin/lshttpd -m

Misc Commands

Reset your password

sudo /usr/local/lsws/admin/misc/admpass.sh

Check version

sudo /usr/local/lsws/bin/lshttpd -v

Switch version

sudo /usr/local/lsws/admin/misc/mgr_ver.sh

Force re-install/update

sudo /usr/local/lsws/admin/misc/lsup.sh -f -v

Install startup script

sudo /usr/local/lsws/admin/misc/rc-inst.sh

Uninstall startup script

sudo /usr/local/lsws/admin/misc/rc-uninst.sh

Today we discuss LiteSpeed Basic Commands. If you want to learn OpenVZ commands then you can read this content. Buy a web hosting server from Oudel Inc.

Scroll to Top