How to update LiteSpeed License from command line
If you want to change the License key for your LiteSpeed webserver, you can do the following.
1 2 3 |
cd /usr/local/lsws/conf mv serial.no serial.no.old mv license.key license.key.old |
Create file
1 |
vi serial.no |
Inside the file, paste your LiteSpeed webserver license key.
Restart LiteSpeed
1 2 |
/usr/local/lsws/bin/lshttpd -r /usr/local/lsws/bin/lswsctrl restart |
Verify LiteSpeed License with command
1 |
/usr/local/lsws/bin/lshttpd -V |
See LiteSpeed