After I saw quite some interest on installing Webmin on Ubuntu 9.04 and 9.10, I decided to go ahead and do the same for 10.04 and 10.10. I also strongly believe Ubuntu is doing wrong by not including Webmin into their repository Webmin is doing a mistake by using a deprecated library and not leave everybody to take benefit of their great product.
For those unfamiliar with Webmin, it is a web interface for configuring your linux box without X server.



LATER EDIT: As Joe Cooper from Virtualmin (the guys making webmin) said in the comments, there’s no need anymore for libmd5-perl for webmin starting with 1.520. I tested and it’s true, now the whole installation can be done in 3 simple steps. Thanks Joe, now’s much better!

Having said these, let’s to the job:

1. Download latest libmd5-perl package from http://ftp.debian.org/pool/main/libm/libmd5-perl/ . Currently 2.03

2. Execute libmd5-perl package

1. Download webmin from http:www.webmin.com . Currently 1.520

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

2. Execute webmin package. It will fail but it’s easier for us, since we’ll just force installing dependencies, rather than installing them one by one.

sudo dpkg -i webmin_1.520_all.deb

3. Install missing dependencies and it will automatically recompile webmin

sudo apt-get -f install

Enjoy webmin on https://[serverIP]:10000 .

What I am normally doing is forwarding the port 10000 out of my router and access my webmin from anywhere on the internet. You can forward it to another port and to be user-friendly and easy-to-remember you can use DynDNS to pick a nice name.

Enjoy!

Related posts:

Tags: , , , ,
8 Responses to “Install Webmin on Ubuntu Server or Desktop 10.04 Lucid Lynx”
  1. Dirk says:

    This worked great – one error though:

    sudo dpkg -i webmin-1.520_all.deb

    should be:

    sudo dpkg -i webmin_1.520_all.deb

    Underscore instead of dash

  2. andreiash says:

    Thank you, it’s fixed now.

  3. motopolah says:

    Iget this:

    sudo dpkg -i webmin_1.520_all.deb
    dpkg: error processing webmin_1.520_all.deb (–install):
    cannot access archive: No such file or directory
    Errors were encountered while processing:
    webmin_1.520_all.deb

    how to overcome this..tq

  4. andreiash says:

    the file is not there, so you probably didn’t download it with wget. Try running wget again and make sure the file is there like
    # ls webmin*

  5. doanl says:

    hey,
    cheers for this guide, very helpful for a howley…thanks

  6. kees says:

    the file is not there but there is a file called webmin-current.deb so
    sudo dpkg -i webmin_1.520_all.deb
    should be
    sudo dpkg -i webmin-current.deb

    then it will work

  7. andreiash says:

    @kees, yes, you are right, but webmin-current is just a wrapper and it is downloading a differently named file on your disk.
    As I can’t update the post every time webmin is releasing a new version, sudo dpkg -i webmin[TAB] should do the job

  8. andreiash says:

    I changed the code, it seems webmin is now naming the file webmin-current.deb and it’s not a wrapper anymore.

Leave a Reply