How to Install Webmin on Ubuntu 16.04

r00t July 30, 2017

Install Webmin on Ubuntu 16.04

In this tutorial we’ll learn how to install Webmin on Ubuntu 16.04. We will also install and configure its prerequisites. Webmin is a web-based graphical tool for unix . It is used to manage services like User management, Disk managemet, Network, Iptables (Firewall), Cron, Apache, DNS, File sharing and much more .

I recommend to use a minimal Ubuntu server setup as a basis for the tutorial, that can be a virtual or a root server image with an Ubuntu 16.04 minimal install from a web hosting company or you use our minimal server tutorial to install a server from scratch.

Install Webmin on Ubuntu 16.04

Step 1. First, ensure your system and apt package lists are fully up-to-date by running the following:

apt-get update -y && apt-get upgrade -y

Step 2. Installing Webmin.

Add Webmin repository, first edit your sources.list file:

nano /etc/apt/sources.list

Add the following line at the end of the file:

deb http://download.webmin.com/download/repository sarge contrib

Next, add the Webmin key with the following commands:

wget http://www.webmin.com/jcameron-key.asc
apt-key add jcameron-key.asc

Install webmin using the following command:

apt-get update
apt-get install webmin

Once installed, the Wemin server will automatically start as can be seen by running the systemctl command below:

systemctl status webmin

Step 3. Configure Firewall for Webmin.

Allow the webmin default port “10000” via firewall, if you want to access the webmin console from a remote system:

sudo ufw allow 10000

Step 4. Accessing Webmin.

After installing Webmin, Let’s access its administrative interface to finish up. Visit https://your_ip:10000 in your browser to complete the installation.

Congratulation’s! You have successfully configured Webmin on your Ubuntu 16.04 LTS server.

The Tags:

Leave a Comment

Comments are closed.