Install CloudPanel Control Panel on Ubuntu 20.04

You can download this article in PDF format via the link below to support us.
Download the guide in PDF formatshut down

In this guide, we discussed the installation and configuration of the CloudPanel control panel on Ubuntu 20.04. CloudPanel is a server management control panel designed to be fast, easy to use and customizable. The software supports domain management, Linux services, Cron jobs, FTP services, system security through IP and Bot blocking, user management, cloud platform support, etc.

CloudPanel is the ultimate solution for PHP software developers. It simplifies the entire process from coding to application hosting in a production environment. The following are the standard features of CloudPanel:

  • Free to use and open source
  • Provide a powerful and intuitive management interface
  • Designed for high performance with minimal resources
  • Security-provide free SSL/TLS certificate
  • It supports all major clouds-AWS, Digital Ocean, GCP, etc.
  • CloudPanel supports more than ten languages ​​and can be easily installed in any region
  • One click let’s encrypt the certificate
  • NGINX support
  • Multiple PHP versions

Install CloudPanel Control Panel on Ubuntu 20.04

Note: Debian 10 is the only official operating system that supports the installation of CloudPanel Control Panel. This Ubuntu 20.04 guide is only for demonstration and lab testing. Please refer to our Debian installation guide for production use:

Install CloudPanel on Debian 10 (Buster)

The minimum requirements for installing CloudPanel control panel on Ubuntu 20.04 server are:

  • 1 CPU core
  • 2 GB of RAM
  • 15 GB disk space
  • Internet connection
  • Super user or user with sudo privilege

Let’s start installing the CloudPanel control panel on Ubuntu 20.04.

Step 1: Update the system

Log in to the Ubuntu 20.04 server as a super user or a user with administrator rights.

$ ssh [email protected]

For root user login:

ssh [email protected]

Once logged in to update the system

sudo apt update
sudo apt upgrade -y

Before installing CloudPanel control panel on Ubuntu 20.04, please install the necessary software packages.

sudo apt -y install wget vim curl sudo

Before installing CloudPanel Web Hosting Panel on Ubuntu 20.04, please restart the system.

sudo reboot

Step 2: Install CloudPanel on Ubuntu 20.04

Set an appropriate hostname for the CloudPanel server.

sudo hostnamectl set-hostname cloudpanel.example.com

Edit the /etc/hosts file and map the server IP address to the configured host name.

$ sudo vim /etc/hosts
172.21.200.11 cloudpanel.example.com cloudpanel

Also configure the A record for the server domain name in the DNS server.

Install Postfix:

sudo apt update
sudo apt -y install gnupg apt-transport-https postfix

Add the Node.js repository to Ubuntu 20.04:

curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | sudo apt-key add -
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo 'deb https://deb.nodesource.com/node_14.x focal main' | sudo tee /etc/apt/sources.list.d/nodesource.list
echo 'deb https://dl.yarnpkg.com/debian/ stable main' | sudo tee /etc/apt/sources.list.d/yarn.list

Install dependencies:

wget http://ftp.us.debian.org/debian/pool/main/s/startpar/startpar_0.64-3_amd64.deb
sudo apt install ./startpar_0.64-3_amd64.deb

wget http://ftp.us.debian.org/debian/pool/main/s/sysvinit/sysvinit-utils_2.96-6_amd64.deb
sudo apt install ./sysvinit-utils_2.96-6_amd64.deb

wget http://ftp.us.debian.org/debian/pool/main/l/lsb/lsb-base_11.1.0_all.deb
sudo apt install ./lsb-base_11.1.0_all.deb

wget http://ftp.us.debian.org/debian/pool/main/i/insserv/insserv_1.21.0-1_amd64.deb
sudo apt install ./insserv_1.21.0-1_amd64.deb

wget http://ftp.us.debian.org/debian/pool/main/s/sysvinit/sysv-rc_2.96-6_all.deb
sudo apt install ./sysv-rc_2.96-6_all.deb

wget http://ftp.us.debian.org/debian/pool/main/r/rcconf/rcconf_3.2+nmu1_all.deb
sudo apt install ./rcconf_3.2+nmu1_all.deb

Add the PHP PPA repository:

sudo add-apt-repository ppa:ondrej/php
sudo apt-get update

Add Percona APT repository:

wget https://repo.percona.com/apt/percona-release_latest.$(lsb_release -sc)_all.deb
sudo apt install ./percona-release_latest.$(lsb_release -sc)_all.deb
sudo percona-release setup ps57

Add CloudPanel Debian buster repository:

echo "deb https://d17k9fuiwb52nc.cloudfront.net/ buster main" | sudo tee /etc/apt/sources.list.d/packages.cloudpanel.io.list
sudo curl -Lks https://d17k9fuiwb52nc.cloudfront.net/key.gpg | apt-key add -
sudo apt update

Download the cloudpanel package:

export VERSION="1.0.5"
wget https://github.com/cloudpanel-io/cloudpanel-ce/releases/download/v$VERSION/cloudpanel.deb

Install the Cloudpanel package on Ubuntu 20.04:

sudo apt install ./cloudpanel.deb

