How to Install Webmin and Virtualmin on Ubuntu 16.04

Introduction

Before we proceed on how to install Webmin and Virtualmin on Ubuntu 16.04, let’s get to know first what are Webmin and Virtualmin.

How to Install Webmin and Virtualmin on Ubuntu 16.04Webmin is a web-based system configuration tool for Unix-like systems. With it, it is possible to configure operating system internals, such as users, disk quotas, services or configuration files, as well as modify and control open source apps, such as the Apache HTTP Server, PHP or MySQL.

How to Install Webmin and Virtualmin on Ubuntu 16.04

Virtualmin is a domain hosting and website control panel, which gives the ability to create and manage many domains and is available in both open source and commercial versions. It is a free alternative to cPanel.

Requirements

Before we proceed on how to install Webmin and Virtualmin on Ubuntu 16.04, we need to know if your server meets the minimum requirements.

I prefer installing Webmin and Virtualmin on a freshly installed operating system. The supported operating systems are the following:

  • CentOS/RHEL 6 and 7 on i386 and x86_64
  • Debian 7, 8, and 9, on i386 and amd64
  • Ubuntu 14.04 LTS, and 16.04 LTS on i386 and amd64 (non-LTS releases are not supported)

You can check out more information on the supported operating systems via this link: https://www.virtualmin.com/os-support.

In this tutorial, we will be installing Webmin and Virtualmin on Ubuntu 16.04 LTS.

You can check more information on this page: https://www.virtualmin.com/download.html

Install Webmin and Virtualmin

Make sure your system is up to date.

sudo apt update
sudo apt upgrade -y
sudo apt autoremove -y

Make sure that your hostname is correctly configured. You can check this by running the following command.

hostname -f

If the above command does not show your hostname, run the following command:

sudo hostnamectl set-hostname yourfullyqualifieddomainname

Install Webmin/Virtualmin using the following commands:

wget https://software.virtualmin.com/gpl/scripts/install.sh
sudo /bin/sh ./install.sh -y

The above command will take some time to install depending on how fast your server is.

After installing, it will give you a link on how to access your newly installed Webmin and Virtualmin. Most of the time it will be https://yourfullyqualifieddomainname:10000.

Access your newly installed Webmin and Virtualmin using your browser and complete the Post-Installation Wizard.

That’s it! You have successfully installed Webmin and Virtualmin! Happy hosting!