How to Install CloudPanel Control Panel on Debian 10 Server

CloudPanel is an open-source and free server Control panel, optimal to use on command line Debian Linux servers to manage various web components, for system monitoring and other services like MySQL, NGINX, PHP-FPM, and Redis.

Most of the time hosting services come with a popular WHM Cpanel, however, we have to pay an extra cost for that. Thus, those who have some knowledge of the Linux operating system and command line can use free CloudPanel on various VPS hosting including Public cloud platforms such as Amazon Web Services, Digital Ocean, or Google Cloud.  The good thing is, this open-source Linux server control panel comes with extra functionalities to integrate properly with Public cloud services, aforementioned, to manage their various features. For example:

AWS Cloud Instance Name, Instance ID, Instance Type, Instance Region, and IPv4 Public IP can be seen directly on CloudPanel. In the same way, we can manage AWS Security Groups rules directly from this control without visiting  AWS Management Console including Route 53 and Automatic Backups. The same is also applicable for Digital Ocean and Google Cloud, where after installing CloudPanel we will be able to manage Droplets, Firewall Rules, DNS, and Snapshots.

It is not just limited to this, to mitigate the hassle of issuing the various command, the CloudPanel comes with a web-based, graphical, and user interactive Dashboard, from where we can access Users, Vhost Templates for all common PHP App; multiple PHP Versions; MySQL Database including Amazon RDS or Amazon Aurora; Action Log and more.

CloudPanel also offers a CLI tool that commands can be used on the Server terminal to perform various useful operations such as backing up databases, resetting passwords, permissions; enable Two-Factor Authentication, and other tasks.

It supports English, German, Spanish, Chinese, Italian, and many more languages.

Key features:

  • Web-based graphical Control Panel
  • Easy to install
  • Supports multiple PHP versions
  • NGINX Support
  • Major Public Cloud support
  • Quick Let’s Encrypt Certificates setup
  • Monitoring Graphs
  • phpMyAdmin support to manage MySQL Databases
  • Cron Jobs Management
  • With one Click MySQL, NGINX, PHP-FPM, and Redis services can be restarted
  • Command-line support

 

Steps to install CloudPanel on Debian 10 Buster server

Minimum Server Requirements:

  • Debian server
  • 2 GB Memory
  • One Core CPU
  • 15 GB free disk space
  • root user or sudo access
  • If there is an active firewall, then make sure ports 22, 80, 443, and 8084 are whitelisted or opened.

1. Run system update & upgrade

On your Debian 10 (Buster) Server run the system update and upgrade command which ensures all installed packages of it will have their latest state.

sudo apt updae
sudo apt upgrade

 

3. Install dependencies

Here we need to install wget and curl tools which most of the time come by default on Debian Server Linux distro, however, yet to make sure they are there run the following command.

sudo apt install wget curl

 

2. Install ClouPanel Script on Debian

Now, download and run the CloudPanel script which automatically sets up everything we need for this open-source control panel on Debian Linux such as PHP, MySQL, Nginx, and other components.

curl -sSL https://installer.cloudpanel.io/ce/v1/install.sh | sudo bash

 

3. Create Admin User

Once the installation is completed, you will see your server IP address along with the port flashed on the command terminal. Enter the same in the browser, in short – https://server-ip:8084 replace Server-IP with your Debian server IP address where you have installed CloudPanel.

Enter the asked details…

Create Admin USER on CloudPanel Debian min

 

4.  Login CloudPanel Admin

Use the username and password created in the above steps to log in to the Control Panel.

Login to Cloudpanel Dashboard min

 

5.  Dashboard with Server Monitoring Graph

The first thing after login you will see is the graphs to give information about the Server resources usage such as Memory, CPU, Storage, and Average Load.

CloudPanel Dashboard and server monitor graph

 

6. Add Domain

Now, we have Linux Server and CloudPanel control panel, it’s time to add a domain that we want to use with it. Click on the Domain option given on the left side of the Dashboard.

After that click on the “Add Domain” button.

Add Domain

Type your domain name in the “Domain Name” box, the Document root will set automatically you don’t have to do anything there.

Secondly, select the Vhost Template– There are many pre-built templates for all popular PHP applications such as Joomla, WordPress, Magento, and more. Here we are selecting WordPress. If you want to use some particular PHP version then select that otherwise leave the latest one select, here it is PHP 8.0.
Learn: How to install PHP 8.0 on Ubuntu and Debian.

 

Note: Make sure the Domain name which you are using on CloudPanel, its “A” record has been pointed towards the Ip address of your Debian server or CloudPanel in your DNS management area.

Add new Domain details control panel

 

7. Generate SSL Certificate

Once the domain is set, click on your configured domain name and select the SSL certificates Tab. There you will see an Action button, click it to reveal further options where you need to choose the “New Let’s Encrypt Certificate” option.

SSL Certificate on ClouPanel Debian 10

 

Click on the Create and Install button.

Create a New Lets Encrypt Certificate

 

In few seconds you will see an SSL certificate has been issued and installed for your Domain successfully.

Lets Encrypt on Cloudpanel Control Panel generated

 

8. Check website and SSL certificate

Now, let’s check whether our created domain is accessible via the Nginx web server we have created along with the SSL certificate. For that simply type your CloudPanel assigned domain in the browser and you will see something like below.

Check your website and SSL certifcate

 

9. Install WordPress on CloudPanel

So, everything is ready, now let’s install WordPress on CloudPanel. For this, access your Sever’s command-line interface either directly if you have it on the local server or using SSH for the one installed on some remote location or cloud.

1. On the terminal, switch to the Temp folder.

cd /tmp

2. Download Wordrpess file

wget https://wordpress.org/latest.tar.gz

3. Extract the WordPress tar file

tar xvf latest.tar.gz

4. Move extracted files of  WordPress to your domain document root.

sudo cp -R wordpress/* /home/cloudpanel/htdocs/www.domain.com/

Note: replace www.domain.com with your domain name set in CloudPanel.

5. Change the permission of the moved file

cd /home/cloudpanel/htdocs/

clpctl system:permissions:reset www.domain.com 775

Note: replace www.domain.com with your domain name used in this control panel

 

10. Create MySQL Database

Creating Database for PHP and other applications of CloudPanel is super easy. Just on the Admin frontend interface, select the Databases option, click on the Add Database button.

Add Database on cloudPanel

 

Fill in, all the needed information such as Database Name, Username, and password, click on the Add Database button. That’s it.

Create New MySQL Database

11. Access WordPress Setup page

We have placed all the things where they should be and we needed to run “WordPress”, now it’s time to access it. For that again in your browser access your domain that you have set in Cloudpanel to install WordPress.

1. WordPress Welcome page

Click on the Let’s go button to start the installation process.

Wordpress CloudPanel install

 

2. Enter Database Details

We already have created the MySQL database above, thus use the details of that in WordPress when it asks for.  Leave the Database Host and Table Prefix as it is.

Enter MySQL database details

 

3. Run install Installation

If you are here, that means everything is gone Wonderful, hit the “Run the Installation” button

Run installer

 

4. Create WordPress User

Create a user and password to access the login interface for the backend.

Create username and password for WordPress on Cloud

Dashboard WordPress

So, this was a quick way to set up this free and open-source CloudPanel Control Panel on the Debian Linux server. In case you want to restart any running services then that can be possible directly from the Dashboard of CloudPanel. You can know more about it from the official documentation page of this platform.

All Services

 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.