Agree to start installing CloudPanel on Ubuntu 20.04:

The following NEW packages will be installed:
  apache2-utils apt-show-versions binutils binutils-common binutils-x86-64-linux-gnu build-essential chrony cloudpanel clp-agent cpp cpp-9 dc debsums
  dphys-swapfile dpkg-dev fail2ban fakeroot fontconfig-config fonts-dejavu-core g++ g++-9 gcc gcc-9 gcc-9-base gifsicle iotop jpegoptim libalgorithm-diff-perl
  libalgorithm-diff-xs-perl libalgorithm-merge-perl libapr1 libaprutil1 libapt-pkg-perl libasan5 libatomic1 libbinutils libc-client2007e libc-dev-bin libc6-dev
  libcc1-0 libcrypt-dev libctf-nobfd0 libctf0 libdpkg-perl libfakeroot libfile-fcntllock-perl libfile-fnmatch-perl libfontconfig1 libgcc-9-dev libgd3 libgomp1
  libhiredis0.14 libisl22 libitm1 libjbig0 libjemalloc2 libjpeg-turbo8 libjpeg8 liblsan0 liblua5.1-0 libmcrypt4 libmecab2 libmemcached11 libmemcachedutil2
  libmpc3 libnginx-mod-http-image-filter libnginx-mod-http-xslt-filter libnginx-mod-mail libnginx-mod-stream libonig5 libossp-uuid16 libquadmath0
  libsensors-config libsensors5 libssl-dev libstdc++-9-dev libtiff5 libtsan0 libubsan1 libwebp6 libxmlrpc-epi0 libxpm4 libzip4 linux-libc-dev locales-all
  lua-bitop lua-cjson mailutils-common make manpages-dev memcached mlock mysql-common net-tools nginx nginx-common nginx-core nodejs optipng
  percona-server-client-5.7 percona-server-common-5.7 percona-server-server-5.7 php-common php7.1 php7.1-bcmath php7.1-cli php7.1-common php7.1-curl php7.1-fpm
  php7.1-gd php7.1-imap php7.1-intl php7.1-json php7.1-mbstring php7.1-mcrypt php7.1-mysql php7.1-opcache php7.1-readline php7.1-soap php7.1-sqlite3 php7.1-xml
  php7.1-xmlrpc php7.1-xsl php7.1-zip php7.2 php7.2-bcmath php7.2-cli php7.2-common php7.2-curl php7.2-fpm php7.2-gd php7.2-imap php7.2-intl php7.2-json
  php7.2-mbstring php7.2-mysql php7.2-opcache php7.2-readline php7.2-soap php7.2-sqlite3 php7.2-xml php7.2-xmlrpc php7.2-xsl php7.2-zip php7.3 php7.3-bcmath
  php7.3-cli php7.3-common php7.3-curl php7.3-fpm php7.3-gd php7.3-imap php7.3-intl php7.3-json php7.3-mbstring php7.3-mysql php7.3-opcache php7.3-readline
  php7.3-soap php7.3-sqlite3 php7.3-xml php7.3-xmlrpc php7.3-xsl php7.3-zip php7.4 php7.4-bcmath php7.4-cli php7.4-common php7.4-curl php7.4-fpm php7.4-gd
  php7.4-imap php7.4-intl php7.4-json php7.4-mbstring php7.4-mysql php7.4-opcache php7.4-readline php7.4-soap php7.4-sqlite3 php7.4-xml php7.4-xmlrpc php7.4-xsl
  php7.4-zip php8.0 php8.0-bcmath php8.0-cli php8.0-common php8.0-curl php8.0-fpm php8.0-gd php8.0-imap php8.0-intl php8.0-mbstring php8.0-mysql php8.0-opcache
  php8.0-readline php8.0-soap php8.0-sqlite3 php8.0-xml php8.0-xsl php8.0-zip proftpd-basic proftpd-doc pwgen python3-pyinotify redis-server redis-tools sysstat
  unzip uuid whois yarn zip
The following packages will be upgraded:
  libpcre3 libssl1.1
2 upgraded, 214 newly installed, 1 to remove and 6 not upgraded.
Need to get 151 MB/181 MB of archives.
After this operation, 1097 MB of additional disk space will be used.
Do you want to continue? [Y/n] y

Set the root user database password when asked.

confirm passwordInstall cloudpanel ubuntu 02

Repair installation failed:

sudo apt -f install

Step 3: Access the CloudPanel dashboard on Ubuntu 20.04

Open the printed URL in a browser:

https://[ServerIP]:8443

Accept the SSL warning because this is a self-signed certificate, and then create an admin user:CloudPanel

Log in using the username and password created in the previous step.Install cloud panel debian 10 buster 03

This is how the CloudPanel control panel looksInstall cloud panel debian 10 buster 04

consider Enable MFA Provide better security for administrator accounts. Below is a direct link to the most important part of CloudPanel management.

Administrative part.

Hosted applications are under the “Applications” section of the documentation page.

Similar guides:

How to install Ajenti control panel on Ubuntu

Best free and open source web hosting control panel

You can download this article in PDF format via the link below to support us.
Download the guide in PDF formatshut down

Sidebar