How to install Webmin on Ubuntu 15.04

Webmin is a web-based interface for system administrators of Linux systems. It is quite simple, using any web-browser you can set up user accounts, Apache, Installations etc. Webmin helps all those who are not comfortable with the command line but want to manage their servers. This tutorial covers Installation and a little work around with Webmin on Ubuntu 15.04 (Vivid Vervet).

Installing Webmin

To install Webmin via apt-get you will have to add it to your repository:

sudo nano /etc/apt/sources.list

After this, your repositories list will look something like this:

Go to the end and add this to the file:

deb sarge contrib
deb sarge contrib

Copy the above and press Ctrl+Shift+V to paste it in the editor, then Ctrl+X to save and exit the file and then hit enter when prompted for the confirmation. After performing the above actions, you need to get the GPG key the repository is signed with. So for that type in the following commands:

cd /root
apt-key add jcameron-key.asc

After adding the GPG key you need to update the source.list:

sudo apt-get update

Now you can install Webmin by typing:

sudo apt-get install webmin

Or alternatively you can try downloading the actual .deb file:


This will download the .deb file on to the system, then you should:

dpkg --install webmin_1.750_all.deb

This will install Webmin on your system.

Login to Webmin

Open up the browser and type in you IP address with as following:


You will get a warning for the SSL certificate, you may just proceed ignoring that warning. After you have navigated to the above URL you will get the following login page:

Log in with root user name and password. There are chances that your OS might have blocked port 10000 by default during the installation, if this is the case then type the following to add an exception:

sudo ufw allow 10000

This will do the trick.

After that you will see a page giving you your system information:

Now that you have logged in, feel free to work around as per requirement. You can create users by clicking "Webmin" drop-down to the right and select "Webmin Users". You will see a screen like this:

Here you can create users.

You can open the system command shell by navigating Others >> Command Shell. It seems to be a normal terminal window, the only difference is, it is on a web browser:

You can also install stuff via Webmin. To do so navigate to Un-used Modules >> Fail2Ban Intrusion Detector. You will have a page like this:

As you can see the above screen shot the option of installation, you can go-ahead and install if you want to! So basically you can see, using Webmin you can perform all the basic tasks of an administrator. This will be it for the tutorial.

Official Webmin Website.

Share this page:

8 Comment(s)

Add comment


From: Tom Williams

One alternative to manually editing the sources file is to use the add-apt-repository script. It's normally used with ppa repositories, but can also be used to add non-ppa repos by enclosing the deb line in double quotes thus:

  sudo add-apt-repository "deb sarge contrib"

  sudo add-apt-respository "deb sarge contrib"

This has the advantage of working in all currently released and supported versions of Linux as well as variants such as LinuxMint. It doesn't add the signing key, but it does eliminate a couple steps when adding the repository.


From: rober

Can coexist with ISPCONFIG ?

From: till

Yes. But be careful to not edit config files with webmin that are managed by ispconfig e.g. the apache vhost files.

From: SamTzu

Webmin is a good tool. I use it for updates, alerting/server status, command shell, Bind management (on servers that do not have ISPconfig) and with it is easy to import database files that are on local server (since phpMyAdmin wont do that.) It's also nice to have to manage any other service if you don't have ISPconfig installed.

From: Shawn B

I have used Webmin on at least 6 server set ups through the years. Fantastic tool for installing servicesand managing Apache2 (which is not easy command line). I just could never (andI mean never) get email to workon any server I installed Webmin on. Installed ISPConfig on my last serverset up on Amazon EC2 Ubuntu instance (which I accidentally deleted two days ago and have since redid completely) and first time I tried it, email was up and working as soon as I set up my name servers on my domains.

Easy! Bam! Just the way I like it!

There are just a few things Webmin can do that ISPConfig cannot.

From: wim duizer

at the step "

cd /root


apt-key add jcameron-key.asc "

i had some isseus. the cd did'nt work and for the apt-key command i had to use sudo.

From: ganaa

hi i can't install Firewall on Webmin. Help me

From: Ryan

Adding the key should be done like this instead, otherwise you get errors on "apt-get update" 


wget -q -O- | sudo apt-key add -