How to Install Webmin 1.580 on Ubuntu 11.10

Webmin is a freeware program that provide web-based interface for system administration and system configuration tool for administrators. With Webmin you can setup user accounts, DNS, file sharing and etc. In this post, i will show how to install Webmin on Ubuntu 11.10 server.

1. Edit /etc/apt/sources.list file

ehowstuff@server:~$ sudo vi /etc/apt/sources.list
[sudo] password for ehowstuff:

Add this line at the bottom of sources.list file :

~
deb http://download.webmin.com/download/repository sarge contrib
deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib
~

Save and exit the file :

:wq!

2. Download GPG key :

ehowstuff@server:~$ wget http://www.webmin.com/jcameron-key.asc
--2012-04-15 10:00:05--  http://www.webmin.com/jcameron-key.asc
Resolving www.webmin.com... 216.34.181.97
Connecting to www.webmin.com|216.34.181.97|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1320 (1.3K) [text/plain]
Saving to: `jcameron-key.asc'

100%[======================================>] 1,320       --.-K/s   in 0s

2012-04-15 10:00:06 (49.5 MB/s) - `jcameron-key.asc' saved [1320/1320]

Import GPG key :

ehowstuff@server:~$ sudo apt-key add jcameron-key.asc
OK

3. Install webmin :

ehowstuff@server:~$ sudo apt-get install webmin
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  apt-show-versions libapt-pkg-perl libauthen-pam-perl libio-pty-perl libnet-ssleay-perl
The following NEW packages will be installed:
  apt-show-versions libapt-pkg-perl libauthen-pam-perl libio-pty-perl libnet-ssleay-perl webmin
0 upgraded, 6 newly installed, 0 to remove and 57 not upgraded.
Need to get 16.2 MB of archives.
After this operation, 101 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://sg.archive.ubuntu.com/ubuntu/ oneiric/main libnet-ssleay-perl i386 1.36-3 [206 kB]
Get:2 http://download.webmin.com/download/repository/ sarge/contrib webmin all 1.580 [15.8 MB]
Get:3 http://sg.archive.ubuntu.com/ubuntu/ oneiric/universe libauthen-pam-perl i386 0.16-2build1 [31.4 kB]
Get:4 http://sg.archive.ubuntu.com/ubuntu/ oneiric/main libio-pty-perl i386 1:1.08-1build1 [39.5 kB]
Get:5 http://sg.archive.ubuntu.com/ubuntu/ oneiric/main libapt-pkg-perl i386 0.1.24build3 [89.6 kB]
Get:6 http://sg.archive.ubuntu.com/ubuntu/ oneiric/universe apt-show-versions all 0.17 [32.9 kB]
Fetched 16.2 MB in 2min 58s (90.3 kB/s)
Selecting previously deselected package libnet-ssleay-perl.
(Reading database ... 50828 files and directories currently installed.)
Unpacking libnet-ssleay-perl (from .../libnet-ssleay-perl_1.36-3_i386.deb) ...
Selecting previously deselected package libauthen-pam-perl.
Unpacking libauthen-pam-perl (from .../libauthen-pam-perl_0.16-2build1_i386.deb) ...
Selecting previously deselected package libio-pty-perl.
Unpacking libio-pty-perl (from .../libio-pty-perl_1%3a1.08-1build1_i386.deb) ...
Selecting previously deselected package libapt-pkg-perl.
Unpacking libapt-pkg-perl (from .../libapt-pkg-perl_0.1.24build3_i386.deb) ...
Selecting previously deselected package apt-show-versions.
Unpacking apt-show-versions (from .../apt-show-versions_0.17_all.deb) ...
Selecting previously deselected package webmin.
Unpacking webmin (from .../archives/webmin_1.580_all.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Setting up libnet-ssleay-perl (1.36-3) ...
Setting up libauthen-pam-perl (0.16-2build1) ...
Setting up libio-pty-perl (1:1.08-1build1) ...
Setting up libapt-pkg-perl (0.1.24build3) ...
Setting up apt-show-versions (0.17) ...
** initializing cache. This may take a while **
Setting up webmin (1.580) ...
Webmin install complete. You can now login to https://server.ehowstuff.local:10000/
as root with your root password, or as any user who can use sudo
to run commands as root.

4. Login Webmin using root access to the following URL :

https://server_ip:10000/
Example :
https://192.168.1.49:10000/