Install CyberPanel Control Panel on CentOS 7 VPS – CyberPanel is a free and open-source web hosting control panel that uses the OpenLiteSpeed webserver. It is available in two versions of the free and enterprise versions. The free version uses the OpenLiteSpeed web server while the enterprise version uses LSWS. CyberPanel comes with a rich set of features including, Docker support, AutoSSL, Backup and Restore, CSF Firewall, Git, Multiple PHP, and many more.

In this tutorial, we will learn how to install CyberPanel on CentOS 7 VPS.

This tutorial about how to install CyberPanel on CentOS 7 VPS.

Requirements

  • A new CentOS 7 server with a minimum of Two GB RAM.
  • An Active domain name is pointed with your VPS IP address.
  • A root password is set up on your VPS.

Let’s get Started Basic Setup

Firstly, you will need to disable Selinux on your server. You can do this by editing /etc/SELinux/config file:

nano /etc/selinux/config

You will see the result like below

SELINUX=disabled
SELINUXTYPE=targeted

Save the file. Then, restart your server to apply the changes.

Next, you will need to set the hostname of your server. In this case, we will set a fully qualified domain name (FQDN) in /etc/hosts before we go further. You can set it by editing /etc/hosts file:

nano /etc/hosts

Add the below line at the end of the file:

your-server-ip test.linuxbuz.com test

Now save the file. Then, run the below command to apply the configuration changes:

hostname -f

CyberPanel Installation

Firstly, you will need to download CyberPanel auto-installer script from their official website:

wget https://cyberpanel.net/install.sh

After download, you will start the installation using the following command:

bash install.sh

You should see the below output:

Checking and installing curl and wget
No argument detected...
Checking root privileges...
You are runing on root...
Checking OS...
Detecting CentOS 7.X...


Pre-flight check completed...
Process check completed...

CyberPanel Installer v2.0
    1 Install CyberPanel.
    2 Install Addons.
    3 Exit.
Please enter the number[1-3]: 1

Hit 1 and enter to install CyberPanel. You should see the below output:

CyberPanel Installer v2.0
RAM check : 60/1831MB (3.28%)
Disk check : 1/20GB (8%) (Minimal 10GB free space)
1 Install CyberPanel with OpenLiteSpeed.
2 Install Cyberpanel with LiteSpeed Enterprise.
3 Exit.

Again Select 1 and hit enter to install CyberPanel with OpenLiteSpeed. You should see the below output:


Please choose to use default admin password 1234567, randomly generate one (recommended) or specify the admin password?
Choose [d]fault, [r]andom or [s]et password: [d/r/s] d

Admin password will be set as 1234567

Type d and press enter button to use the default admin password. You should see the below output:


Replace JS/CSS files to JS Delivr?
This may improve panel loading speed in Asia Pacific region...
Please select [y/N]: y

Install Memcached extension for PHP?
Please select [y/N]: y

Install LiteSpeed Memcached?
Please select [y/N]: y

Install Redis extension for PHP?
Please select [y/N]: y

Install Redis?
Please select [y/N]: y

Next, type y for all other options. Once the installation has been completed successfully, you should see the below output:


###################################################################

CyberPanel Successfully Installed

Current Disk usage : 4/20GB (22%)

Current RAM usage : 264/1831MB (14.42%)

Installation time : 0 hrs 15 min 2 sec

Visit: https://00.100.00.000:8090
Panel username: admin
Panel password: 1234567

Please change your default admin password
If you need to reset your panel password, please run:
adminPass YOUR_NEW_PASSWORD

If you change mysql password, please modify file in
/etc/cyberpanel/mysqlPassword with new password as well

Website : https://www.cyberpanel.net
Forums : https://forums.cyberpanel.net
Wikipage: https://docs.cyberpanel.net

Enjoy your accelerated Internet by

CyberPanel & OpenLiteSpeed

###################################################################

If your provider has a network-level firewall
Please make sure you have opened following port for both in/out:
TCP: 8090 for CyberPanel
TCP: 80, TCP: 443 and UDP: 443 for webserver
TCP: 21 and TCP: 40110-40210 for FTP
TCP: 25, TCP: 587, TCP: 465, TCP: 110, TCP: 143 and TCP: 993 for mail service
TCP: 53 and UDP: 53 for DNS service

Now you can Access CyberPanel

Now, open your web browser and type the URL https://your-ip-address:8090. You will be redirected to the following page: