Installing Webmin in Ubuntu is not exactly a quick win thanks to Webmin’s reliance on a deprecated PERL package (an MD5 wrapper to be exact) that Ubuntu and the like just don’t want to include any more, but never fear, following these steps one by one will have you up and running in absolutely no time!
Install the dependencies:
sudo aptitude -y install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl libmd5-perl apt-show-versions libapt-pkg-perl
While most of the packages above will all successfully install, you should get an error message that reads something like this:
Couldn’t find any package whose name or description matched “libmd5-perl”
The next step is then obviously to manually grab it and install it.
Run the following:
wget http://ftp.debian.org/pool/main/libm/libmd5-perl/libmd5-perl_2.03-1_all.deb
followed by
sudo dpkg -i libmd5-perl_2.03-1_all.deb
All right, all set. Go to webmin’s home page and grab the download link to the latest version. In my case, this was thrown up:
wget http://downloads.sourceforge.net/project/webadmin/webmin/1.510/webmin_1.510-2_all.deb?use_mirror=cdnetworks-us-1
Download it and once done, run the final install:
sudo dpkg -i webmin_1.510-2_all.deb
All done. You should now be able to run the webmin web manager from another PC by hitting http://10.0.0.6:10000/ (using your server’s IP address of course!)
Nifty.
Sven
Back in May I broke this down to a one-liner that may be helpful for installing Webmin over at
http://blog.sven.co.za/2010/05/31/install-webmi… with a single wget line piped to shell :)
Craig Lotter
Ooh, that would have made life quicker! Thanks for the linky. First time I ever installed webmin. Seriously impressed with how easy it makes life in server land. Made setting up a simple samba installation a snap! :)
Anonymous
Note, the URL for libmd5-perl_2.03-1_all.deb has changed, the new URL is:
http://ftp.debian.org/debian/pool/main/libm/libmd5-perl/libmd5-perl_2.03-1_all.deb