How to install Webmin on Ubuntu Server 12.04 LTS


Webmin is a user friendly and lightweight web-based interface for system administration for linux/unix. It runs on any browser that supports tables and forms (and Java for the File Manager module). webmin allows you to manage and configure user accounts, web servers, DNS server, Squid server, DHCP server, file sharing etc.

Webmin consists of a simple web server, and a number of CGI programs which directly update system files like /etc/inetd.conf and /etc/passwd. The web server and all CGI programs are written in Perl version 5, and use no non-standard Perl modules

Installing Webmin On Ubuntu Server 12.04 LTS

In this tutorial I’ll shown you how to installing Webmin on Ubuntu server 12.04, There are two methods for installing Webmin. method 1: installing via APT, method 2: Installing manually. before installing Webmin You need to install first some perl-related libraries required by Webmin:

sudo apt-get install perl libnet-ssleay-perl libauthen-pam-perl libpam-runtime openssl libio-pty-perl apt-show-versions python

Method 1: Installing Webmin via APT

Login as root:

sudo -i

Add the Webmin repository in your Ubuntu server with following commands.

cat >> /etc/apt/sources.list <<-EOF
deb sarge contrib
deb sarge contrib

Logout from root:


Import GPG key, Update the source list then install Webmin.

wget && sudo apt-key add jcameron-key.asc
sudo apt-get update
sudo apt-get install webmin

Method 2: Installing Manually

Download the latest Webmin archive (this might change in time) and choose Debian package.


Install Webmin with following command:

sudo dpkg --install webmin-current.deb

to access Webmin open your browser and enter:  http://host:10000/

webmin ubuntu server 12.04