---
title: How to Install CyberPanel – Ubuntu and Almalinux
description: "CyberPanel is a popular open-source hosting control panel powered by OpenLiteSpeed, offering easy management of websites, email, DNS, databases, and more. This guide will walk you through the installation process of CyberPanel on a fresh server. ## Prerequisites Before starting…"
url: "https://truehost.com/support/knowledge-base/how-to-install-cyberpanel-ubuntu-and-almalinux/"
updated: "2024-10-07"
category: Cloud servers in Kenya
---

# How to Install CyberPanel – Ubuntu and Almalinux

CyberPanel is a popular open-source hosting control panel powered by OpenLiteSpeed, offering easy management of websites, email, DNS, databases, and more. This guide will walk you through the installation process of CyberPanel on a fresh server.

## Prerequisites

Before starting the installation, ensure that the following prerequisites are met:

1. **A clean server**:
   - A VPS or dedicated server with at least **1 GB of RAM** (2 GB recommended) and **10 GB of storage**.
   - Supported OS: **Ubuntu 18.04, Ubuntu 20.04, AlmaLinux 8, **AlmaLinux ****9**, Ubuntu 22.04**, **CloudLinux**
2. **Root access** to the server:
   - You’ll need to log in as a root user or have a user with sudo privileges.
3. **Server IP Address**:
   - Example: `178.32.214.84`
4. **Stable Internet connection**:
   - The server needs to have internet access to download necessary packages and dependencies during installation.

## Step-by-Step Guide to Installing CyberPanel

**Step 1: Connect to Your Server**

Use SSH to connect to your server. Check **[this guide](https://truehost.com/support/knowledge-base/how-to-access-a-server-via-ssh-terminal/)** in how to do that.

**Step 2**: **Update server Packages.**

Depending on your Operating System Version, run the commands below to update the system

**For Ubuntu**:

```
sudo apt update && sudo apt upgrade -y
```

![](https://truehost.com/support/wp-content/uploads/2024/09/image-145.png)

**For CentOS/Alma/Rocky**:

```
sudo yum -y update
```

**Step 3**: **Run the Installation Script**

CyberPanel offers an automatic installer that simplifies the process. Run the following commands to begin the installation.

During the installation process, you will be prompted to make some choices; between OpenLiteSpeed (free) or LiteSpeed Enterprise (Licenced) and also regarding installation of some addons

**Run the command below to Download the CyberPanel installer:**

```
sudo su - -c "sh <(curl https://cyberpanel.net/install.sh || wget -O - https://cyberpanel.net/install.sh)"
```

**Choose the type of installation**

Input 1 to choose to **Install Cyberpanel**, followed by another 1 to install with **OpenLiteSpeed**.

![](https://truehost.com/support/wp-content/uploads/2024/09/image-147.png)

**Step 4**: **Select Services and Packages.**

During installation will get a sequence of prompts with various options and add-ons for selection.

- Choose**Full **Service (default Y):**** In put Y then hit **Enter**. This installs
  [**PowerDNS **](https://www.powerdns.com/)**– an open-source DNS server**[**Postfix **](http://www.postfix.org/)**– open-source mail transfer agent**[**Pure-FTPd **](https://www.pureftpd.org/project/pure-ftpd/)**– open-source FTP server**

![](https://truehost.com/support/wp-content/uploads/2024/09/image-154.png)

- **Remote MySQL (default N):** Input N and hit **Enter**
  Allow for your Database to be installed on a remote server

![](https://truehost.com/support/wp-content/uploads/2024/09/image-155.png)

- **CyberPanel Version (default Latest Version):** Hit **Enter** to proceed with default option

![](https://truehost.com/support/wp-content/uploads/2024/09/image-156.png)

- **Password (default “1234567”):** Input **s** and hit **Enter** to set a password or **g** then **Enter** to generate a random password, which you will see displayed on the screen when the installation completes.
  In case you do not get a chance to set a password, do not worry, you will easily set using [these](https://truehost.com/support/?post_type=docs&p=14087) steps once the installation completes.
- **Memcached (default Y)**: In put Y then hit **Enter**
  This is Distributed memory object caching system

![](https://truehost.com/support/wp-content/uploads/2024/09/image-157.png)

- **Redis (default Y):** In put Y then hit Enter
  This is an In-memory data structure store, used as a database, cache, and message broke

![](https://truehost.com/support/wp-content/uploads/2024/09/image-158.png)

- **Watchdog (default Yes)**: In put **Yes** then hit **Enter**
  A kernel watchdog is used to monitor if a system is running. It is supposed to automatically reboot hanged systems due to unrecoverable software errors.

![](https://truehost.com/support/wp-content/uploads/2024/09/image-159.png)

**Step 5: Installation Processing**

Once all the options are selected, the installer will begin downloading and installing the necessary packages. This process may take 10-15 minutes depending on your server and internet speed.

**Step 7: Finalize Installation**

Once everything is done, you will encounter a screen displaying important information regarding your configuration. It is recommended to select and securely copy this information to a safe location for future reference.

![](https://truehost.com/support/wp-content/uploads/2024/09/image-160.png)

Also you will see a prompt asking you to reboot the server. Select Y then it Enter to reboot the server

![](https://truehost.com/support/wp-content/uploads/2024/09/image-161.png)

**Step 8. You may Access your Cyberpanel using [these steps](https://truehost.com/support/knowledge-base/how-to-access-cyberpanel/)**

![](https://truehost.com/support/wp-content/uploads/2024/09/image-144-1024x792.png)

## Quick Access to Important Configurations on Cyberpanel

- [How to Access Cyberpanel](https://truehost.com/support/knowledge-base/how-to-access-cyberpanel/)
- [How to reset Cyberpanel Password](https://truehost.com/support/?post_type=docs&p=14087)
- [How to set up a hostname SSL for Cyberpanel](https://truehost.com/support/knowledge-base/how-to-set-up-a-hostname-ssl-on-cyberpanel/)
- [How to create a domain Subdomain on CyberPanel](https://truehost.com/support/knowledge-base/how-to-create-a-domain-and-subdomain-on-cyberpanel/)
- [How to create and access Email accounts on Cyberpanel](https://truehost.com/support/knowledge-base/how-to-create-and-access-email-accounts-on-cyberpanel/)
- [How to Manage Existing emails on Cyberpanel](https://truehost.com/support/knowledge-base/how-to-manage-existing-email-accounts-on-cyberpanel/)
- [How to adjust PHP INI settings on Cyberpanel](https://truehost.com/support/knowledge-base/how-to-adjust-php-ini-settings-on-cyberpanel-e-g-upload-limit-post_max_size-display_errors/)
