How to Install Cyberpanel on Centos 7

Introduction

CyberPanel is a web hosting control panel powered by OpenLiteSpeed. This guide describes how to install CyberPanel on CentOS 7. This guide uses 192.0.2.123 as an example IP address.

Prerequisites

To install CyberPanel, you need root access to a Vultr VPS running CentOS 7 (64-bit).

Installation

Update the packages installed on the system:

# yum update -y

Download the install script.

# wget -O installer.sh https://cyberpanel.net/install.sh

Make the script executable and run installer.sh.

# chmod 755 installer.sh
# sh installer.sh

Type 1 and ENTER to install CyberPanel

            CyberPanel Installer v2.00

1. Install CyberPanel.
2. Addons and Miscellaneous
3. Exit.

Please enter the number[1-3]:

Type 1 and ENTER to install CyberPanel with OpenLightSpeed.

            CyberPanel Installer v2.0

RAM check : 71/487MB (14.58%) 
Disk check : 1/20GB (7%) (Minimal 10GB free space)

1. Install CyberPanel with OpenLiteSpeed.
2. Install Cyberpanel with LiteSpeed Enterprise.
3. Exit.

Please enter the number[1-3]: 

Type Y and ENTER to select the full installation.

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

Type ENTER to select the latest version.

Press Enter key to continue with latest version or 
Enter specific version such as: 1.9.4 , 1.9.5 ...etc

Choose the default password, a random password, or set your own password by typing D, or R, or S. Then type ENTER.

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]

Type Y and ENTER to install Memcached.

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

Type Y and ENTER to install Redis.

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

Type Yes to start 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):

The script will install CyberPanel, along with its extensions. When finished, the script will display your administrator details.

Configure Firewall

Verify the OS firewall and the Vultr firewall are both open for inbound and outbound on the following ports:

  • 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

If AWS EC2/Lighsai

https://lightsail.aws.amazon.com/ls/webapp/home/instances, check Networking (IPv4 / IPv6)

Application Protocol Port or range / Code Restricted to
SSH TCP 22 Any IPv4 address
Lightsail browser SSH/RDP
Custom TCP 25 Any IPv4 address
DNS (TCP) TCP 53 Any IPv4 address
HTTP TCP 80 Any IPv4 address
Custom TCP 110 Any IPv4 address
Custom TCP 143 Any IPv4 address
HTTPS TCP 443 Any IPv4 address
Custom TCP 465 Any IPv4 address
Custom TCP 587 Any IPv4 address
Custom TCP 993 Any IPv4 address
MySQL/Aurora TCP 3306 Any IPv4 address
Custom TCP 8090 Any IPv4 address
DNS (UDP) UDP 53 Any IPv4 address
Custom UDP 443 Any IPv4 address

Configure CyberPanel

  1. Visit your server’s IP address at port 8090. For example: https://192.0.2.123:8090. You will see an admin login.
  2. Enter admin for the username and 1234567 for the password.
  3. Click on the user-menu arrow, next to the name “Cyber Pan”.
  4. Choose Edit Profile.
  5. Select admin in the dropdown menu on the Modify User page.
  6. You may now change the first name, last name, email address and password accordingly.

You’ve successfully installed CyberPanel.

User root MySql

root
cat /etc/cyberpanel/mysqlpassword

If change Password via phpmyAdmin (Loss automatic credential in Cyberpanel)

 

 

Katen Doe

Katen Doe

Hello, I’m a content writer who is fascinated by content fashion, celebrity and lifestyle. She helps clients bring the right content to the right people.

Press ESC to close