

- #CONFIGURE LITESPEED WEB SERVER MAC OS X#
- #CONFIGURE LITESPEED WEB SERVER INSTALL#
- #CONFIGURE LITESPEED WEB SERVER UPDATE#
- #CONFIGURE LITESPEED WEB SERVER PASSWORD#
– PHP scripting is up to 50% faster than Apache’s mod_php – It is fully compatible with most of the common control panels like cPanel, Ensim, DirectAdmin, Plesk, etc.
#CONFIGURE LITESPEED WEB SERVER MAC OS X#
– Runs on almost all platforms like Linux, FreeBSD, Solaris, Mac OS X etc Get super reliable servers and delighted customers Please don’t hesitate to share your feedback and comments in the comments section below.Hire Bobcares Linux Server Administrators And this brings down the curtain on our topic for today. This takes you to the OpenLiteSpeed dashboard as shown below.įrom here, you can configure virtual hosts, change the default port from port 8088 to another port and so much more.
#CONFIGURE LITESPEED WEB SERVER PASSWORD#
Provide the new username and password that you set in the previous step and click the ‘ Login’ button. To access the administrative section, browse the server’s IP with the port 7080 using the https protocol. For example, when you click on the ‘ Demos’ option, you get some featured demos such as testing the output ‘ Hello word’ from the CGI script and the PHP version. You can click the menu bar options so see what’s in store. This takes you to the demo page as shown. To access the default page for OpeLiteSpeed web server, browser the server’s address as shown: Step 6) Accessing OpenLiteSpeed web server Specify a different username and password as demonstrated below. To achieve this run the script shown below $ sudo /usr/local/lsws/admin/misc/admpass.sh

Even better, we will specify a different username from the default ‘admin’ username. $ sudo firewall-cmd -reload Step 5) Change the default Administrator Passwordīy default, the Admin’s password is set to ‘123456’, and for obvious reasons, we need to change this password and set a very robust password. $ sudo firewall-cmd -zone=public -permanent -add-port=7080/tcp $ sudo firewall-cmd -zone=public -permanent -add-port=8088/tcp If the firewall is running on your system then you should consider opening these ports as shown. You can confirm the ports that the web server is listening on using the netstat command as shown: $ sudo netstat -pnltu Port 8088 is for demo purposes while the port 7080 gives you access to the administrative UI. If the web server is not active and running, you can start it by running the command: $ sudo systemctl start lsws Once the installation is completed, you can check the status of the web server using the command: $ sudo systemctl status lsws
#CONFIGURE LITESPEED WEB SERVER INSTALL#
To install the web server, simply invoke the following dnf command: $ sudo dnf install -y openlitespeed Now, you need to get OpenLiteSpeed installed on your CentOS 8 instance. Step 4) Install OpenLiteSpeed with dnf command Simply press ‘Y’ for Yes to enforce best practice settings. To do so, run: $ sudo mysql_secure_installationīegin by setting the root password if none was assigned.įor the remainder of the prompts. Run following systemctl command to check status of mariadb service, $ sudo systemctl status mariadbīy default, MariaDB is not secure and therefore, we need to take some extra steps to secure it and avoid breaches. Once installed, start mariadb database server by running: $ sudo systemctl start mariadb


To install MariaDB database server, run: $ sudo dnf install -y mariadb mariadb-server Step 3) Install & Secure MariaDB database server Once PHP packages have been installed successfully using above dnf command then let’s install MariaDB database server. But before that, ensure that you have added the EPEL repo using the command: $ sudo dnf install -y epel-releaseĪfter installing the EPEL repo, install LSPHP as shown $ sudo dnf install -y lsphp74 lsphp74-mysqlnd lsphp74-process lsphp74-mbstring lsphp74-mcrypt lsphp74-gd lsphp74-opcache lsphp74-bcmath lsphp74-pdo lsphp74-common lsphp74-xml In this step, we are going to install PHP 7.4 using OpenLiteSpeed repository colloquially referred to as LSPHP.
#CONFIGURE LITESPEED WEB SERVER UPDATE#
Then update the package lists as shown: $ sudo dnf update Step 2) Install PHP from OpenLiteSpeed Repositories Therefore, log into your server instance and invoke the command below. This will allow you to install the OpenLiteSpeed web server and associated packages and dependencies. Step 1) Configure OpenLiteSpeed Repositoryīefore anything else, the first step is to add the OpenLiteSpeed repository to your CentOS 8 or RHEL 8 instance.
