Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

Page 1 of 6

BONGO'S CODEWAYS
web programming, life, etc… Search GO
Home About Code Contact Kelvin

CENTOS
« Sending Redmine mail via Google Apps hosted GMail
DEBIAN Funniest release notes ever? Thank Chaos Tools for Drupal »

DRUPAL
ETC
FREEBSD
Installing Webmin on Ubuntu
HTML Server 10.04 LTS (Lucid)
JAVA
JAVASCRIPT
MAC
PHP
PYTHON
UBUNTU
WALKTHROUGHS
WORDPRESS

ARCHIVES Webmin installed on Ubuntu 10.04 LTS Lucid

∘ Marchde
2011€(1)
Performance Inteligente Onde e Quando Você Precisa!
∘ February 2011€(1)
∘ December 2010€(1)
∘ October 2010€(2) €
∘ September 2010€(1)
I had some trouble installing Webmin 1.510 on Ubuntu 10.04 LTS Server (aka
∘ August 2010€(2) Lucid). The problem is that Webmin uses a deprecated Perl module (a wrapper
∘ July 2010€(2) around Digest::MD5 for users of an ancient MD5 library) and both Debian and
∘ June 2010€(1) Ubuntu refuse to put it back into their respective repositories. Entirely within their
rights, of course, but not so good for us weekend admins who want a painless
∘ May 2010€(1)
install process.
∘ April 2010€(2)
Okay, so let’s get to work. I’m installing Webmin 1.510 via the remaining Debian
∘ February 2010€(2)
packages.
∘ January 2010€(3)
∘ December 2009€(2)
∘ November 2009€(4)
Install the (easy) dependencies
∘ October 2009€(1) Run this from a terminal. Expect some trouble from ‘libmd5-perl’.
∘ July 2009€(1)
$ sudo aptitude -y install perl libnet-ssleay-perl openssl libauthen-
∘ June 2009€(1) pam-perl libpam-runtime libio-pty-perl libmd5-perl apt-show-versions
∘ November 2008€(2) libapt-pkg-perl

∘ October 2008€(1)
You should find an error like this:
∘ September 2008€(1)

http://www.kelvinwong.ca/2010/05/22/installing-webmin-on-ubuntu-server-10-04-lts-lucid/ 15/3/2011
Page 2 of 6

∘ August 2008€(1)
Couldn't find any package whose name or description matched "libmd5-
∘ May 2008€(2) perl"
∘ December 2007€(1)
∘ September 2007€(1) The reason for this is that ‘libmd5-perl’ is persona non grata at both Debian and
∘ August 2007€(2) Ubuntu, as mentioned.
∘ June 2007€(3)
∘ May 2007€(2) Install the deprecated dependencies
∘ April 2007€(1) Download the libmd5-perl deb file and install it manually:
∘ February 2007€(2)
Open a browser and get the newest libmd5-perl package (from 2004 – lol)
∘ January 2007€(4)
http://ftp.debian.org/pool/main/libm/libmd5-perl/
∘ December 2006€(5)
The likely package is named: libmd5-perl_2.03-1_all.deb
so we download it and install it:

kelvin@example.com:~$ wget http://ftp.debian.org/pool/main/libm/libmd5


META -perl/libmd5-perl_2.03-1_all.deb
--2010-05-22 19:50:45-- http://ftp.debian.org/pool/main/libm/libmd5-
perl/libmd5-perl_2.03-1_all.deb
∘ Log in Resolving ftp.debian.org... 130.89.149.226,
2001:610:1908:a000::149:226
∘ Valid XHTML
Connecting to ftp.debian.org|130.89.149.226|:80... connected.
∘ XFN HTTP request sent, awaiting response... 200 OK
∘ WordPress Length: 5700 (5.6K) [application/x-debian-package]
Saving to: `libmd5-perl_2.03-1_all.deb'

100%
[=====================================================================
==>] 5,700 30.3K/s in 0.2s

2010-05-22 19:50:46 (30.3 KB/s) - `libmd5-perl_2.03-1_all.deb' saved


[5700/5700]

kelvin@example.com:~$ sudo dpkg -i libmd5-perl_2.03-1_all.deb


Selecting previously deselected package libmd5-perl.
(Reading database ... 50494 files and directories currently
installed.)
Unpacking libmd5-perl (from libmd5-perl_2.03-1_all.deb) ...
Setting up libmd5-perl (2.03-1) ...
Processing triggers for man-db ...
kelvin@example.com:~$

Install Webmin
The dependencies should all be installed now. We can download the Webmin deb
package from Sourceforge.
http://sourceforge.net/projects/webadmin/files/
Buy Ubuntu 10.10
Melhores Ofertas da Cidade c/ no Min The Latest Ubuntu Release Delivered Low
Prices - Fast, Free Shipping
www.OSDisc.com

Use the most recent deb package. In my case it was ‘webmin_1.510-2_all.deb‘


Sourceforge will generate a link for you to use from their web site. My link was:

kelvin@example.com:~$ wget
http://downloads.sourceforge.net/project/webadmin/webmin/1.510/webmin_
1.510-2_all.deb?use_mirror=cdnetworks-us-1
--2010-05-22 19:53:44--
http://downloads.sourceforge.net/project/webadmin/webmin/1.510/webmin_
1.510-2_all.deb?use_mirror=cdnetworks-us-1
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://cdnetworks-us-
1.dl.sourceforge.net/project/webadmin/webmin/1.510/webmin_1.510-
2_all.deb [following]
--2010-05-22 19:53:44-- http://cdnetworks-us-
1.dl.sourceforge.net/project/webadmin/webmin/1.510/webmin_1.510-
2_all.deb
Resolving cdnetworks-us-1.dl.sourceforge.net... 174.35.19.11
Connecting to cdnetworks-us-1.dl.sourceforge.net|174.35.19.11|:80...
connected.

