How to Install Webmin on Ubuntu 16.04LTS

So, everyone loves a good Linux tutorial, right? Especially when it’s missing a small but crucial detail!

Look, I get it. No one means to make a mistake or typo. But it happens. And it’s more common in Linux stuff, because generally speaking, Linux is more convoluted, or at least more involved, than Windows.

So here it is: how to install Webmin on Ubuntu 16.04. Hopefully I don’t miss anything!

Installing Webmin

This assumes the big one, that you’ve got Ubuntu (server, preferably) installed already on your computer and/or virtual machine.

So, the second step is to actually get Webmin on the machine. I recommend using apt-get, because it’s handy, generally keeps things up to date, and is easy to deal with.

Add the repository to your server by creating a new apt source file, and adding the repository URL to it:

sudo nano /etc/apt/sources.list.d/webmin.list

Then, in that file, paste in the following repository (again, assuming you’re dealing with specifically Ubuntu 16.04LTS). After putting the URL in, you need to hit ctrl+x to save and close your new source list file.

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

After that, before you refresh anything, you’ll want to add in the key for the repository, otherwise you’ll get errors:

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

sudo apt-key add jcameron-key.asc

Update the apt system by running the command:

sudo apt-get update

Finally, you can install Webmin by typing:

sudo apt-get install webmin

Once that’s all done, you can log into Webmin by going to the IP address of your server, followed by port 10000.

https://YOURSERVERIP:10000

Voila. You can now do many, if not most administration functions from the cozy comfort of a web interface! It even works from a smart phone, albeit a bit painfully.

Posted in Tech.