Install CyberPanel: A Beginner’s Guide to Setting Up Your Website

CyberPanel is an open-source web hosting control panel that is designed to be user-friendly and easy to manage. It comes with a variety of features that make it a popular choice for web hosting providers and website owners alike.
One of the key features of CyberPanel is its support for OpenLiteSpeed, a high-performance web server that is designed to be faster and more efficient than Apache or Nginx. This means that websites hosted on CyberPanel can load faster and handle more traffic without experiencing slowdowns or crashes.
Another important feature of CyberPanel is its support for multiple PHP versions. This makes it easy to run websites that require different versions of PHP, without having to install and configure each version manually.
CyberPanel also comes with a variety of tools and features that make it easy to manage websites, domains, email accounts, and more. For example, it includes a file manager that allows users to upload, download, and edit files directly from the control panel, as well as a one-click installer for popular web applications like WordPress, Joomla, and Drupal.
Overall, CyberPanel is a powerful and user-friendly web hosting control panel that is well-suited for both experienced web hosting providers and beginners who are just getting started with web hosting. With its powerful features and intuitive interface, it is a popular choice for anyone who wants to host websites and manage their online presence with ease.
System Requirements for CyberPanel
Before installing CyberPanel, it is important to ensure that your server meets the minimum system requirements. The following table outlines the recommended system requirements for CyberPanel:
Requirement | Minimum |
---|---|
Operating System | Ubuntu 20.04, Ubuntu 22.04, CloudLinux 7, CloudLinux 8, AlmaLinux 8 |
RAM | 1024MB or higher |
Disk Space | 10GB or higher |
Python | 3.x |
It is important to note that CyberPanel is designed to work with the OpenLiteSpeed web server. Therefore, it is recommended to have OpenLiteSpeed installed before installing CyberPanel.
In addition to the above requirements, it is also recommended to have a basic understanding of Linux command-line interface (CLI) and server administration.
If you are unsure whether your server meets the minimum system requirements, you can check your server’s specifications using the following commands:
- To check the operating system version:
lsb_release -a
- To check the available RAM:
free -h
- To check the available disk space:
df -h
- To check the Python version:
python3 --version
By ensuring that your server meets the minimum system requirements, you can ensure a smooth installation and optimal performance of CyberPanel.
Downloading Cyberpanel
To download CyberPanel, users need to visit the official website of CyberPanel. The website provides users with two options: CyberPanel Enterprise and CyberPanel OpenLiteSpeed. CyberPanel Enterprise is a paid version that comes with premium features like LiteSpeed Enterprise, advanced security, and many more. CyberPanel OpenLiteSpeed is a free version that comes with an OpenLiteSpeed web server and limited features.
After selecting the desired version, users can download the installation file from the website. The installation file is in the form of a shell script that can be executed on the server using SSH. The shell script will install all the necessary packages and dependencies required for CyberPanel to run smoothly.
It is important to note that CyberPanel supports only a few operating systems like Ubuntu, CentOS, and AlmaLinux. Before downloading the installation file, users must ensure that their server is running one of the supported operating systems.
Once the installation file is downloaded, users can proceed with the installation process. The installation process is straightforward and can be completed within a few minutes. However, users must have basic knowledge of SSH and Linux commands to install CyberPanel.
In conclusion, downloading CyberPanel is a simple process that can be completed by visiting the official website of CyberPanel and selecting the desired version. Users must ensure that their server is running one of the supported operating systems before downloading the installation file. The installation process is straightforward and can be completed within a few minutes.
Cyberpanel Installation Process
Installing CyberPanel is a straightforward process that can be completed in four easy steps. Before starting the installation process, ensure that your server meets the minimum system requirements.
Step 1: Accessing the Command Line
To begin the installation process, log in to your server via SSH as the root user. If you do not have SSH access, contact your web host to obtain the login details. Once logged in, update the packages by running the following command:
sudo apt update && sudo apt upgrade -y
Step 2: Running the Installation Script
After updating the packages, run the CyberPanel installation script by running the following command:
sh <(curl https://cyberpanel.net/install.sh || wget -O - https://cyberpanel.net/install.sh)
This command will download and run the installation script. The installation process will take a few minutes to complete.
Step 3: Configuration Settings
Once the installation script finishes, you will be prompted to configure CyberPanel. Enter the required information, including the hostname, IP address, and admin email address. You will also need to set a password for the admin account.
It is recommended to use a strong password to ensure the security of your CyberPanel installation.
Step 4: Completing the Installation
After configuring CyberPanel, the installation process will be completed, and you will be provided with the login credentials for the admin account. You can now access CyberPanel by visiting the following URL in your web browser:
https://your-server-hostname:8090
Congratulations! You have successfully installed CyberPanel on your server.
Post-Installation Setup
After successfully installing CyberPanel, there are a few steps to take to set up the server and start creating websites. This section will cover the necessary post-installation setup steps.
Accessing the CyberPanel Dashboard
To access the CyberPanel dashboard, open a web browser and navigate to the server’s IP address followed by :8090
. For example, if the server’s IP address is 192.168.1.100, the dashboard can be accessed by entering http://192.168.1.100:8090 in the browser’s address bar.
Once the dashboard is accessed, the user will be prompted to log in with the root username and password used during installation.
Setting Up the Server
After accessing the dashboard, the first step is to set up the server. This includes configuring the firewall, setting up email, and configuring backups.
Firewall Configuration
CyberPanel comes with a built-in firewall that can be configured through the dashboard. To access the firewall configuration, click on the Firewall
tab in the left-hand menu. From here, the user can add rules to allow or block traffic to specific ports or IP addresses.
Email Configuration
To set up email, click on the Email
tab in the left-hand menu. From here, the user can add email accounts and configure the email server settings.
Backup Configuration
To configure backups, click on the Backups
tab in the left-hand menu. From here, the user can set up automatic backups and configure the backup destination.
Creating a New Website
After setting up the server, the next step is to create a new website. This can be done through the dashboard by clicking on the Websites
tab in the left-hand menu and then click on the Create Website
button.
From here, the user can enter the domain name, select the web server (OpenLiteSpeed or Apache), and choose the PHP version. Once the website is created, the user can upload files and configure the website settings.
In conclusion, the post-installation setup of CyberPanel is a straightforward process that involves accessing the dashboard, setting up the server, and creating a new website. By following these steps, users can have their server up and running in no time.
Troubleshooting Common Issues
Despite being a straightforward process, installing CyberPanel may sometimes present some challenges. Here are some of the most common issues and how to fix them.
CyberPanel Installation Fails
If the CyberPanel installation fails, there could be several reasons why. One reason could be that the server does not meet the minimum requirements. Ensure that the server has the required RAM, CPU, and disk space. Another reason could be that the installation script is outdated. Ensure that you are using the latest version of the installation script.
Cannot Access CyberPanel
If you cannot access CyberPanel, it could be due to several reasons. One reason could be that the firewall is blocking access to CyberPanel. Ensure that the firewall is configured to allow access to CyberPanel. Another reason could be that the CyberPanel service is not running. Ensure that the CyberPanel service is running by checking the service status.
CyberPanel is Slow
If CyberPanel is slow, it could be due to several reasons. One reason could be that the server is overloaded. Ensure that the server has enough resources to handle the workload. Another reason could be that the database is overloaded. Ensure that the database is optimized and that there are no unnecessary queries.
CyberPanel Cannot Send Emails
If CyberPanel cannot send emails, it could be due to several reasons. One reason could be that the email server is not configured correctly. Ensure that the email server is configured correctly and that the correct SMTP settings are used. Another reason could be that the email server is blacklisted. Ensure that the email server is not blacklisted by checking the email server’s reputation.
CyberPanel Cannot Create Backups
If CyberPanel cannot create backups, it could be due to several reasons. One reason could be that the backup destination is not configured correctly. Ensure that the backup destination is configured correctly and that there is enough space to store the backups. Another reason could be that the backup process is interrupted. Ensure that the backup process is not interrupted by checking the logs.
CyberPanel Cannot Resolve DNS
If CyberPanel cannot resolve DNS, it could be due to several reasons. One reason could be that the DNS server is not configured correctly. Ensure that the DNS server is configured correctly and that the correct DNS settings are used. Another reason could be that the DNS server is down. Ensure that the DNS server is up and running by checking the DNS server’s status.
CyberPanel Cannot Install Packages
If CyberPanel cannot install packages, it could be due to several reasons. One reason could be that the package repository is down. Ensure that the package repository is up and running by checking the repository’s status. Another reason could be that the package dependencies are not met. Ensure that the package dependencies are met by installing the required packages.
Uninstalling Cyberpanel
If for any reason, the user decides to uninstall CyberPanel, there are a few steps that need to be followed.
Firstly, the user needs to stop all the services related to CyberPanel. This can be done by running the following command:
systemctl stop lsws
systemctl stop mariadb
systemctl stop postfix
systemctl stop memcached
systemctl stop redis
systemctl stop fail2ban
systemctl stop firewalld
Once all the services have been stopped, the user can proceed with the uninstallation process. The recommended method to uninstall CyberPanel is to reinstall the operating system. This ensures that all the files and services related to CyberPanel are completely removed from the system.
Alternatively, the user can also manually remove CyberPanel and its associated services or apps. However, this process is not recommended as it can lead to issues with the system.
In case the user faces any issues during the uninstallation process, they can refer to the CyberPanel Community forum for assistance. The forum has a dedicated section for uninstalling CyberPanel, where users can post their queries and get help from the community.
Overall, the uninstallation process for CyberPanel is straightforward and can be completed in a few simple steps.
Frequently Asked Questions
What are the requirements for installing CyberPanel?
To install CyberPanel, you need to have a server with CentOS 7.x, CentOS 8.x, Ubuntu 18.04, Ubuntu 20.04, or AlmaLinux 8 operating system. You also need to have root access to the server and at least 1GB of RAM.
How do I install CyberPanel on CentOS 8?
To install CyberPanel on CentOS 8, you need to connect to your server via SSH as the root user and execute the following commands:
dnf install -y wget
wget -O installer.sh https://cyberpanel.net/install.sh
sh installer.sh
Can I reinstall CyberPanel?
Yes, you can reinstall CyberPanel by executing the installation script again. However, it is recommended to take a backup of your data before reinstalling CyberPanel.
Is there a CyberPanel demo available?
Yes, there is a CyberPanel demo available on the official CyberPanel website. You can access the demo by visiting the following URL: https://demo.cyberpanel.net/
What is the CyberPanel app installer?
The CyberPanel app installer is a feature that allows you to install popular web applications such as WordPress, Joomla, and Drupal with just a few clicks. The app installer also takes care of the necessary configurations and updates.
How do I uninstall CyberPanel on Ubuntu?
To uninstall CyberPanel on Ubuntu, you need to connect to your server via SSH as the root user and execute the following commands:
systemctl stop lscpd
systemctl disable lscpd
systemctl stop lsws
systemctl disable lsws
rm -rf /usr/local/lsws
rm -rf /usr/local/lscp
rm -rf /etc/lsws
rm -rf /etc/lscp