How to install OpenLiteSpeed on Centos?

Do you know how to install OpenLiteSpeed on Centos?

First of all, I would like to tell you that what is OpenLiteSpeed? I know most of you know that what is OpenLiteSpeed but it’s my habit to discuss things before going to deep. So OpenLiteSpeed is the Open Source edition of LiteSpeed Web Server Enterprise.

In this article, we will discuss step by step how to install OpenLiteSpeed on Centos.

How To Install OpenLiteSpeed:

First of all, you need to add the LiteSpeed repository to your centos. You can do it by using the following command.

rpm -ivh http://rpms.litespeedtech.com/centos/litespeed-repo-1.1-1.el7.noarch.rpm

Once you added the repository now you can install the OpenLiteSpeed on your server easily. To do so you have to run the command:

yum install openlitespeed

Now what? if you want to install any specific version of OpenLiteSpeed. In that case you can use this command:

yum install openlitespeed-x.x.x

Replace the x value with your required version. Like 1.6.5 or something. You can access the web server on:

http://your_ip:7080

Setup Administrator Password:

Now your LiteSpeed web server is installed. You have to set a password for the OpenLiteSpeed web server in order to access it. You can set the password by using this command:

/usr/local/lsws/admin/misc/admpass.sh

Use sudo if you don’t have root rights. you can also use this to change the OpenLiteSpeed web server password. When you run this command this will ask you User name [admin]: put admin here

OpenLiteSpeed web server password

And after that, it will ask for a password add a password and confirm that.

change OpenLiteSpeed web server password

Now your web server is go to go.

Some common commands for OpenLiteSpeed:

Here some common commands that you must need to know about the OpenLiteSpeed.

  1. To check the status of OpenLiteSpeed you can use this command.
Systemctl status lsws 

2. To stop the OpenLiteSpeed service use this command.

Systemctl stop lsws 

3. To start the OpenLiteSpeed service use this command

Systemctl start lsws 

4. To restart the OpenLiteSpeed service use this command

Systemctl restart lsws 

Directories and Logs for OpenLiteSpeed:

Now I think it’s very important to tell you about directories and logs of OpenLiteSpeed. Maybe you want to do some testing on it. Joke apart never try to do tests on anything you have not enough knowledge.

The default OpenLiteSpeed installation directory is: /usr/local/lsws

You can also start OLS using this command:

/usr/local/lsws/bin/lswsctrl start

You can also stop OLS using this command:

/usr/local/lsws/bin/lswsctrl stop

If you faced any error on OLS and want to find what is that then you can check the error log in /usr/local/lsws/logs/error.log.

Some more information about OpenLiteSpeed:

Well, the free version of LiteSpeed web servers. Although both OpenLiteSpeed and LiteSpeed ENT. are developed by the same developers. But there must be some difference between them. You can imagine a price thing and a paid thing must be different from each other.

OpenLiteSpeed has almost all the features that LiteSpeed Ent have. But there must be some difference. The main difference is OpenLiteSpeed requires a restart to load any new .htaccess file. While LiteSpeed Ent does this Automatically.

How to Install a WordPress Plugin?

How to Upgrade CyberPanel to the latest version?

If you want you upgrade your Cyberpanel to latest version then you are at right place.

Here we tell you how to upgrade CyberPanel to the latest version. this is pretty easy to upgrade CyberPanel. You can get the latest Upgraded CyberPanel through just one command.

Upgrade CyberPanel To latest version:

Here the command to upgrade the cyber panel to the latest version.

sh <(curl https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh || wget -O - https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh)

But if you do not want the latest released version. You want to install any other specific version then use another command which allows you to update the cyber panel to a specific version.

https://raw.githubusercontent.com/usmannasir/cyberpanel/<branch name>/cyberpanel_upgrade.sh

<branch name> is the name of the branch you want to install like 2.0.1

From the first command, you can also upgrade the Cyberpanel to a specific version for this you have to take care of a thing, and what id that?

sh <(curl https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh || wget -O - https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh)

When you run this command and at a point, they ask for a version you can give the version like 2.0.2 or any you want. And if you want to upgrade to the version which is not released yet get and find the version from the CyberPanel team and provide the version when this command asks for version.

Cyberpenel developers are very fast and good at updating. And introducing new features for CyberPanel users. I think they are always in a hurry to launch a new version. And trust me, they always introduce the best in the new version CyberPanel. That’s why I like them. But I don’t think auto-upgrade is possible for CyberPanel. You will need to update when they release the new version. Here I will give you a very easy way to upgrade the cyber panel. Believe me, it has only one command.

How to install OpenLiteSpeed on Centos?

How to Install CyberPanel On Centos?

How to install CyberPanel? I know everyone who came on this article will know that what is CyberPanel and want to know how to install CyberPanel. Some of you have basic knowledge and some are experts hehe.

But If you are totally new here then let me tell you that CyberPanel is a control panel. Basically, CyberPanel is a hosting control panel like the other the popular one c-panel.

Introduction of CyberPanel:

CyberPanel is a free and open-source next-generation hosting control panel. CyberPanel is Powered by LiteSpeed technologies. And mostly use by the LiteSpeed web servers. Basically CyberPanel is free but here is the twist. CyberPanel has two versions CyberPanel and CyberPanel Enterprise. There is not a huge difference between the CyberPanel and cyber panel Ent. CyberPanel Ent comes with LiteSpeed ent so that makes the difference. See here what the official web site of Cyberpanel said about CyberPanel ent.

Here in this article, I am going to tell you how to install CyberPanel on Centos. I will discuss about the installation on other Operating systems and flavors of Linux but in this, I will stay with centos.

Requirements for installation (Hardware and General requirements ):

CyberPanel requirements for installation are not so high and complicated. We discuss the main here:

  1. A server or machine with Centos
  2. Minimum 1 GB Ram
  3. SHH access with root
  4. 10GB Disk Space.

How to install CyberPanel?

CyberPanel Installation is very easy and its just one command installation. When you search for how to install cyberpanel you will foun a bunch of commands and different steps. But i perfer only one command to install CyberPanel and that command is:

sh <(curl https://cyberpanel.net/install.sh || wget -O - https://cyberpanel.net/install.sh)    

This will do have for you now you have to take care of some processes while installing CyberPanel. These are

Install Specific Version Of CyberPanel:

Now sometime you have to install a specific version of CyberPanel. This is a bit tricky. First of all, you have to wget (download) the specific branch of CyberPanel you want to install using this command:

wget https://raw.githubusercontent.com/usmannasir/cyberpanel/<branchname>/cyberpanel.sh

Now you have to assign it executable Permissions. Using this command:

chmod +x cyberpanel.sh

Now execute for installation:

./cyberpanel.sh  

How to Upgrade CyberPanel to the latest version?