Installing Webmin

posted Sep 9, 2010, 2:03 AM by David Cole   [ updated Jun 22, 2011, 1:17 PM ]
Source: http://www.webxpert.ro/andrei/2009/05/30/install-webmin-on-ubuntu-server-904-jaunty-jackalope/

You need to install first some perl-related libraries required by webmin:

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

If on Ubuntu 10.4 this module will be missing
libmd5-perl

to get:

wget http://mirrors.kernel.org/ubuntu/pool/universe/libm/libmd5-perl/libmd5-perl_2.03-1_all.deb

then

sudo dpkg -i libmd5-perl_2.03-1_all.deb

The you need to download the latest webmin archive (this might change in time). I am downloading the Debian package:

wget http://www.webmin.com/download/deb/webmin-current.deb

Install the Debian package with dpkg, not Aptitude:

sudo dpkg -i webmin_filename_from_wget_all.deb

May need to run sudo apt-get -f install

* Your downloaded version may differ. Just use the deb package you’ve just downloaded.

Enjoy your Webmin installation at https://[serverIP]:10000 .

As of Ubuntu 11.04 I've found that logging in as the install account doesn't work so have had to unlock the root account:
Create a root password
sudo passwd root

Then log in to webmin as above using the root password that you've just created

In Webmin navigate to Webmin Users and create a new user giving it all the permissions you want.  I used Unix Authentication.
Then log out the root user, test you new user login.
Finally in termin issue:

sudo passwd root -l

to Disable the root password again.
Comments