Run litespeed web server azure5/31/2023 ![]() ![]() The OpenLiteSpeed server bundles a GUI-based admin panel and an example website with the server. You will allow traffic over TCP to selected ports for the GUI-based admin panel and example website, as well as ports 80 and 443 for HTTP and HTTPS sites. In this step, you will configure the firewall for your server. With your OpenLiteSpeed web server running, you can update the firewall and open the necessary ports to allow users to access the website. You may not be able to access the GUI-based Admin Panel and example website yet, as the firewall blocks traffic to these ports. You now have an OpenLiteSpeed web server running with its default configuration. ![]() Process: 32997 ExecStart=/usr/local/lsws/bin/lswsctrl start (code=exited, status=0/SUCCESS) Loaded: loaded (/etc/systemd/system/rvice enabled vendor preset: enabled)Īctive: active (running) since Wed 08:59:09 UTC 2min 26s ago ![]() The systemctl command can enable or disable automatic start for services and manually start or stop a service. The keyword for the OpenLiteSpeed Web Server service is lsws. The systemctl status command obtains the status of a service identified by its keyword. Once the installation is complete, verify that OpenLiteSpeed is installed and working correctly by checking its status with the service command: If prompted, enter your password, then confirm the installation with Y. Update the list of repositories to ensure that the newly added repository is scanned by the apt package manager: Saving to: ‘/etc/apt//lst_debian_repo.gpg’ Then, upgrade the required packages by running the following command: If it is your first time using sudo in the SSH session, you may need to enter the password for your non-root user.īegin by updating the package manager cache: In this step, you will install the OpenLiteSpeed web server after importing the required package repositories to your server. In Step 2, open port 80 alongside port 443. Follow How To Use Certbot Standalone Mode to Retrieve Let’s Encrypt SSL Certificates on Ubuntu 22.04 to obtain the certificate-key pair for your domain. SSL certificates and keys for your domain.Follow the DNS Quickstart to point the domain name to your server. You can get a domain name on Namecheap, Freenom, or the domain registrar of your choice. A fully-qualified domain name (required for SSL configuration and recommended for public websites).One Ubuntu 22.04 server with a sudo non-root user, a firewall, and at least 1GB of RAM, which you can set up by following the Ubuntu 22.04 initial server setup guide.Prerequisitesīefore you begin this guide, you will need the following: At the time of writing, the current versions are PHP 8.1, MariaDB 10.7, and OpenLiteSpeed 1.7. In this tutorial, you will set up a LOMP server running on Ubuntu 22.04. OpenLiteSpeed is becoming the preferred choice for WordPress, Joomla, and other PHP-based applications that serve dynamic content. The API integrates with the HTTP server, thereby reducing the overall time taken for the server’s response to a request. The LiteSpeed PHP (LSPHP) interpreter functions much faster to serve dynamic PHP pages via their proprietary LS-API. LiteSpeed servers are known for their speedy performance, especially with languages such as PHP that integrate well with their LiteSpeed Server Application Programming Interface (LSAPI). OpenLiteSpeed is the open-source option for LiteSpeed web servers. The LOMP stack is an acronym for Linux, OpenLiteSpeed, MariaDB, and PHP. The author selected the Free and Open Source Fund to receive a donation as part of the Write for DOnations program.
0 Comments
Leave a Reply. |