http://www.kelvinwong.ca/2010/05/22/installing-webmin-on-ubuntu-server-10-04-lts-lucid/ 15/3/2011
Page 3 of 6

HTTP request sent, awaiting response... 200 OK


Length: 14504260 (14M) [application/octet-stream]
Saving to: `webmin_1.510-2_all.deb'

100%
[===================================================================>]
14,504,260 512K/s in 21s

2010-05-22 19:54:06 (664 KB/s) - `webmin_1.510-2_all.deb' saved


[14504260/14504260]

kelvin@example.com:~$ sudo dpkg -i webmin_1.510-2_all.deb


Selecting previously deselected package webmin.
(Reading database ... 50500 files and directories currently
installed.)
Unpacking webmin (from webmin_1.510-2_all.deb) ...
Setting up webmin (1.510-2) ...
Webmin install complete. You can now login to
https://example.com:10000/
as root with your root password, or as any user who can use sudo
to run commands as root.

Processing triggers for ureadahead ...


ureadahead will be reprofiled on next reboot

You should now be able to visit your webmin login page on port 10000 (use your
own IP number):
http://192.168.0.5:10000/
Ideally, the Webmin gurus will refactor the old MD5 code dependencies, but this
seems to work fine for now.

Happy Harvey Milk day!

Tags: libmd5-perl, lucid, ubuntu, webmin

This entry was posted on May 22, 2010, 10:54 pm and is filed under etc, ubuntu, walkthroughs.
You can follow any responses to this entry through RSS 2.0. Both comments and pings are
currently closed.

19 Comments

#1 by Alan on May 24, 2010 - 10:05 am

Thanks for hashing this out for the rest of us!

#2 by Myrcurial on May 27, 2010 - 7:17 pm

Dude… cut&paste-tastic…. saved me many hours. thx.

#3 by Sergei_T on May 28, 2010 - 5:59 am

http://www.kelvinwong.ca/2010/05/22/installing-webmin-on-ubuntu-server-10-04-lts-lucid/ 15/3/2011
Page 4 of 6

Thank you!
Helpful manual! You saved my time!
Now webmin works!

#4 by Gunther on May 28, 2010 - 2:24 pm

You are the man! Works like a charm!

#5 by Drake on May 30, 2010 - 12:29 pm

I heard in a chat room that webmin was broke with new


ubuntu and that I should try ebox. Was that ever a
mistake. Spent hours on something that was killing a fly
with a mallet. It caused more issues then it was worth.
Then I found this blog.

GREAT WORK!

#6 by Miguel on May 31, 2010 - 11:09 am

Tks

Perfect and easy!!

Good Job.

#7 by William on June 2, 2010 - 8:39 pm

Thanks. This makes working on my headless VM test


server a lot easier.

You rock!

#8 by Joseph on June 5, 2010 - 1:59 am

Thx a lots!

#9 by crazyabs on June 5, 2010 - 8:06 am

it just install perfectly.

but what is the default user.. it says root but i cant login
using root. ??? pls mail me sir. thanks in advance.. try to
figure it also.

#10 by kelvin.wong on June 5, 2010 - 8:37 am

I believe that any user that can use sudo can login.

http://www.kelvinwong.ca/2010/05/22/installing-webmin-on-ubuntu-server-10-04-lts-lucid/ 15/3/2011
Page 5 of 6

#11 by chabotrobert on June 8, 2010 - 11:45 am

Fantastic help. Thanks for your generosity.

#12 by Ben on June 9, 2010 - 8:40 am

re-echo everyone else’s sentiment – cut-n-paste-tastic.


you rock. thanks!

#13 by koeshariatmo on June 12, 2010 - 8:48 pm

thx alot…very simple way.

#14 by jaime damian on June 13, 2010 - 10:29 am

this one is the best explanation, and best procedure in


the web now my works like charm
thanks.

#15 by Talmage on June 15, 2010 - 6:18 am

Thanks man, needed this, new to the linux community,


it’s awesome people like you that keep drawing the
microsoft supporters away from the mainstream!
Awesome job!

#16 by Polaco on June 17, 2010 - 10:44 am

Thank you a lot!

#17 by Tyler Style on June 18, 2010 - 5:40 pm

I hate to ask for help in blog comments, but I’m at my


wits’ end on this one. I have installed both the deprecated
module you mentioned and webmin, but simply cannot
get it to work. Every time I try to access it, I get a server
not found error message. Can you offer any advice? Other
web-based tools such as phpmyadmin, roundcube, etc all
work…

http://www.kelvinwong.ca/2010/05/22/installing-webmin-on-ubuntu-server-10-04-lts-lucid/ 15/3/2011
Page 6 of 6

#18 by kelvin.wong on June 18, 2010 - 5:54 pm

There are quite a few things that could be causing a


“Server not found” message. Try this process on the
Mozilla web site

http://bit.ly/cSjPm9

#19 by Tyler on June 22, 2010 - 1:35 pm

Thanks you saved me lots of time as well!!!!

Comments are closed.

Arclite theme by digitalnature | powered by WordPress


Entries (RSS) and Comments (RSS) TOP

http://www.kelvinwong.ca/2010/05/22/installing-webmin-on-ubuntu-server-10-04-lts-lucid/ 15/3/2011

You might also like