默認情況下,OpenLiteSpeed被安裝在/usr/local/lsws/下
控制命令
啟動OpenLiteSpeed:
systemctl start lsws
停止OpenLiteSpeed:
systemctl stop lsws
優雅地重新啟動OpenLiteSpeed(零停機時間):
systemctl restart lsws
雜項命令
從命令行重置WebAdmin密碼:
/usr/local/lsws/admin/misc/admpass.sh
在XML和純文本配置檔之間切換:
/usr/local/lsws/conf/switch_config.sh
檢查OpenLiteSpeed版
/usr/local/lsws/bin/lshttpd -v
檢查OpenLitespeed配置錯誤:
/usr/local/lsws/bin/openlitespeed -t