![]() ![]() Once you run the above script, you will be prompted to input the admin username. sudo /usr/local/lsws/admin/misc/admpass.sh To access it securely, create an admin account and set a password using the following command. Just like any other web hosting control panel, the OpenLiteSpeed server has an admin dashboard. However, there are still a few things we need to configure to secure the site. That’s it! OpenLiteSpeed should now be up and running. sudo ln -sf /usr/local/lsws/lsphp74/bin/lsphp /usr/local/lsws/fcgi-bin/lsphp5 To do that, create a soft link to the PHP processor we have just installed. However, we still need to let our server know which PHP processor it should be utilized for normal operations. ![]() ![]() We have then installed OpenLiteSpeed and a PHP processor for that. ![]() For this tutorial, we will use the latest version of it – lsphp74įor Ubuntu sudo apt install openlitespeed lsphp74įor CentOS sudo dnf install openlitespeed lsphp74 In OpenLiteSpeed, we have customized PHP processors. Once the repository has been added, the OpenLitespeed server is available for install using the commands below. Also, install the extra packages repository and update the repo lists. On CentOS, download the repository configuration file. On Ubuntu, use the script provided by OpenLiteSpeed to add the correct repository to your OS version. Simply add the repository on the server using the commands below. Since the OpenLiteSpeed project maintains repositories for both CentOS and Ubuntu, we need not compile it ourselves. Once you’ve configured your firewall to allow the necessary ports and services, continue on with the OpenLiteSpeed install itself. sudo firewall-cmd -add-service= -permanent Then reload the firewall rules to enable the changes. sudo ufw allow 22,53,80,443,7080,8088/tcpĬentOS servers come with firewalld enabled out of the box which requires configuration before OpenLiteSpeed can be installed.Īllow HTTP and HTTPS access as well as the custom ports used by OpenLiteSpeed with the commands below. Then allow the following ports, set default rule to reject other connections and enable the firewall. If you are running Ubuntu, you won’t have a firewall enabled by default but you should set up one for security purposes.Ĭheck that the ufw firewall is installed with the command below. OpenLiteSpeed uses a couple of non-standard ports which means you need to accept incoming traffic to port 8088 and port 7080 to be able to access the admin panel and the default page of the server. Once you’ve deployed a cloud server, connect to your cloud server using your preferred SSH client. If you are new to UpCloud, you can get started with the free trial by signing up. Go ahead and deploy a new UpCloud server with Ubuntu 20.04 or CentOS 8 by logging in to your UpCloud Control Panel and clicking Deploy server. In this tutorial, we will install the OpenLiteSpeed server on a simple cloud server running Ubuntu 20.04 or CentOS 8. Apart from all these, you get to install a customized PHP processor that is optimized for the OpenLiteSpeed server. The server understands all the apache rewrite rules and has intelligent cache acceleration features that let you implement the fastest caching on your server. It offers unbeatable features and performance to your sites along with top-notch security. OpenLiteSpeed is an easy-to-use, open-source web server. ![]()
0 Comments
Leave a Reply. |