在Centos7上自动安装OpenLiteSpeed

基于官方OpenLiteSpeed。官方的脚本:ols1clk:OpenLiteSpeed官方一键安装包(OpenLiteSpeed、lsphp、MySQL等,专为WordPress优化)。下面是网友制作的自动安装脚本。

使用中发现,这个脚本比官方的好用!

要求:Centos7、2GB内存及以上
安装的组件:Openlitespeed web server、ProFTPD、MariaDB 10.2、PHP 7.2、PHPMyAdmin 4.8.2
Simple Scripts to start|stop|restart|reload openlitespeed web server
Simple Scripts to create vhost

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:7080

3、PHPMyadmin管理
访问:https://yourhostorip:8090
密码存放在:/root/.MariaDB

4、创建主机
/scripts/lscreate

5、安装Let’s Encrypt免费SSL证书
/scripts/certbot

6、管理面板
lsws start|stop|restart|reload

项目地址:https://github.com/tujuhion/openlitespeed-centos-autoinstall

    所有主机信息仅是为及时分享并收录,不做推荐!
    专门搜集、分享国内高速、稳定的香港、日本、韩国、新加坡、美西CN2等优质线路的主机:FastVM