In this guide we explore the installation and configuration of CloudPanel Control Panel on Ubuntu 20.04. CloudPanel is a server management control panel designed to be fast, easy to use and customizable. This piece of software supports management of Domains, Linux services, Cron jobs, FTP services, System security through IP and Bots blocking, User management, Cloud platforms support, among many others.

CloudPanel is the ultimate solution for PHP software developers. It eases the whole journey from coding to application hosting in a Production environment. Below are the standard features of CloudPanel:

  • Free to use and open source
  • Provides powerful intuitive interface for management
  • Designed for high Performance with minimal resource usage
  • It is secure – provision of free SSL/TLS certificates
  • It supports all major clouds – AWS, Digital Ocean, GCP, e.t.c
  • CloudPanel is available in more than ten languages, making it easy to install in any region
  • One-Click Let’s Encrypt Certificates
  • NGINX Support
  • Multiple PHP Versions

Install CloudPanel Control Panel on Ubuntu 20.04

NOTICE: The only official operating system supported for installing CloudPanel Control Panel is Debian 10. This Ubuntu 20.04 guide is only for Demo and Lab tests. Refer to our Debian installation guide for production use:

Installing CloudPanel on Debian 10 (Buster)

The minimum requirements for the installation of CloudPanel Control Panel on Ubuntu 20.04 server are:

  • 1 CPU Core
  • 2 GB of RAM
  • 15 GB disk space
  • Internet connectivity
  • root user or user with sudo permissions

Let us begin the installation of CloudPanel Control Panel on Ubuntu 20.04.

Step 1: Update System

Login to your Ubuntu 20.04 server as root or user with admin rights.

$ ssh [email protected]

For root user login:

ssh [email protected]

Once logged in update system

sudo apt update
sudo apt upgrade -y

Install required packages before installation of CloudPanel Control Panel on Ubuntu 20.04.

sudo apt -y install wget vim curl sudo

Reboot the system before installing CloudPanel Web Hosting Panel on Ubuntu 20.04.

sudo reboot

Step 2: Install CloudPanel on Ubuntu 20.04

Set proper hostname for the CloudPanel server.

sudo hostnamectl set-hostname cloudpanel.example.com

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

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

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

Install Postfix:

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

Add 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 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 cloudpanel package:

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

Install package Cloudpanel package on Ubuntu 20.04:

sudo apt install ./cloudpanel.deb

Agree to start installation of 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 root user database password when asked.

install cloudpanel ubuntu 01

Confirm password

install cloudpanel ubuntu 02

Fixing failed installation:

sudo apt -f install

Step 3: Access CloudPanel Dashboard on Ubuntu 20.04

Open printed URL in your browser:

https://[ServerIP]:8443

Accept SSL warning as this is a self-signed certificate then create admin user:

CloudPanel

Login using username and password created in previous step.

install cloud panel debian 10 buster 03

Here is the look of CloudPanel Control Panel

install cloud panel debian 10 buster 04

Consider enabling MFA for the admin account for better security. Below are the direct links to most important CloudPanel management sections.

Administrative sections.

Hosting applications is under Applications section in the documentation page.

Similar guides:

How To Install Ajenti Control Panel on Ubuntu

Best Free and Open Source Web Hosting Control Panels

Your support is our everlasting motivation,
that cup of coffee is what keeps us going!


As we continue to grow, we would wish to reach and impact more people who visit and take advantage of the guides we have on our blog. This is a big task for us and we are so far extremely grateful for the kind people who have shown amazing support for our work over the time we have been online.

Thank You for your support as we work to give you the best of guides and articles. Click below to buy us a coffee.

LEAVE A REPLY

Please enter your comment!
Please enter your name here