In this tutorial, we will show you how to install and configuration of Virtualmin on Ubuntu 16.04 LTS. For those of you who didn’t know, Virtualmin is an advanced web server management panel, and a very good alternative to cPanel, with the same administrative structure based on root users, resellers, and clients. Once installed, you will be able to manage Apache, Nginx, PHP, DNS, MySQL, PostgreSQL, mailboxes, FTP, SSH, SSL, Subversion/Git repositories, and many more.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘
sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of Virtualmin on a Ubuntu 16.04 (Xenial Xerus) server.
- A server running one of the following operating systems: Ubuntu 16.04 (Xenial Xerus).
- It’s recommended that you use a fresh OS install to prevent any potential issues.
- SSH access to the server (or just open Terminal if you’re on a desktop).
non-root sudo useror access to the
root user. We recommend acting as a
non-root sudo user, however, as you can harm your system if you’re not careful when acting as the root.
Install Virtualmin on Ubuntu 16.04 LTS
Step 1. First, make sure that all your system packages are up-to-date by running the following apt-get commands in the terminal.
sudo apt-get update sudo apt-get upgrade
Step 2. Installing Virtualmin.
Virtualmin provides an install script that allows for an easy installation. Use the following command to download the script to your desired directory:
Once downloaded, do a
chmod +x to make the script executable:
chmod +x install.sh
Now it is time to run the Virtualmin install script. The installation will take approximately 5-15 minutes depending on your server speed and power. To do so, use the command below:
./install.sh ### During the installation it will ask you for the host name make sure you enter this correctly ###
Step 3. Accessing Virtualmin.
Virtualmin web-based monitoring will be available on HTTPS port 10000 by default. Open your favorite browser and navigate to
http://server-ip-address:10000. If you are using a firewall, please open port 10000 to enable access to the control panel.
Congratulations! You have successfully installed Virtualmin. Thanks for using this tutorial for installing the Virtualmin webserver management panel on Ubuntu 16.04 LTS (Xenial Xerus) system. For additional help or useful information, we recommend you to check the official Virtualmin website.