How To: Install Webmin on Ubuntu 10.04 LTS Server, (10.10 Also)

Home / Linux / How To: Install Webmin on Ubuntu 10.04 LTS Server, (10.10 Also)
How To: Install Webmin on Ubuntu 10.04 LTS Server, (10.10 Also)

These are the steps I take to install Webmin on the Ubuntu 10.04 LTS Servers that I deploy. (Also works on 10.10 Server and Desktop)

Download the Webmin package:

nmino@ubuntu:~$ wget http://downloads.sourceforge.net/project/webadmin/webmin/1.610/webmin_1.610_all.deb
–2013-01-07 09:04:11– http://downloads.sourceforge.net/project/webadmin/webmin/1.610/webmin_1.610_all.deb
Resolving downloads.sourceforge.net… 216.34.181.59
Connecting to downloads.sourceforge.net|216.34.181.59|:80… connected.
HTTP request sent, awaiting response… 302 Found
Location: http://superb-dca3.dl.sourceforge.net/project/webadmin/webmin/1.610/webmin_1.610_all.deb [following]
–2013-01-07 09:04:11– http://superb-dca3.dl.sourceforge.net/project/webadmin/webmin/1.610/webmin_1.610_all.deb
Resolving superb-dca3.dl.sourceforge.net… 207.228.224.228
Connecting to superb-dca3.dl.sourceforge.net|207.228.224.228|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 20888990 (20M) [application/octet-stream]
Saving to: `webmin_1.610_all.deb’

100%[============================>] 20,888,990 1.57M/s in 13s

2013-01-07 09:04:25 (1.55 MB/s) – `webmin_1.610_all.deb’ saved [20888990/20888990]

Run the installer:

nmino@ubuntu:~$ sudo dpkg -i webmin_1.610_all.deb
[sudo] password for nmino:
Selecting previously deselected package webmin.
(Reading database … 21501 files and directories currently installed.)
Unpacking webmin (from webmin_1.610_all.deb) …
dpkg: dependency problems prevent configuration of webmin:
webmin depends on libnet-ssleay-perl; however:
Package libnet-ssleay-perl is not installed.
webmin depends on libauthen-pam-perl; however:
Package libauthen-pam-perl is not installed.
webmin depends on libio-pty-perl; however:
Package libio-pty-perl is not installed.
webmin depends on apt-show-versions; however:
Package apt-show-versions is not installed.
dpkg: error processing webmin (–install):
dependency problems – leaving unconfigured
Processing triggers for ureadahead …
Errors were encountered while processing:
webmin

As you can see, I have some unresolved dependencies. The easy fix for this is to run the apt-get -f install command:

nmino@ubuntu:~$ sudo apt-get -f install
Reading package lists… Done
Building dependency tree
Reading state information… Done
Correcting dependencies… 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
0 upgraded, 5 newly installed, 0 to remove and 2 not upgraded.
1 not fully installed or removed.
Need to get 403kB of archives.
After this operation, 1,819kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com/ubuntu/ lucid/universe libnet-ssleay-perl 1.35-2ubuntu1 [204kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ lucid/universe libauthen-pam-perl 0.16-2 [33.9kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ lucid/main libio-pty-perl 1:1.07-2build1 [42.4kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ lucid/main libapt-pkg-perl 0.1.24 [88.5kB]
Get:5 http://us.archive.ubuntu.com/ubuntu/ lucid/universe apt-show-versions 0.16 [33.7kB]
Fetched 403kB in 0s (807kB/s)
Selecting previously deselected package libnet-ssleay-perl.
(Reading database … 44999 files and directories currently installed.)
Unpacking libnet-ssleay-perl (from …/libnet-ssleay-perl_1.35-2ubuntu1_i386.deb) …
Selecting previously deselected package libauthen-pam-perl.
Unpacking libauthen-pam-perl (from …/libauthen-pam-perl_0.16-2_i386.deb) …
Selecting previously deselected package libio-pty-perl.
Unpacking libio-pty-perl (from …/libio-pty-perl_1%3a1.07-2build1_i386.deb) …
Selecting previously deselected package libapt-pkg-perl.
Unpacking libapt-pkg-perl (from …/libapt-pkg-perl_0.1.24_i386.deb) …
Selecting previously deselected package apt-show-versions.
Unpacking apt-show-versions (from …/apt-show-versions_0.16_all.deb) …
Processing triggers for man-db …
Setting up libnet-ssleay-perl (1.35-2ubuntu1) …
Setting up libauthen-pam-perl (0.16-2) …
Setting up libio-pty-perl (1:1.07-2build1) …
Setting up libapt-pkg-perl (0.1.24) …
Setting up apt-show-versions (0.16) …
** initializing cache. This may take a while **

Setting up webmin (1.610) …
Webmin install complete. You can now login to https://ubuntu:10000/
as root with your root password, or as any user who can use sudo
to run commands as root.

nmino@ubuntu:~$

That’s it. Webmin 1.610 is now installed and running on your Ubuntu 10.04 LTS Server and you should be able to login at:

http://192.168.1.100:10000

(Use your servers IP Address).