25% off on first invoice for all services*

SPRING SALE

Use coupon

*Offer valid for new customers only

25% off on first invoice for all services*

SPRING SALE

Use coupon

*Offer valid for new customers only

Need help?

Our experts have had an average response time of 11.43 minutes in March 2024 to fix urgent issues.

We will keep your servers stable, secure, and fast at all times for one fixed price.

How to install CloudPanel on Ubuntu 20.04

by | Apr 29, 2021

Wondering how to install CloudPanel on Ubuntu 20.04? We will help you.

As a part of our Server Management Services, our Support Engineers assist with Software installations regularly.

Let us now discuss the steps to install CloudPanel on Ubuntu.

How to install CloudPanel on Ubuntu 20.04

CloudPanel is an open source, PHP based host control software built for the cloud that helps to manage hosted services, including email, domain, FTP, cronjobs, system security through IP and Bots blocking, user management etc. It also supports major cloud services for seamless integration.

CloudPanel does not fully support Ubuntu and there is not an easy installation script yet. It is built for Debian Buster. In this article, let us see how to install CloudPanel on Ubuntu 20.04/18.04.

To install CloudPanel on Ubuntu, our Support Engineers follow the steps given below:

Prepare Ubuntu

Before installing CloudPanel, our Engineers make sure to update Ubuntu and install the required packages.

$ sudo apt update
$ sudo apt upgrade
$ sudo apt install curl wget

After updating and installing the above packages, continue below to install Postfix.

Install Postfix

CloudPanel requires Postfix mail transport agent to handle emails. To install Postfix on Ubuntu, run the commands below:

$ sudo apt install gnupg apt-transport-https
$ sudo apt install postfix

During the installation, we will be prompted to select the configuration settings. Choose Internet Site.

How to install CloudPanel on Ubuntu 20.04

We will also be prompted to enter our mail server name. For instance, mail.example.com.

Install various repositories

CloudPanel requires PHP, Node.js and Percona. Use the steps below to add these repositories to make packages available to Ubuntu.

To add Node.js, our Support Engineers follow this steps below:

$ 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

Then to add PHP, we follow the steps below:

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

The next step is to add Percona:

$ 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

 

Install CloudPanel Dependencies

After adding the repositories above, install these dependencies to support CloudPanel.

$ cd /tmp
$ wget http://ftp.us.debian.org/debian/pool/main/s/startpar/startpar_0.64-3_amd64.deb
$ wget http://ftp.us.debian.org/debian/pool/main/s/sysvinit/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
$ wget http://ftp.us.debian.org/debian/pool/main/i/insserv/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
$ wget http://ftp.us.debian.org/debian/pool/main/r/rcconf/rcconf_3.2+nmu1_all.deb
$ sudo dpkg -i *.deb

 

Install CloudPanel

First, add the CloudPanel’s Debian Buster repository to Ubuntu.

$ 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 | sudo apt-key add -
$ sudo apt update

After adding the repository above, run the commands below to download CloudPanel file.

$ wget https://github.com/cloudpanel-io/cloudpanel-ce/releases/download/v1.0.5/cloudpanel.deb

Finally, install it by running the commands below:

$ sudo apt install ./cloudpanel.deb

That will prompt to create a root user password. Type and confirm it to continue.

When we are done, open the web browser and type in the server hostname or IP address followed by 8443.

https://SERVER_IP:8443

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

Login using username and password created.

How to fix failed install of CloudPanel on Ubuntu 20.04

At times, the installation of CloudPanel fails in Ubuntu. A force install helps to fix this:

$ sudo apt -f install

[Need any further assistance in fixing software installation errors? – We’re available 24*7]

Conclusion:

In short, CloudPanel, an open source, PHP-based host control software built for the cloud helps to manage hosted services. Today, we saw how our Support Engineers install it.

 

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF