Arama Yap Mesaj Gönder
Biz Sizi Arayalım
+90
X
X
X
X

Knowledge Base

Homepage Knowledge Base General CyberPanel Detailed Installation an...

Bize Ulaşın

Konum Halkalı merkez mahallesi fatih cd ozgur apt no 46 , Küçükçekmece , İstanbul , 34303 , TR

CyberPanel Detailed Installation and Initial Setup

What is CyberPanel and Why Should I Use It?

CyberPanel is an open-source web hosting control panel. It has gained popularity, especially due to its integrated operation with LiteSpeed Web Server, performance enhancement, and free availability. One of the biggest advantages of CyberPanel is its easy-to-use interface and rich features. If you want to run a high-performance website or application and have a limited budget, CyberPanel may be the ideal solution for you.

  • Free and Open Source: CyberPanel can be used without any fees, and its source codes are accessible.
  • LiteSpeed Web Server Integration: LiteSpeed is a web server that is faster and consumes fewer resources than Apache and Nginx. CyberPanel works perfectly with LiteSpeed.
  • Easy to Use: CyberPanel's user-friendly interface allows you to easily manage your websites.
  • Rich Features: It includes many features such as email management, DNS management, SSL certificate installation, backup, and restore.

How to Install CyberPanel?

CyberPanel installation is quite simple. The installation can usually be completed with a single command. However, it is important to ensure that your server meets the requirements before installation. For example, you need a clean operating system (CentOS, Ubuntu, or AlmaLinux is recommended) and at least 1 GB of RAM.

Step 1: Connect to the Server

First, connect to your server via SSH. You can use an SSH client (e.g., PuTTY or Terminal) for the connection.

ssh root@server_ip_address

Step 2: Run the CyberPanel Installation Command

After connecting to the server, start the CyberPanel installation by running the following command:

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

Step 3: Determine Installation Options

You will be asked some questions during the installation. It is usually sufficient to accept the default options. However, if you want to use the LiteSpeed Enterprise version, you can select the relevant option. Remember, LiteSpeed Enterprise is a paid version.

Step 4: Complete the Installation

After the installation is complete, your CyberPanel access information will be printed on the screen. Keep this information in a safe place. You can usually access CyberPanel via port 8090 (e.g., `http://server_ip_address:8090`).

Important Note: If you encounter any issues during installation, you can review the documentation on the official CyberPanel website. You can also ask for help in the CyberPanel forums.

What Should Be the Initial Settings in CyberPanel?

After the CyberPanel installation is complete, there are some basic settings you should make first. These settings will help you increase the security and performance of your server.

Step 1: Configure the Firewall

CyberPanel comes with CSF (ConfigServer Security & Firewall) by default. CSF is a powerful firewall that protects your server from various attacks. You can use the CyberPanel interface to enable and configure CSF.

Step 2: Change the SSH Port

Changing the SSH port (default is 22) to a different port can significantly increase the security of your server. This way, you can protect yourself from brute-force attacks by automated bots.

To change the SSH port, follow these steps:

  1. Connect to your server via SSH.
  2. Open the `/etc/ssh/sshd_config` file with a text editor (e.g., `nano /etc/ssh/sshd_config`).
  3. Find the `Port 22` line and replace 22 with a different port number (e.g., `Port 2222`).
  4. Save and close the file.
  5. Restart the SSH service (`systemctl restart sshd`).
  6. Don't forget to open the new port in your firewall.

Step 3: Disable Root Access

Disabling direct SSH access with the root user is another important way to increase the security of your server. Instead, create a normal user and give it sudo privileges.

To disable root access, follow these steps:

  1. Connect to your server via SSH.
  2. Open the `/etc/ssh/sshd_config` file with a text editor.
  3. Find the `PermitRootLogin yes` line and change it to `PermitRootLogin no`.
  4. Save and close the file.
  5. Restart the SSH service (`systemctl restart sshd`).

Step 4: Check for Updates

Make sure CyberPanel and system packages are up to date. Updates close security vulnerabilities and improve performance.

You can use the following commands to check for updates:

yum update  # For CentOS
apt update && apt upgrade # For Ubuntu/Debian

Step 5: Configure Backup Settings

Backing up your data regularly is the best way to prevent data loss in the event of a disaster (such as hardware failure or attack). CyberPanel offers an automatic backup feature. Using this feature, you can regularly back up your websites, databases, and other important files.

How to Create a Website with CyberPanel?

Creating a website with CyberPanel is quite easy. You can create a new website with a few clicks from the CyberPanel interface.

Step 1: Go to the Website Creation Section

