How to install Webmin in Ubuntu

To install Webmin in Ubuntu

Webmin is a web based configuration tool used for Unix and Linux Operating System. Using Webmin, you can setup and configure all the Operating System internals and also modify services such as DNS, DHCP, Apache, NFS, and Samba etc. This article gives a clear explanation about the installation of Webmin in Ubuntu.


Installation of Webmin

Before the installation of Webmin, use the following command to open the apt/sources.list file and add the below mentioned lines.

root@linuxhelp:~# vim /etc/apt/sources.list

deb sarge contrib
deb sarge contrib

Now, download the key for Webmin with the following command.

root@linuxhelp:~# wget
--2016-11-10 23:37:54--
Resolving (
Connecting to (||:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1320 (1.3K) [text/plain]
Saving to: ‘jcameron-key.asc’

jcameron-key.asc          100%[==================================>]   1.29K  --.-KB/s    in 0s      

2016-11-10 23:37:54 (10.7 MB/s) - ‘jcameron-key.asc’ saved [1320/1320]

Once the key is downloaded, add it by invoking the following command.

root@linuxhelp:~# apt-key add jcameron-key.asc

Now use the following command to update the machine.

root@linuxhelp:~# apt-get update
Hit:1 xenial-security InRelease
Ign:2 sarge InRelease
Hit:3 xenial InRelease          
Hit:9 sarge Release                                  
Reading package lists... Done

Once the machine is updated, invoke the following command to install the Webmin package.

root@linuxhelp:~# apt-get install webmin
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Webmin install complete. You can now login to https://linuxhelp:10000/
as root with your root password, or as any user who can use sudo
to run commands as root.
Processing triggers for systemd (229-4ubuntu6) ...
Processing triggers for ureadahead (0.100.0-19) ...

After the installation, allow the Webmin port into firewall with the following command.

root@linuxhelp:~# ufw allow 10000
Rules updated
Rules updated (v6)



Once it is done, open the web-browser and enter your server-ip with webmin port number 10000.  You'll be taken to the Login page. Login to Webmin.


That’s it, Webmin is installed successfully. Enjoy using Webmin to setup and manage services.




Thank you! for using Linux Help.

You find this tutorial helpful? Share with your friends to keep it alive.
For more help topics browse our website
Be the first to comment, we value your suggestions. For further queries please comment below.

Tags: Apache NFS Samba Webmin DHCP
user image Author :  Nicholas