

One-Click OpenLiteSpeed
source link: https://www.vultr.com/docs/one-click-openlitespeed
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Introduction
Vultr's One-Click OpenLiteSpeed application is a ready-to-run Open Source edition of LiteSpeed Web Server Enterprise. Select a server location, choose the instance size, and click Deploy Now. Your web server is ready to use in about a minute. One-Click OpenLiteSpeed is available on either Ubuntu or CentOS.
The examples oneclick.example.com and 192.0.2.123 are used throughout this guide. Substitute your server's domain name or IP address.
Let's Encrypt SSL Certificate
Most administrators use a domain name and valid SSL certificate for their site. If you use a free Let's Encrypt certificate, the certbot utility manages your certificate requests and renewals. See the certbot website for complete details.
- Register a domain name and create a DNS record for the server's IP address. Consult your DNS provider for instructions, or see our guide if using Vultr's DNS.
- Verify the DNS has finished propagation, and the name is visible throughout the internet before proceeding. Propagation usually happens quickly, but could take up to 48 hours in some cases.
Connect to your server, with the root login from the Server Information screen.
Install Certbot for your OS.
CentOS: Install the EPEL repo, then install certbot.
# yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm # yum install certbot
Ubuntu: Update the apt package database, add the certbot repository, then install certbot.
# sudo apt-get update # sudo apt-get install software-properties-common # sudo add-apt-repository universe # sudo add-apt-repository ppa:certbot/certbot # sudo apt-get update # apt-get install certbot
Install the certificate with certbot. The webroot-path /usr/local/lsws/Example/html is the default for OpenLiteSpeed. Replace the domain name and email with your values.
# certbot certonly --webroot --redirect --agree-tos --no-eff-email \ --webroot-path /usr/local/lsws/Example/html -d oneclick.example.com -m [email protected]
Certbot should report success when finished.
Navigate to https://oneclick.example.com:7080/.
- Proceed past the certificate warning. See our instructions to bypass the HTTPS warning for self-signed SSL/TLS certificates. Log in with your User login.
- Click Listeners on the left menu.
- Click the Defaultssl entry.
- Click the SSL tab.
- Edit SSL Private Key & Certificate.
- Set Private Key File to: /etc/letsencrypt/live/oneclick.example.com/privkey.pem
- Set Certificate File to: /etc/letsencrypt/live/oneclick.example.com/fullchain.pem
- Click Save.
- Click your server name in the top-left corner, then click Graceful Restart.
Commercial SSL Certificate
You can use a Commercial SSL Certificate instead of the free Let's Encrypt certificate.
- Obtain a certificate from a certificate authority for your domain.
- Connect to your server, with the root login from the Server Information screen.
- Replace the server.crt and server.key files in /usr/local/lsws/conf/ with the commercial certificate. Refer to your certificate vendor's documentation for details.
Reboot the server.
# reboot
App Details
Admin Portal
The admin portal for OpenLiteSpeed is located at https://oneclick.example.com:7080/ Log in with the User login credentials from the Server Information page.
Web Document Root
The default document root is /usr/local/lsws/Example/html. You can create .php or .html files in that directory. The PHP file /usr/local/lsws/Example/html/donut.php is accessible at https://oneclick.example.com/donut.php.
MySQL
There is a MySQL database server running on the VPS. You can connect to the database by executing the following:
# mysql -u root
The MySQL root password is saved on the VPS in /root/.my.cnf.
Software Version
For debugging purposes, our support team may ask for your OpenLiteSpeed and OS version. Run the version.sh
script.
# /opt/vultr/version.sh
OS: '18.04.4 LTS (Bionic Beaver)'
OpenLightSpeed: 'LiteSpeed/1.6.13 Open'
About One-Click Apps
One-Click apps are updated regularly without notice. When launching a One-Click app, you'll receive our latest version. We do not update deployed instances, and you are responsible for keeping the instance up-to-date. If you design an infrastructure based on One-Click apps and need to ensure the same app version in the future, take a snapshot of the initial deployment and create new instances from the snapshot.
Want to contribute?
You could earn up to $600 by adding new articles
Recommend
-
44
Debug deeper with HTTP View Intercept HTTP(S) with one click, explore & examine traffic up close, and discover exactly what your code is sending. HTTP View
-
16
One Click Deployment for android developers
-
7
One simple trick to make Event Sourcing clickHi, weʼre arkency 👋 Event Sourcing is like having two methods when previously there was one. There — I’ve said it. But it isn’t...
-
10
Mist in Linode One-Click App Marketplace 2021-01-21 We are happ...
-
11
Install and run Shadowsocks on server I put the following process in this section into a shell script. Check out this “one-click” method: giraffe (Environmen...
-
4
Install and Configure OpenLiteSpeed on Ubuntu 20.04|18.04OpenLiteSpeed is a high-performance, lightweight, open source HTTP server edition of LiteSpeed Web Server Enterprise. Users are free to download, use, distribute, and modify OpenLiteSpe...
-
5
<?xml encoding="utf-8" ??>OpenLiteSpeed is a free and open-source web server developed by LiteSpeed Technologies. Best known as a lightweight, well-optimized web server, OpenLiteSpeed combines security, s...
-
8
// Tutorial //How To Install Linux, OpenLiteSpeed, MariaDB, PHP (LOMP stack) on Ubuntu 20.04Published on May 25, 2022By ...
-
13
How to Install OpenLiteSpeed Web Server on Ubuntu 22.04 OpenLiteSpeed is an open-source edition of the LiteSpeed web server developed by LiteSpeed Technologies. It can be installed on all major operating systems including, Debi...
-
5
首页技术宅LinuxCyberPanel Linux主机面板-支持 OpenLiteSpeed 简单、快...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK