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 through the step by step installation of Virtualmin on a Ubuntu 16.04 (Xenial Xerus) server.
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 which allows for an easy installation. Use the following command to download the script to your desire directory:
Once downloaded, do a
chmod +x to make the script executable:
chmod +x install.sh
Now it is time to running the Virtualmin install script. The installation will take approximately 5-15 minutes depends 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://your-domain.com:10000 or http://server-ip: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.