21.6 C
Texas
angeloma
Senior Writer and partner

How to install Cyberpanel on CentOS 8?

Hello, friends. This useful tool will help you to install CyberPanel on CentOS 8

In short, Cyberpanel is a hosting administration panel that uses OpenLiteSpeed as a server. On the other hand, CyberPanel comes with two versions one is simply called CyberPanel and the other is Called CyberPanel Ent. CyberPanel comes with OpenLiteSpeed and is completely free for an unlimited number of domains and worker processes.

One of the characteristics of CyberPanel is that it is relatively new but very well built with open source technologies such as Git or MariaDB.

Install CyberPanel on CentOS 8

The installation of CyberPanel is quite simple thanks to the assisted installation script provided. This makes it feasible to be implemented by anyone with basic knowledge of CentOS 8

- Advertisement -

So, connect to your server using SSH and log in as root

su

And it updates the distribution:

dnf update

And with the wget command download the installation script:

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

Then, assign the corresponding permissions and execution:

chmod 755 install.sh

And run it with the following command:

sh install.sh

After the system is analyzed, you will see the following screen output:

CyberPanel Installer v2.03
Install CyberPanel.
Addons and Miscellaneous
Exit.
Please enter the number[1-3]:

Choose option 1 to start.

You will then be prompted for an analysis of the system resources such as the amount of RAM available and so on. Also, you have to choose whether to install CyberPanel with OpenLiteSpeed or with LiteSpeed Enterprise.

CyberPanel Installer v2.03
RAM check : 140/666MB (21.02%)
Disk check : 1/23GB (8%) (Minimal 10GB free space)
Install CyberPanel with OpenLiteSpeed.
Install Cyberpanel with LiteSpeed Enterprise.
Exit.
Please enter the number[1-3]

Choose option 1.

Then you will be asked if you want to install all the CyberPanel services. Press the Y

Install Full service for CyberPanel? This will include PowerDNS, Postfix and Pure-FTPd.
Full installation [Y/n]

Then, you can choose whether to set up a remote MySQL or not

Do you want to setup Remote MySQL? (This will skip installation of local MySQL)
(Default = No) Remote MySQL [y/N]:

By pressing Enter you can choose to install the latest version or specify one

Press Enter key to continue with latest version or Enter specific version such as: 1.9.4 , 2.0.1 , 2.0.2 …etc

Now it’s time to create the administrator account. You can manually specify, generate one or use the default credentials. I will use the default credentials because this can be changed later

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]

Then, enable the Memcached extension

Do you wish to install Memcached extension and backend?
Please select [Y/n]

Then it’s Redis’ turn

Do you wish to install Redis extension and backend?
Please select [Y/n]:

Finally, enable Watchdog.

Would you like to set up a WatchDog (beta) for Web service and Database service ?
The watchdog script will be automatically started up after installation and server reboot
If you want to kill the watchdog , run watchdog kill
Please type Yes or no (with capital Y, default Yes):

After that, the whole installation will start, which, as it is very long, will take a little while.

In the end, you will see the next output on the screen:

#
CyberPanel Successfully Installed
.
.
. 

Then you have to work with the firewall and open the necessary ports:

sudo firewall-cmd --permanent --add-port=8090/tcp
sudo firewall-cmd --permanent --add-port=80/tcp
sudo firewall-cmd --permanent --add-port=443/tcp
sudo firewall-cmd --permanent --add-port=443/udp
sudo firewall-cmd --permanent --add-port=21/tcp
sudo firewall-cmd --permanent --add-port=40110-40210/tcp
sudo firewall-cmd --permanent --add-port=25/tcp
sudo firewall-cmd --permanent --add-port=587/tcp
sudo firewall-cmd --permanent --add-port=465/tcp
sudo firewall-cmd --permanent --add-port=110/tcp
sudo firewall-cmd --permanent --add-port=143/tcp
sudo firewall-cmd --permanent --add-port=993/tcp
sudo firewall-cmd --permanent --add-port=53/tcp
sudo firewall-cmd --permanent --add-port=53/udp
sudo firewall-cmd --reload

Now we are ready to make use of CyberPanel.

Access to CyberPanel

Open your favorite web browser and go to https://yourserver:8090 and you will see the panel login screen

1.- CyberPanel login screen
1.- CyberPanel login screen

Now enter your credentials and you will see the dashboard. Remember that if you did not change the default credentials, then they are admin and 1234567 as password.

2.- CyberPanel on CentOS 8
2.- CyberPanel on CentOS 8

Now if you will be able to access CyberPanel

By clicking on the user button and then on Modify User you can change the password of the administrator user as well as other information about him/her.

3.- Modify user screen
3.- Modify user screen

So, enjoy it.

Conclusion

A tool like CyberPanel can be fundamental for the remote administration of servers in the world. The installation is quite easy if we take into account all that it offers.

- Advertisement -
Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
Subscribe
"The best Linux newsletter on the web"

LEAVE A REPLY

Please enter your comment!
Please enter your name here



Latest article