以下脚本从2GB以上内存的VM虚拟化测试成功
Copy and Paste this line in your fresh install Centos7
复制并粘贴这一行到您的新安装Centos7
bash <( curl -k https://raw.githubusercontent.com/tujuhion/openlitespeed-centos-autoinstall/master/install.sh )
This scripts will install(这个脚本将安装以下软件)
- 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
Access Openlitespeed web server
https://yourhostorip:7080
before access, create your username and password with this command
/usr/local/lsws/admin/misc/admpass.sh
or
lsws admin
Access PHPMyadmin
https://yourhostorip:8090
Your MariaDB root password is auto generated and stored in /root/.MariaDB
To Start Stop Web Server
This only symlink to /usr/local/lsws/bin/lswsctrl
lsws start
type ‘lsws help’ to list command
To create Vhosts
/scripts/lscreate
and fill your domain name, ftp username and ftp password.
To Install Let’s Encrypt Certificate
/scripts/certbot
Enter your domain, and certificate is auto installed to your domain. Please make sure vhost create by /scripts/lscreate
Please refer this link for installation in Bahasa Indonesia
Specialy Thank to Web Hosting Indonesia for support and donation.
使用方法:
- 安装:
bash <( curl -k https://raw.githubusercontent.com/tujuhion/openlitespeed-centos-autoinstall/master/install.sh )
- 创建用户:
/usr/local/lsws/admin/misc/admpass.sh
或lsws admin
- OpenLiteSpeed管理面板:
https://服务器ip或域名:7080
- PHPMyadmin面板:
https://服务器ip或域名:8090
- 管理命令(start|stop|restart|reload):
lsws start
- 创建主机:
/scripts/lscreate
- 创建Let’s Encrypt Certificate安全证书:
/scripts/certbot
转载请注明:落伍老站长 » OpenLiteSpeed一键安装脚本 官方主机面板