Install Virtualmin on Ubuntu 20.04 for a cPanel/CentOS-like web hosting control panel

If you are wanting for a cPanel/CentOS substitute, Jack Wallen thinks Virtualmin could do the work. He’ll display you what the software has to provide and how to install it on Ubuntu Server.

Picture: iStock/klmax

For quite a few, Purple Hat pulling assist from the normal CentOS releases had some major facet results. One of the biggest dominoes to fall was cPanel–for many world-wide-web hosting firms, cPanel is the de facto regular manage panel. It features unquestionably anything important to control the internet hosting of your each client’s needs.

The moment Crimson Hat pulled the plug on CentOS 8, cPanel announced they wouldn’t be supporting CentOS Stream. The fantastic news is that the corporation is accelerating their efforts to support Ubuntu Server LTS, and ought to have that prepared to ship by late 2021.

For those looking to both migrate away from CentOS or are looking for a thing that can be utilized on the Ubuntu system for now (or for superior), you can find always Virtualmin.

SEE: MSP very best techniques: Server deployment checklist (TechRepublic Premium)

Virtualmin is a website internet hosting and cloud computing handle panel that is nicely supported on Ubuntu Server. Is this possibility a fall-in substitution for cPanel? If you inquire another person who relies upon on cPanel that dilemma, they’d most definitely remedy with a definitive “no.” Nevertheless, Virtualmin is a extremely good selection for these looking to switch. 

Virtualmin functions:

  • Domain accounts administration

  • E mail administration

  • Person/reseller accounts and ACLs

  • Several stability tools

  • Alerts, graphs, and logs

  • Backups

  • Cloud integration

  • Database management applications

  • Put in scripts for CMS, CRM, community forums, e-commerce, issue monitoring, community, webmail, database administration, mailing record management, and extra

I want to show you how quick it is to get Virtualmin installed on Ubuntu Server 20.04. I will be setting up the Local community Version, but the system for setting up the Virtualmin Experienced Edition is the exact. I do advocate installing the Group Version first, to see if this software is the correct fit for your requires.

What you’ll need to have

How to update and upgrade Ubuntu Server

The initially matter to do is update and upgrade the server application. One particular factor to don’t forget, if the kernel is upgraded, you can need to reboot the server. Mainly because of this, make sure to operate the update/update at a time when a reboot is possible. 

To update/enhance Ubuntu, log in to the server and concern the instructions:

sudo apt-get update
sudo apt-get enhance -y

When this completes, reboot the server (if essential) and log back in.

How to improve your hostname

Virtualmin wants a totally qualified domain title. That doesn’t necessarily mean you have to modify your server’s hostname to an FQDN. For illustration (and we are going to stick with the domain): Let us say you want to use a shorter hostname, like virtualmin. You can do that, and then map the shorter identify to the FQDN. 

Set the hostname with the command:

sudo hostnamectl set-hostname virtualmin

The previously mentioned instance sets the hostname to virtualmin. Log out and log back in for the alterations to consider result.

Subsequent, map virtualmin to in the hosts file. Open up that file for enhancing with the command:

sudo nano /etc/hosts

At the bottom of that file, add a line like this:  virtualmin

Make positive to exchange the information previously mentioned to replicate that of your IP, FQDN, and hostname.

Conserve and near the file.

How to install Virtualmin

The builders of Virtualmin have developed a extremely handy installation script. Down load that script to the server with the command:


Run the script with the command:

sudo bash set

When prompted, type y to carry on (Figure A).

Figure A


The set up script has introduced and is prepared to start off.

If you have established the hostname thoroughly, the set up will start off, in any other case, you can expect to have to manually style the FQDN of the server right before the genuine install proceeds. The installation will choose concerning 10 and 30 minutes, relying on the speed of your hardware and network connection (Figure B).

Figure B


The Virtualmin installation in motion.

When the installation completes, you can open up a world-wide-web browser and both level it to https://FQDN:10000 (exactly where FQDN is the precise fully skilled area name) or https://IP:10000 (in which IP is the IP deal with of the server).

You are going to be prompted to log in with an account that has sudo privileges. Upon effective authentication, you are going to find oneself at the Virtualmin article-set up wizard, in which you can tune the set up to better satisfy your requires (Figure C).

Figure C


The Virtualmin most important window.

The put up-put in wizard allows you to tune issues like:

  • How substantially RAM is employed for the UI and mail area lookup

  • Enabling ClamAV and Spamassassin

  • Which databases servers to use

  • Set the databases password

  • Password storage manner

  • Create digital server

  • Enable SSL

Congratulations, you now have the Virtualmin net hosting and cloud computing handle panel up and jogging on Ubuntu Server 20.04. It can be time you kick the tires and see if it can serve as a replacement for the cPanel/CentOS combo.

Subscribe to TechRepublic’s How To Make Tech Perform on YouTube for all the most recent tech suggestions for business professionals from Jack Wallen.

Also see

Fibo Quantum