👨‍đŸ’ģInstall Cyber Panel on EC2 Instance

Introduction

What is CyberPanel

CyberPanel is one of the best hosting control panels for VPS management. This hosting control panel is open source, uses the free OpenLiteSpeed ​​web server and has a user friendly interface. For its origins, CyberPanel became known among webmasters in 2018 as an alternative to cPanel.

CyberPanel Advantages

  1. User Friendly manager interface

  2. Light and fast due to OpenLiteSpeed ​​(free) and LiteSpeed ​​Enterprise (paid) support.

  3. Has a Backup-Restore feature.

  4. Multi PHP support.

  5. Supports Apache .htaccess

  6. Free and paid (Enterprise) versions available.

  7. Easy installation process.

  8. The WebMail interface is interesting because it uses Rainloop.

Disadvantages of CyberPanel

  1. The username in the web panel is different from the Linux username.

This deficiency will become a problem when an error occurs in the database, if suddenly MySQL crashes then CyberPanel cannot be used. This problem can be solved by logging in as root.

  1. DNS Zone is not completely automatic.

Currently CyberPanel DNS zones are not fully automated when we add sites. There are several vulnerable entries for this DNS zone that should be aware of when adding name servers.

  1. Needs adjustment for new users, especially for those who are used to using cPanel or Plesk.


Configuration AWS

Network Border GroupInfo: us-east-1
Public IPv4 address pool: Amazon's pool of IPv4 addresses

(Add New Tag)
Key: Name
Value: IP-CyberPanel
"Allocate"

Elastic IP is a Public IP address belonging to Amazon Web Service which is useful so that all the Public IPs of our resources will not change over time.

Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides secure, scalable computing capacity in the cloud. Amazon EC2 offers many options that help you build and run almost any application. With these possibilities, EC2 can be started quickly and easily.

Associate Elastic IP to EC2 CyberPanel

Go to the Elastic IP menu then click "Action > Associate Elastic IP Address"


Configuration EC2

SSH to EC2 Instance

Open a terminal application (putty, gitbash, cmd or any other)

cd Downloads
ssh -i pem-rizwan.pem ubuntu@<ip-addr-pub-ec2>

Update Repository

sudo -i
apt update && apt upgrade -y

Install CyberPanel

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

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

1. Install CyberPanel with OpenLiteSpeed.
2. Install Cyberpanel with LiteSpeed Enterprise.
3. Exit.
Please enter the number[1-3]: 1

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

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

Press Enter key to continue with latest version or Enter specific version such as: 1.9.4 , 2.0.1 , 2.0. 2 ...etc
Branch name set to v2.3.5

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]
Admin password will be provided once installation is completed...

Do you wish to install Memcached process and its PHP extension?
Please select [Y/n]: y
Do you wish to install Redis process and its PHP extension?
Please select [Y/n]: y

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): y

Change RootPassword For CyberPanel

adminPass <password>
adminPass TJKT123

Configuration is Complete

Access CyberPanel Dashboard with the address http://ip-addr-pub-ec2:8090

http://44.218.204.5:8090

username: admin
password: TJKT123

Last updated