这里我们介绍在CentOS中部署OpenLiteSpeed。
要求:Centos7、2GB内存及以上
1、安装
SSH下,root用户:
bash <( curl -k https://raw.githubusercontent.com/tujuhion/openlitespeed-centos-autoinstall/master/install.sh )2、web管理
创建管理密码
lsws admin或
/usr/local/lsws/admin/misc/admpass.sh
访问:https://yourhostorip:70803、PHPMyadmin管理
访问:https://yourhostorip:8090
密码存放在:/root/.MariaDB4、创建主机
/scripts/lscreate5、安装Let's Encrypt免费SSL证书
/scripts/certbot6、管理面板
lsws start|stop|restart|reload