6

How do I install webmin on Ubuntu 12.04?

Note: I am using the desktop edition, not Ubuntu Server.

Amith KK
  • 13,412
  • As tomas-w mentioned, webmin is no longer supported officially by Ubuntu. See http://askubuntu.com/questions/6529/is-there-a-tool-for-web-based-system-administration/6530#6530 for alternatives, including zentyal (formerly ebox). – Jon Onstott Mar 21 '14 at 17:54

1 Answers1

7

Installation

Open up Terminal and run the following commands, entering your password when prompted.
Press Enter after each command.
Accept any prompts you may receive.

echo "deb http://download.webmin.com/download/repository sarge contrib deb" | sudo tee -a /etc/apt/sources.list
echo "http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib" | sudo tee -a /etc/apt/sources.list
cd /tmp; wget http://www.webmin.com/jcameron-key.asc; sudo apt-key add jcameron-key.asc; cd
sudo apt-get update
sudo apt-get install webmin

That's it! Webmin should now be up and running.

Usage

By IP Address

To find your IP address, run the following command in Terminal:

ifconfig | grep eth -A 5 | grep 'inet addr:' | cut -d: -f2 | awk '{ print "IP Address: "$1}'

Browse to that IP address using your favorite web browser, appending :10000 to the end of the address. For example:

192.168.1.10:10000

Note: 10000 is the default port where Webmin resides, and you must specify it to access Webmin's control panel. If you don't, you'll be accessing the built-in web server's home page, not Webmin.

By Hostname

You may also browse to Webmin using your Ubuntu machine's hostname.
To find your hostname, run the following command in Terminal:

hostname

Note: Again, don't forget to append :10000 to the hostname in the web browser.

John S Gruber
  • 13,336
SirCharlo
  • 39,486
  • The second URL is missing the "deb" in front of it – benvd Jul 01 '12 at 11:57
  • webmin is not officially supported anymore by Ubuntu. As far as I can tell, the apt-get install will fail as a result because webmin was removed from the repositories. It was replaced with 'ebox'. – Thomas Ward Aug 09 '12 at 17:14
  • The package click through doesn't work because the package is from a ppa. I'll roll it back. – John S Gruber Aug 12 '12 at 03:08