In this tutorial, we will explain how to install and configure CyberPanel on a Cybree instance with CentOS 8.
Prerequisites
- Deploy a Cybree Instance with CentOS 8 image.
- Connect to your instance via Cybree VNC terminal, or use other terminal (such as Putty SSH) to connect your instance
- Login to account with sudo or root privileges. The default Centos administrator login name is
root
Step 1: Update Package Repository Cache
-
Before you start building the stack, be sure to update the packages on your CentOS 8 server using the command:
dnf update -y
-
Wait a few minute to download and process until it prompts "Complete!"
Step 2: Edit PIP
-
We need to edit pip.conf. Use vi or your favorite editor
vi ~/.pip/pip.conf
-
In the
pip.conf
, removeindex-url = https://pypi.internal-mirrors.ucloud.cn/simple
-
and replace with:
index-url = https://pypi.douban.com/simple
-
then save the
pip.conf
file
Step 3: Install Cyberpanel
-
Download and run the cyberpanel
install.sh
wget https://cyberpanel.net/install.sh bash install.sh
-
During the installation, you will be prompted for several questions, as shown below:
Detecting Centos 8...
Initializing...
Valid IP detected...
Checking server...
Checking OS...
Detecting CentOS 8.X...
Checking virtualization type...
Checking root privileges...
You are runing as root...
CyberPanel Installer v2.01
1. Install CyberPanel.
2. Addons and Miscellaneous
3. Exit.
Please enter the number[1-3]: 1
- We want to install CyberPanel, so enter the number 1 and then hit [Enter] to install CyberPanel. And also follows the instruction to install with default or your own custom settings
- When the setup completes, you will see the follow screen
########################################################
CyberPanel Successfully Installed
Current Disk usage : 7/40GB (19%)
Current RAM usage : 306/882MB (34.69%)
Installation time : 0 hrs 36 min 0 sec
Visit: https://your-server-ip:8090
Panel username: admin
Panel password: 1234567
Visit: https://your-server-ip:7080
WebAdmin console username: admin
WebAdmin console password: kFC8GB5uD48acTRA
Visit: https://your-server-ip:8090/rainloop/?admin
Rainloop Admin username: admin
Rainloop Admin password: XT16PshuMxxdkW
Run cyberpanel help to get FAQ info
Run cyberpanel upgrade to upgrade it to latest version.
Run cyberpanel utility to access some handy tools .
Website : https://www.cyberpanel.net
Forums : https://forums.cyberpanel.net
Wikipage: https://docs.cyberpanel.net
Docs : https://cyberpanel.net/docs/
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
Would you like to restart your server now? [y/N]:
-
Next, type y and hit [Enter] to configure the Firewall and restart your server.
-
Note: Please remember the CyberPanel and WebAdmin panel username and password from the above output.
Step 4. Access the CyberPanel Web UI
- At this point, we have installed and configured CyberPanel and it’s now listening on port 8090. You can access it using the URL
https://your-server-ip:8090
. You will be redirected to the CyberPanel login page
- Provide your admin username, password and click on the Sign in button. You should see the CyberPanel dashboard in the following screen: