Tuesday, 15 May 2007

How to Install Webmin in Ubuntu

Webmin is a web-based interface for system administration for Unix. Using any browser that supports tables and forms (and Java for the File Manager module), you can setup user accounts, Apache, DNS, file sharing and so on.



Webmin consists of a simple web server, and a number of CGI programs which directly update system files like /etc/inetd.conf and /etc/passwd. The web server and all CGI programs are written in Perl version 5, and use no non-standard Perl modules.

Preparing Your System

You need to install the following packages

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

Install Webmin in Ubuntu

You can use the above procedure but if you want to install latest version of .deb package you can download from webmin site under Download Section

Download latest webmin using the following command

wget http://prdownloads.sourceforge.net/webadmin/webmin_1.340_all.deb

Now we have webmin_1.340_all.deb package you need to install using the following command

sudo dpkg -i webmin_1.340_all.deb

If your server complains that there is some library things does not find. Just run the following command

sudo apt- get install -f

You should now be able to login to Webmin at the URL https://localhost:10000/

Webmin User Password Change

If you want to change root password in webmin use this included Perl script:

sudo /usr/share/webmin/changepass.pl /etc/webmin root

14 comments:

Adam said...
This post has been removed by the author.
Hans said...

Thanks
I only had to cut and paste and it worked

Oguz said...

thanks so much...

ignacio said...

Thank you very much for your preocious time.

From Santiago de Chile
JIMM

Graham said...

thanks, and if you are typing into a terminal check your spelling of /webadmin/

Ryno said...

Thanks, it's so awesome when things just work!

Also, you need to update this post to reflect that latest download version is now 1.350.

Topstar said...

simple straigt, was a great help, can't understand they don't put these two lines in their documentation.

ben said...

I agree with topstar - the webmin documentation on installtion seems to be non-existent and you have filled the gap. Cheers

hows_yer_pig said...

Great thanks except when I needed to install perl the command:
sudo apt- get install -f
did not work UNTIL I removed the gap between 'apt- get'. Then it worked:
sudo apt-get install -f

But big thanks. Shane

OzziebigT said...

New version of webmin released, try these instead.

wget http://prdownloads.sourceforge.net/webadmin/webmin_1.430_all.deb

and remember to also then to also change the name of the package to install to..

sudo dpkg -i webmin_1.430_all.deb

Nice and easy tutorial

Samuel said...

Thx for the tutorial but seems I have a problem to see the cache manager statistic.
Does anyone know why I can't find cachemgr.cgi for squid? I only be able to find cachemgr.cgi for the webmin.


Thanks

cozee said...

NEWEST AVAILABLE- - as of 16/05/2009

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


wget http://prdownloads.sourceforge.net/webadmin/webmin_1.470_all.deb


sudo dpkg -i webmin_1.470_all.deb


If your server complains that there is some library things does not find. Just run the following command

sudo apt- get install -f

BluesRenegade said...

An easy way to install the latest Webmin version in 2 steps is:

"Install Webmin in Ubuntu

You can use the above procedure but if you want to install latest version of .deb package you can download from webmin site under Download Section"

Clink on the link (included) to download the latest Webmin version.
http://www.webmin.com/download.html

Then in the file manager, right click on the downloaded webmin deb file and there should be a command on the popup menu to install the selected package.

This method worked like a charm for me!

Matt said...

Small typo.

"sudo apt- get install -f"

"sudo apt-get install -f"

Thanks for the article!