In the CyberPanel interface, go to the "Website" section and click the "Create Website" option.

Step 2: Enter Website Information

On the page that opens, enter the necessary information for your website:

  • Package: Select a package for your website (you can use the default package).
  • Owner: Select the user who will be the owner of the website.
  • Domain Name: Enter the domain name of your website.
  • E-mail: Enter an e-mail address.
  • PHP Version: Select a PHP version for your website.
  • Extra Features: You can check the "SSL", "DKIM Support" and "OpenLiteSpeed Cache" options.

Step 3: Create the Website

After entering all the information, click the "Create Website" button. CyberPanel will automatically create your website and make the necessary settings.

CyberPanel and LiteSpeed Cache: How to Increase Performance?

LiteSpeed Cache is a caching plugin developed for LiteSpeed Web Server. LiteSpeed Cache reduces server load and significantly increases the speed of your website by caching the static and dynamic content of your website. CyberPanel works in full integration with LiteSpeed Cache. In this way, you can easily enable and configure LiteSpeed Cache for your websites.

To enable LiteSpeed Cache, follow these steps:

  1. In the CyberPanel interface, go to the management of your website.
  2. In the "Plugins" section, click the "LiteSpeed Cache Manager" option.
  3. Click the "Enable" button.

After enabling LiteSpeed Cache, you can configure the caching settings. Generally, the default settings are sufficient for most websites. However, if you want to make more advanced caching settings, you can review the documentation of LiteSpeed Cache.

If you are getting a CyberPanel Server 500 Error, there may be a problem with your LiteSpeed Cache settings or your server resources may be insufficient. In this case, you should first examine the error logs and determine the source of the problem.

How to Install an SSL Certificate in CyberPanel?

An SSL (Secure Sockets Layer) certificate encrypts the communication between your website and your visitors, ensuring that data is transmitted securely. An SSL certificate not only enhances the security of your website but is also important for SEO (Search Engine Optimization). CyberPanel integrates with Let's Encrypt to facilitate free SSL certificate installation.

To install an SSL certificate, follow these steps:

  1. In the CyberPanel interface, go to the management of your website.
  2. In the "SSL" section, click on the "Issue SSL Certificate" option.
  3. In the "Domain Name" field, select the domain name for which you want to install the SSL certificate.
  4. Enter an email address in the "Email" field.
  5. Click the "Issue SSL Certificate" button.

CyberPanel will automatically obtain an SSL certificate from Let's Encrypt and install it on your website. After the SSL certificate installation is complete, you can access your website via HTTPS.

How to Manage Email Accounts in CyberPanel?

CyberPanel allows you to easily manage your email accounts. You can create new email accounts, edit existing email accounts, and set up email forwarding from the CyberPanel interface.

To create an email account, follow these steps:

  1. In the CyberPanel interface, go to the management of your website.
  2. In the "Email" section, click on the "Email Accounts" option.
  3. Click the "Create Email Account" button.
  4. Enter the email address in the "Email" field (e.g., `[email protected]`).
  5. Enter a password in the "Password" field.
  6. Click the "Create Email Account" button.

To manage your email accounts, you can use CyberPanel's webmail interface. To access the webmail interface, add `/webmail` to the end of your website's domain name (e.g., `http://yourdomain.com/webmail`).

CyberPanel Tips and Tricks

  • Monitor Server Resources: CyberPanel has a tool that allows you to monitor server resources (CPU, RAM, disk usage). By using this tool, you can track your server's performance and identify potential problems in advance.
  • Check Logs: If you encounter a problem with your website or server, checking the logs can help you determine the source of the problem. CyberPanel allows you to easily access your website and server logs.
  • Join the CyberPanel Community: CyberPanel has a large user community. By joining this community, you can get help from other users, share your experiences, and learn more about CyberPanel.
Feature CyberPanel cPanel
License Free (Open Source) Paid
Web Server LiteSpeed (Open Source and Enterprise) Apache
Performance High (Thanks to LiteSpeed) Medium
Ease of Use Easy Easy
Security High (Integrated with CSF) High
Operation Command (Example) Description
Restart Apache systemctl restart httpd Restarts the Apache web server. (If you are using Apache)
Restart LiteSpeed systemctl restart lsws Restarts the LiteSpeed web server.
Restart MySQL systemctl restart mariadb or systemctl restart mysqld Restarts the MySQL or MariaDB database server.
Restart CyberPanel systemctl restart cyberpanel Restarts the CyberPanel control panel.

Can't find the information you are looking for?

Create a Support Ticket
Did you find it useful?
(1707 times viewed / 73 people found it helpful)

Call now to get more detailed information about our products and services.

Top