---
title: "Discover CyberPanel and Install it to Control your Web Host"
description: "Discover CyberPanel and install it to create a website and take control of your web host (step by step tutorial)."
canonical: "https://adamtheautomator.com/cyberpanel-and-install/"
---

# Discover CyberPanel and Install it to Control your Web Host

> Discover CyberPanel and install it to create a website and take control of your web host (step by step tutorial).

Source: https://adamtheautomator.com/cyberpanel-and-install/

---

ATA Learning

Tap to hide

[

ATA Learning

](/)

*   [Home](/)
*   [Tutorials](/tutorials/)
*   [Instructors](/author/)
*   [Advertising](/advertising/)
*   [Recommended Resources](/resources/)
*   [About Adam](/about-adam/)

Search for:  

*   [](https://twitter.com/adbertram)
*   [](https://github.com/Adam-the-Automator)
*   [](https://www.linkedin.com/company/adam-the-automator-llc)
*   [](/feed/)

![Discover CyberPanel and Install it to Control your Web Host](https://adamtheautomator.com/wp-content/uploads/2022/04/Discover-CyberPanel-and-Install-it-to-Control-your-Web-Host.jpg)

# Discover CyberPanel and Install it to Control your Web Host

[![](https://secure.gravatar.com/avatar/2788bb1a3f735603f81eca51d68daec56a9d97e805a10268fb2c20afcc76b81b?s=192&d=mm&r=g)Nicholas Xuan Nguyen](https://adamtheautomator.com/author/nicholas-xuan-nguyen/)18 April 20227 min. read

Categories: [IT Ops](/category/it-ops/)

Tags:[Cyberpanel](/tag/cyberpanel/)[Linux](/tag/linux/)[Website](/tag/website/)

Table of Contents

*   [Prerequisites](#prerequisites)
*   [Installing CyberPanel](#installing-cyberpanel)
*   [Configuring the Firewall to Allow CyberPanel Traffic](#configuring-the-firewall-to-allow-cyberpanel-traffic)
*   [Accessing CyberPanel](#accessing-cyberpanel)
*   [Creating a Website With SSL Certificate on CyberPanel](#creating-a-website-with-ssl-certificate-on-cyberpanel)
*   [Conclusion](#conclusion)

Hosting websites can be expensive. And if you’re looking for an outstanding web host controller, you’re in for a treat. Discover [CyberPanel](https://cyberpanel.net/) and install it on your server today. Why? With CyberPanel, you can get all the features of a premium host for FREE!

In this tutorial, you’ll learn how to set up CyberPanel so that you can take control of your web host smoothly in a GUI environment.

Sounds interesting? Dive in and start controlling your web host without the additional expense!

## Prerequisites

This tutorial will be a hands-on demonstration. If you’d like to follow along, be sure you have the following.

*   A Linux server. This tutorial uses Ubuntu 20.04.

Related:[How to Install Ubuntu 20.04 \[Step-by-Step\]](https://adamtheautomator.com/install-ubuntu/)

*   A user account with [root/sudo](https://www.wikihow.com/Become-Root-in-Ubuntu) privileges.

## Installing CyberPanel

CyberPanel is compatible with major OSs, such as CentOS, CloudLinux, Debian, and Ubuntu. And because CyberPanel is open source software, it’s completely free to use! But before taking advantage of CyberPanel, you’ll first have to install it on your machine.

1\. Open your terminal and connect to your server via SSH as the root user.

Related:[Getting Started using SSH with PowerShell](https://adamtheautomator.com/powershell-ssh/)

2\. Next, run the following [`apt update`](https://linuxize.com/post/how-to-use-apt-command/#updating-package-index-apt-update) command to update your server packages.

This command updates the package list and installs any available updates so that your server is up-to-date.

```bash
sudo apt update -y
```

![Updating Server Packages](https://adamtheautomator.com/wp-content/uploads/2022/04/image-254.png)

Updating Server Packages

Related:[Learning Ubuntu Apt Get Through Examples](https://adamtheautomator.com/ubuntu-apt-get/)

3\. Run the below commands to download (wget) the latest CyberPanel’s installer script (https://cyberpanel.net/install.sh) to your current working directory. The -O flag tells the wget command to save the script as installer.sh.

If you’d like to install CyberPanel in a different location, you can specify the desired location.

> _The installer script is tested and updated regularly by the CyberPanel team. So you can be sure that you’re always using the latest version of CyberPanel._

Related:[Download a File with an Alternative PowerShell wget Command](https://adamtheautomator.com/powershell-download-file/)

The chmod command makes the script file (installer.sh) executable so you can run it on your server to install CyberPanel.

Related:[Manage Directory and File Permissions with chmod Recursive](https://adamtheautomator.com/chmod-recursive/)

```bash
# Downloads the latest CyberPanel installer script.
sudo wget -O installer.sh https://cyberpanel.net/install.sh
# Makes the installer script executable.
sudo chmod +x installer.sh
```

![Manage Directory and File Permissions with chmod Recursive](https://adamtheautomator.com/wp-content/uploads/2022/04/image-255.png)

[Manage Directory and File Permissions with chmod Recursive](https://adamtheautomator.com/chmod-recursive/)

> _You can use the APT package manager or compile and install the latest version of CyberPanel from the source. But installing CyberPanel is from the official CyberPanel script is always recommended._

4\. Now, run the following `ls` command to list the contents of the working directory and verify that the installer script exists.

```bash
ls -a
```

![Verifying the Installer Script (installer.sh)](https://adamtheautomator.com/wp-content/uploads/2022/04/image-256.png)

Verifying the Installer Script (_installer.sh_)

5\. Run the below command to execute the installer script (`installer.sh`) and start installing CyberPanel on your server.

This script automatically installs all of the required dependencies and sets up the firewall so that your server is ready to use.

```bash
sh installer.sh
```

Enter 1 and press Enter during the installation to continue when you get the prompt shown below.

![Confirming CyberPanel Installation](https://adamtheautomator.com/wp-content/uploads/2022/04/image-257.png)

Confirming CyberPanel Installation

6\. Next, select **1** for the free version of CyberPanel (**OpenLiteSpeed**) and press Enter.

CyberPanel has two versions:

*   **OpenLiteSpeed** – is the free and open-source version of the LiteSpeed Web Server.
    
*   **LiteSpeed Enterprise** – is the commercial version of the LiteSpeed Web Server.
    

![Selecting the OpenLiteSpeed Version of CyberPanel](https://adamtheautomator.com/wp-content/uploads/2022/04/image-258.png)

Selecting the OpenLiteSpeed Version of CyberPanel

7\. Type **Y** and press Enter to confirm the full installation of CyberPanel.

![Confirming Full Installation](https://adamtheautomator.com/wp-content/uploads/2022/04/image-259.png)

Confirming Full Installation

8\. After confirming full installation, type **N** and press Enter for local MySQL access. Installing the local MySQL server is recommended for better performance and stability.

> _Type Y instead and press Enter to connect to the remote MySQL server if you have a remote MySQL server._

![](https://adamtheautomator.com/wp-content/uploads/2022/04/image-260-1024x70.png)

Installing Local MySQL Server

9\. Press **Enter** to install the latest version of CyberPanel or type a specific version. But you’ll choose the latest version in this tutorial.

![Selecting the Latest Version to Install](https://adamtheautomator.com/wp-content/uploads/2022/04/image-261.png)

Selecting the Latest Version to Install

10\. Now, press Enter to use the default admin password, **1234567**. If you like to use a different one, you can type **r** to generate an admin password randomly. Or type **s** to specify the admin password.

Note down the admin password as you’ll need it later to access your CyberPanel server.

![Choosing Random Default Admin Password](https://adamtheautomator.com/wp-content/uploads/2022/04/image-262.png)

Choosing Random Default Admin Password

11\. Once you’ve set an admin password, type **Y** and press Enter to install Memcached and its PHP extension. Memcached is a free and open-source, high-performance, distributed memory object caching system. Installing Memcached enables your website to load faster.

![Installing Memcached for Faster Website Loading](https://adamtheautomator.com/wp-content/uploads/2022/04/image-263.png)

Installing Memcached for Faster Website Loading

12\. Type **Y** and press Enter to install Redis and its PHP extension. Redis is an open-source, advanced key-value store. Redis is often used as a database, cache, and message broker so that your website gets real-time data.

![Install Redis and its PHP Extension](https://adamtheautomator.com/wp-content/uploads/2022/04/image-264.png)

Install Redis and its PHP Extension

13\. Finally, type **Y** and press Enter to set up Watchdog for Web and Database services. Watchdog is a service that monitors your website and database service.

If the Watchdog detects a problem, it automatically restarts the service. Watchdog is in the beta stage, so it may not be 100% stable. But then again, Watchdog can help to keep your website running smoothly.

![Setting up Watchdog for Web and Database Services](https://adamtheautomator.com/wp-content/uploads/2022/04/image-265.png)

Setting up Watchdog for Web and Database Services

At this point, the installation process starts, where the script downloads the necessary files, creates the database, and installs CyberPanel.

![Installing CyberPanel](https://adamtheautomator.com/wp-content/uploads/2022/04/image-266.png)

Installing CyberPanel

Depending on your server load, the installation process might take up to 30 minutes or more to complete. Once the installation is finished, you’ll see the following output.

![Viewing Successful CyberPanel Installation](https://adamtheautomator.com/wp-content/uploads/2022/04/image-267.png)

Viewing Successful CyberPanel Installation

## Configuring the Firewall to Allow CyberPanel Traffic

Now that CyberPanel is installed, you must configure your firewall to allow CyberPanel traffic. And UFW is the default firewall included with your Ubuntu system.

> _UFW is the default firewall included with your Ubuntu system._

Related:[How To Set Up the UFW Firewall on Linux](https://adamtheautomator.com/ufw-firewall/)

The default ports for CyberPanel are below:

*   8090/TCP – CyberPanel uses this port for web client access.
*   80/TCP, 443/TCP – CyberPanel uses those ports for web server access.
*   40110-40210/TCP – CyberPanel uses those ports for FTP protocol access.
*   25/TCP – CyberPanel uses this port for SMTP relaying — the mail server port where mail is sent from your server.
*   53/TCP – CyberPanel uses this port for [DNS queries](https://www.cloudns.net/wiki/article/254/). Allowing this port on your firewall lets your server communicate with the outside world.

To allow CyberPanel traffic through your firewall, you’ll open the default ports CyberPanel uses.

1\. Run the following command to open the default ports that CyberPanel uses. But you can open more ports as needed for your specific configuration.

```bash
sudo ufw allow 8090/tcp
sudo ufw allow 80/tcp
sudo ufw allow 443/tcp
sudo ufw allow 40110:40210/tcp
sudo ufw allow 25/tcp
sudo ufw allow 53/tcp
```

![Opening the Default Ports CyberPanel Uses](https://adamtheautomator.com/wp-content/uploads/2022/04/image-268.png)

Opening the Default Ports CyberPanel Uses

2\. Next, run the ufw command below to enable your UFW firewall.

```bash
sudo ufw enable
```

You’ll be prompted to confirm the operation, as shown below. Type y and press Enter to proceed in enabling the firewall.

![Enabling the UFW Firewall](https://adamtheautomator.com/wp-content/uploads/2022/04/image-269.png)

Enabling the UFW Firewall

Lastly, run the following command to check the status of your firewall and verify it’s configured to allow CyberPanel traffic.

```bash
sudo ufw status
```

The output shows that the firewall is active, and the ports that CyberPanel uses are open.

![Checking UFW Firewall Status](https://adamtheautomator.com/wp-content/uploads/2022/04/image-270.png)

Checking UFW Firewall Status

## Accessing CyberPanel

Now that the installation is complete, you can create your website and take control of your web host. How? By accessing your CyberPanel server through a web browser.

Open your favorite web browser and navigate to your server’s IP address followed by port 8090 (i.e., _SERVER\_IP:8090_). Your browser redirects to the HTTPS version of CyberPanel by default. Since you haven’t installed a valid SSL certificate yet, you’ll see the warning message below saying **Your connection is not private**.

Related:[How to Redirect HTTP to HTTPS Traffic in NGINX](https://adamtheautomator.com/nginx-to-redirect-http-to-https/)

This warning is just a warm reminder to install a valid SSL certificate as soon as possible. A valid SSL certificate is required for secure communication between your server and your website users. You can safely ignore this warning and click on **Advanced** to proceed to the CyberPanel Login screen.

![Attempting to Access CyberPanel](https://adamtheautomator.com/wp-content/uploads/2022/04/image-271.png)

Attempting to Access CyberPanel

Provide the default **admin** username and the password you set in step 10 of the “Installing CyberPanel” section, and click on **Sign In** to access your CyberPanel server.

![Signing in to CyberPanel](https://adamtheautomator.com/wp-content/uploads/2022/04/image-272.png)

Signing in to CyberPanel

Once signed in, you’ll see the following CyberPanel dashboard.

![Viewing the CyberPanel Dashboard](https://adamtheautomator.com/wp-content/uploads/2022/04/image-273.png)

Viewing the CyberPanel Dashboard

## Creating a Website With SSL Certificate on CyberPanel

You now have access to your CyberPanel server, and it’s time to create your first website to try out the features of CyberPanel.

Related:[How to Set Up End-to-End SSL Encryption with CloudFlare](https://adamtheautomator.com/cloudflare-ssl/)

1\. In your CyberPanel dashboard, click on the **Websites** menu on the left panel and click on **Create Website.**

![Initializing Creating a Website](https://adamtheautomator.com/wp-content/uploads/2022/04/image-274.png)

Initializing Creating a Website

2\. Next, configure your website with the following:

*   **Select package** – Select the **Default** option. You can create your own package, but that topic is beyond this tutorial.
    
*   **Select Owner** – Select the owner of the website (**admin**). You can assign different owners to this website, but that topic is beyond this tutorial since you must create a new user first.
    
*   **Domain name** – Set your website’s domain name (e.g., _example.com_).
    
*   **Email** – Set the email address of this website’s administrator.
    
*   **Select PHP** – Select the version of PHP to use for this website. PHP 7.3 or higher is recommended for better performance.
    
*   **Additional Feature –** Check the **SSL** option for this website to generate a free SSL certificate from [Let’s Encrypt automatically.](https://letsencrypt.org/)
    
*   Click on **Create Website** to finalize creating your first website.
    

![Configuring a New Website.](https://adamtheautomator.com/wp-content/uploads/2022/04/image-275.png)

Configuring a New Website.

The website creation process will take a few minutes. Once completed, you’ll see the following page, which indicates CyberPanel successfully created your website.

![Confirming Successful Website Creation](https://adamtheautomator.com/wp-content/uploads/2022/04/image-276.png)

Confirming Successful Website Creation

3\. Click on the **Websites** menu again, and click on **List Websites** to see the list of websites on your server.

![Listing Websites](https://adamtheautomator.com/wp-content/uploads/2022/04/image-277.png)

Listing Websites

You’ll see your newly created website listed, as shown below.

![Viewing List Websites](https://adamtheautomator.com/wp-content/uploads/2022/04/image-278.png)

Viewing List Websites

4\. Finally, navigate to your domain name in your web browser, and you’ll see the following page.

Below is your website’s default page, and you can see your connection is secured with a valid SSL certificate.

![Accessing Newly Created Secure Website](https://adamtheautomator.com/wp-content/uploads/2022/04/image-279.png)

Accessing Newly Created Secure Website

## Conclusion

In this tutorial, you’ve learned how to install and configure CyberPanel on a Ubuntu server and create your first website. You’ve also secured your website with a valid SSL certificate, all for free!

CyberPanel is a web hosting control panel with various features to manage your website and provides a great user experience with a straightforward interface.

Why not give CyberPanel a try for your next web hosting project? WordPress is your thing? Maybe [setting up a self-hosted WordPress blog](https://community.cyberpanel.net/t/set-up-self-hosted-wordpress-site-for-free-in-10-minutes/163) is right up your alley.

Share this article

[Share on X](https://twitter.com/intent/tweet?url=https%3A%2F%2Fadamtheautomator.com%2Fcyberpanel-and-install%2F&text=Discover%20CyberPanel%20and%20Install%20it%20to%20Control%20your%20Web%20Host)[Share on Facebook](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fadamtheautomator.com%2Fcyberpanel-and-install%2F)[Share on LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fadamtheautomator.com%2Fcyberpanel-and-install%2F)

## Related Posts

![](https://adamtheautomator.com/wp-content/uploads/2022/09/Practical-Linux-Unix-Tee-Commands-for-the-Linux-Admin.jpg)

### [Master Unix tee Commands for Real-World Linux Admin Tasks](/unix-tee/)

Simplify Linux output management and streamline your workflow with the “Unix tee” command. This tutorial guides you through its practical applications.

![](https://adamtheautomator.com/wp-content/uploads/2024/03/openldap-4.jpg)

### [How to Install and Configure an OpenLDAP Ubuntu Server](/openldap/)

Unlock the power of OpenLDAP on Ubuntu for centralized user authentication, seamless access control management, and enhanced directory services!

![](https://adamtheautomator.com/wp-content/uploads/2024/03/pipe-command-in-linux-1.jpg)

### [Unleashing the Power of the Pipe Command in Linux](/pipe-command-in-linux/)

Unlock the prowess of the pipe command in Linux to streamline tasks, boost productivity, and simplify complex operations effortlessly!

## Categories

*   [IT Ops](/category/it-ops/)
*   [Cloud](/category/cloud/)
*   [DevOps](/category/devops/)
*   [Home Ops](/category/home-ops/)
*   [Information Security](/category/infosec/)
*   [Software Development](/category/software-development/)

## Site

*   [Home](/)
*   [Tutorials](/tutorials/)
*   [Instructors](/author/)
*   [Advertising](/advertising/)
*   [Recommended Resources](/resources/)
*   [About Adam](/about-adam/)

Copyright 2026© ATA Learning | [Privacy Policy](/privacy/)
