fbpx
Tutorial Install Cyberpanel with OpenLiteSpeed on CentOS 7

How to Install Cyberpanel with OpenLiteSpeed on CentOS 7

Cyberpanel is a free to use web hosting control panel, as well as one of the best drop-in replacement for C-Panel. Whereas C-panel costs $15/m for the basic solo version, Cyberpanel is free to use. In fact, it comes with the OpenLiteSpeed web server, which is basically an Open Source edition of LiteSpeed Web Server Enterprise. And offers great performance and can handle much more traffic when compared to Apache server.

Here in this tutorial, I’ll guide you with detailed instructions about how to install Cyberpanel with OpenLiteSpeed on CentOS7.  As of today, many cloud service providers offer CentOS 8 which is not yet fully supported by Cyberpanel as per their official documentation. So, I would recommend using a VPS or Dedicated instance with at least 2GB RAM, and 1 CPU core to proceed further.

There are two versions of the Cyberpanel – CyberPanel free version and CyberPanel Ent version. Both works 100% the same from the front end, except one is running OpenLiteSpeed as the back-end and the other runs LiteSpeed Web Server Enterprise. Cyberpanel Ent has a free version too which is restricted to 1 domain, 2GB RAM limit.

Prerequisites to Install Cyberpanel

I’m using Hetzner cloud for this tutorial. You may use Digital Ocean as they offer $100 signup credit if you use this link to create your account – https://m.do.co/c/8c1655078bbb. For the best performance, use memory-optimized VM / Droplets or A dedicated instance.

While configuring your VM instance, select OS – CentOS 7. You can follow this tutorial to install Cyberpanel on digitalocean, aws ec2, vultr, linode or just any other cloud service provider’s VM instance.

I’m using a VM with 8GB RAM and 2 CPU Cores. Once the server is ready login to your cloud instance using SSH key or root login credentials. We’re ready to rock!

Install CyberPanel with OpenLiteSpeed on CentOS 7

Run the following command below in your terminal, it’ll install the free version of the cyber panel. This whole process will take 10-15 minutes, make sure the internet connection doesn’t get disconnected or the process doesn’t get interrupted at any cost.

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

Install CyberPnale Ent Version [Optional]

In case you want to install CyberPanel Ent version, you will need to sign up and obtain a license key visiting this link. Also, you may sign up for any other paid plans, if you want to do so. Then just run the following command.

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

Configuring CyberPanel Installtion

After running one of the above commands, you will need to go through some of the options.

  • When asked, click 1 to install Cyberpanel.

  • You will be asked to choose from – 1. Install CyberPanel with OpenLiteSpeed, and 2. Install CyberPanel with Litespeed Enterprise. For the Enterprise version, you need to purchase a license, otherwise hit 1.

  • When asked – Install full service CybelPanel, just type “Y” and hit enter.

  • Next, type “r” and hit enter, it will generate a strong random password upon successful installation.

  • Type “Y” for installing meme cache extension and backend.

  • Also, again type “Y” to install redis extension and backend.

  • To install WatchDog for web service and database, hit “Y” and press enter.

  • Grab a cup of Tea or Coffe! and chill. As the installation process will take 10-15 minutes. In my case, it took like 13-14 minutes approximately. Once the CyberPanel is installed successfully, on your screen you’ll see login and server access credentials. Copy the credentials safely, you would not want to lose it. Type “Y” to restart the server.

  • Now visit http://your-ip:8090 to login to CyberPanel. You might get “the red insecure website” warning on chrome as there is no SSL certificate [don’t worry, I will show you how to install that too]. So click on Advanced> visit unsafe website.

  • Just enter the panel user name and password which you’ve copied just before, enter the credentials in the login screen, boom! you’re now logged in. You just installed cyberpanel with openlitespeed on CentOS 7, wait! we need to do some tweaks and some further configurations.

Use Domain:8089 to Access CyberPanel & Install SSL Certificate

By default, you’ve to ip-address:8089 to access cyberpanel, which is not a recommended method. I’ll guide you how to login to cyberpanel as https://your-domain.com:8089.

  • Navigate to Websites> Add Website from the left side panel menu. Now you’ve to add your domain or sub-domain under the admin user. I would recommend using a sub-domain, like https://login.your-domain.com:8089 or https://console.your-domain.com:8089 is way better and secure than using the default domain.

  • Our website is https://syscodes.io, so for cyberpanel I will rather go with https://test.syscodes.io:8089 as this is just for temporary tutorial purposes.
  • First in the domain register’s DNS, for the subdomain method, add a new A record like below.

Caution: I’m showing you on cloudflare DNS. But if you’re using cloudflare, you can’t use domain:8089 as cloudflare blocks the 8089 port. In fact, for the sake of this tutorial, I had to pause cloudflare protection. So better use your register’s default name servers and add a new A record like below for your sub-domain.

  • Once A record is added, create a new website using that sub-domain under admin user.
  • Then go to websites> list websites. From the page, above your website name, click on issue SSL. It’ll Issue a LetsEncrypt SSL to your subdomain.

  • Now from the left menu, navigate to SSL> Hostname SSL.

  • Select your website from the dropdown menu and hit “Issue SSL” button. That’s all man.

  • Go to server status> litespeed status from the left panel menu, and click “reboot litespeed”.

  • Now visit domain:8089 to login to CyberPanel. It’ll work.

  • By visiting websites> list websites> manage, you can install applications like WordPress, magento or access your FTP account folders. Now we’ve successfully configured & properly installed CyberPanel with OpenLiteSpeed on CentOS7, Enjoy!

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top