By Abdulaziz Gebril, Alibaba Cloud Community Blog author.
CyberPanel is a next generation hosting control panel powered by OpenLiteSpeed. Built for speed, security, and reliability, CyberPanel automatically comes with builtin support for DNS, FTP, Databases, Email, File Manager, automatic SSL, and many other features, all this is free.
CyberPanel gives you the control of your hosting environment and allows you to host your websites in a more easy manner, yet CyberPanel also boasts a high performance with an event-driven architecture that is super light weight with a minimal CPU and memory footprint.
In this tutorial, you learn how to set up the CyberPanel Control Panel on your server running in the cloud.
Don't have Alibaba Cloud account yet? Sign up to get $300 - $1200 Worth of Free Trial for your new Alibaba Cloud account.
In this tutorial, you need a server that is installed with either Ubuntu 18 or CentOS 7. You will update it in this tutorial. You will also need to set up a static IP address for your server and inbound and outbound firewall rules. For this tutorial, you will need at least 10GB free disk space.
We need to ensure that your server is up to date by using one of the following commands:
apt-get -y update.
yum -y update.
We need to install Wget, which we will use to download CyberPanel Control Panel installer to your server and nano as a text editor by using one of the following commands:
apt-get -y install wget nano.
yum -y install wget nano.
Firewall rules define what kind of Internet traffic is permitted or blocked. You can think of it as an additional protection layer provided by your hosting provider to take control of your traffic.
If your hosting provider asks you to configure the firewall rules of your traffic (Skip if not), you have to configure your firewall rules to allow your traffic through their network for the following ports:
20 – FTP 21 – FTP 22 – SSH 25 – SMTP/EMAIL 43 – WHOIS 53 – BIND/DNS 80 – HTTP / Apache Web server 110 – POP3/EMAIL 143 – IMAP 443 – HTTPS / Apache Web server SSL 465 – SMTP/EMAIL SSL/TLS 587 - SMTPS 873 – RSYNC 993 – IMAP/EMAIL SSL 995 – POP3/EMAIL SSL 8090 – CyberPanel Panel 7080 - WebAdmin 3306 – MYSQL
For Alibaba Cloud customers, you can do that by Creating a security group and Adding security group rules to allow connections on these ports.
Now you can start CyberPanel Control Panel Installation by running the following command:
cd /usr/local/src && wget https://cyberpanel.net/install.sh && sh install.sh
You should see something like below, Select 1 for Install CyberPanel and press the Enter key.
CyberPanel comes with OpenLiteSpeed and is totally free for unlimited domains, while CyberPanel with LiteSpeed Web Server Enterprise is free for 1 domain.
In this tutorial, we are going to install CyberPanel with OpenLiteSpeed, which is totally free and does not requires any kind of license.
You should see something like below, select 1 to Install CyberPanel with OpenLiteSpeed, and press the Enter key.
Next, you will be asked about choosing the admin password, for now we are going to use the default password and we will change it later among with some other info.
Type d to use the default admin password, then press the Enter key.
Selected y (yes) for the next following questions (recommended).
The installation of CyberPanel is pretty easy since the installer will automatically install all the required packages and you don't need to do anything, but it may run more than 15 minutes because it needs to compile and install a large number of packages.
Once the installation is done you should see something like this:
You will be provided with an URL to access the panel like:
Log in to your CyberPanel Control Panel using that link, Enter admin for the username and 1234567 for the password and select your preferred language.
After successfully entering the panel, you should see something like:
Find and click on Edit profile like below:
Now select admin account, Change Name, Email address and Admin password, then click *the Modify User* button.
Docker uses containerization technology to make it easy and simple to deploy and run applications. Docker packaging the application code along with all the libraries and dependencies it needs to run. Once the application is packaged, it will run in any environment where docker is available.
CyberPanel provides you an easy way to handle your docker container and images. Docker is not installed by default during the installation of CyberPanel.
You can install it: From the left menu, click on Docker Manager, then click any link such as Manage Containers, and it will redirect you to installation page like below:
Click Install Docker to start the installation process, it may take a few minutes. Once installation is completed, the page will auto-refresh. You are now ready to manage docker images and containers.
MySQL root password:
To find out the password of your MySQL root, use the following command:
If you want to change your MySQL root password at anytime, you can do that by using the command below:
Change the password, save the file and exit. You will also need to update the password in the settings file that is located at /usr/local/CyberCP/CyberCP/settings.py file under rootdb entry by using the command below:
Once done, run the following command:
systemctl restart lscpd
CyberPanel comes with User-friendly WebAdmin GUI, you should spend some time exploring the features, options and settings of your CyberPanel Web Panel. Enjoy!
2,626 posts | 711 followersFollow
Alibaba Clouder - August 2, 2019
Alibaba Clouder - August 22, 2018
Alibaba Clouder - May 15, 2018
Alibaba Clouder - July 2, 2019
Alibaba Clouder - February 18, 2019
Alibaba Clouder - May 16, 2018
If you are getting wordpress 404 and Database creation error while installing then You need to update password of PHPMyAdmin and map that password with CyberPanel backend to work properly, please check the screenshot how to fix this, Solve Database Creating issue in Cyberpanel, https://nextgenai.cloud/how-to-change-cyberpanel-admin-and-root-password-safely/
2,626 posts | 711 followersFollow
An online computing service that offers elastic and secure virtual cloud servers to cater all your cloud hosting needs.Learn More
Automate performance monitoring of all your web resources and applications in real-timeLearn More
An on-demand database hosting service for MySQL, SQL Server and PostgreSQL with automated monitoring, backup and disaster recovery capabilitiesLearn More
More Posts by Alibaba Clouder
ColdEgg April 3, 2020 at 6:07 pm
It's available on Marketplace now, so everyone can just lunch and play it on Ubuntu 18. https://marketplace.alibabacloud.com/products/56720001/sgcmjj00024863.html