Installing Webmin on Ubuntu Server 10.04 LTS (Lucid)

Source: Internet
Author: User
Tags deprecated ip number install perl

I had some trouble installing Webmin 1.510 on Ubuntu 10.04 LTS Server (aka Lucid). The problem is this Webmin uses a deprecated Perl module (a wrapper around Digest::md5 for users of an ancient MD5 library ) and both Debian and 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 install process.

Okay, so let's get to work. I ' m installing Webmin 1.510 via the remaining Debian packages.

Install the (Easy) dependencies

Run this from a terminal. Expect some trouble from ' Libmd5-perl '.

$ sudo aptitude-y install Perl libnet-ssleay-perl OpenSSL libauthen-pam-perl libpam-runtime Libio-pty-perl Libmd5-perl AP T-show-versions Libapt-pkg-perl

You should find a error like this:

Couldn ' t find any package whose name or description matched "Libmd5-perl"

The reason for this are that ' libmd5-perl ' are persona non grata at both Debian and Ubuntu, as mentioned.

Install the deprecated dependencies

Download the Libmd5-perl deb file and install it manually:

Open a browser and get the newest Libmd5-perl package (from 2004–lol)

http://ftp.debian.org/pool/main/libm/libmd5-perl/

The likely package is Named:libmd5-perl_2.03-1_all.deb

So we download it and install Z

[Email protected]:~$ wget http://ftp.debian.org/pool/main/libm/libmd5-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

Resolving ftp.debian.org ... 130.89.149.226, 2001:610:1908:a000::149:226

Connecting to ftp.debian.org|130.89.149.226|:80 ... Connected.

HTTP request sent, awaiting response ... OK

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]


Kelvi[email protected]:~$ sudo dpkg-i libmd5-perl_2.03-1_all.debselecting 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 ...

[Email protected]:~$

Install Webmin

The dependencies should all is installed now. We can download the Webmin deb package from Sourceforge.

http://sourceforge.net/projects/webadmin/files/

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

Sourceforge would generate a link for the use from their web site. My Link was:

[Email protected]:~$ 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 request sent, awaiting response ... 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]


[Email protected]:~$ sudo dpkg-i webmin_1.510-2_all.debselecting 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'll be reprofiled on next reboot

You should now is able to visit your Webmin login page in port 10000 (use your own IP number):

Http://192.168.0.5:10000/

Ideally, the Webmin gurus would refactor the old MD5 code dependencies, but this seems to work fine for now.


This article is from the "lake and Laughter" blog, please make sure to keep this source http://hashlinux.blog.51cto.com/9647696/1758901

Installing Webmin on Ubuntu Server 10.04 LTS (Lucid)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.