Automatically install OpenLiteSpeed ​​on CentOS7

Automatically install OpenLiteSpeed ​​on CentOS7

Based on official OpenLiteSpeed. Official script: ols1clk: OpenLiteSpeed ​​official one-click installation package (OpenLiteSpeed, lsphp, MySQL, etc., optimized for WordPress). Below is an automatic installation script made by netizens.

I found that this script is better than the official one!

Requirements: Centos7, 2GB memory and above Installed components: 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. Installation
Under SSH, root user:

 bash <( curl -k https://raw.githubusercontent.com/tujuhion/openlitespeed-centos-autoinstall/master/install.sh )

2. Create an administrative password for web management
lsws admin
or
/usr/local/lsws/admin/misc/admpass.sh

Visit: https://yourhostorip:7080

3. PHPMyadmin management access: https://yourhostorip:8090
The password is stored in: /root/.MariaDB

4. Create a host
/scripts/lscreate

5. Install Let’s Encrypt free SSL certificate
/scripts/certbot

6. Admin Panel
lsws start|stop|restart|reload

Project address: https://github.com/tujuhion/openlitespeed-centos-autoinstall

<<:  Adman: Novosibirsk VMware VPS, direct domestic connection, 100Mbps unlimited traffic, 1GB memory, 2 years for $56

>>:  HostFlyte: $14.4/year/512MB memory/10GB SSD space/1TB traffic/1Gbps/DDOS/KVM/Los Angeles CN2 GT

Recommend

How to use Paypal to dispute and get a refund

One of the benefits of using Paypal is that you c...

FrapHost: $25/year/1GB memory/15GB space/500G traffic/OpenVZ

Introduction FrapHost is a hosting company founde...

Web Design Testing Website——GTmetrix

GTmetrix is ​​a website for testing web design. I...

Krypt: $11.11/year/1GB memory/30GB space/1TB traffic/VMware/Los Angeles

Krypt, an old American business, has been introdu...

13 Anti-Spam Comment Plugins for WordPress

1. Anti-spam Anti-spam 2. Confident CAPTCHA Confi...

Hosthatch 2014 New Year's Day 35% discount

之前介紹過:HostHatch:$4/月/256MB內存/10GB SSD空間/2TB流量/Open...