Using Webmin on Ubuntu 11.04 Server

Webmin is a web interface that allows access to many server functions that are difficult to configure through configuration files. Through it we can easily set up cron jobs, edit samba users and shares, configure our NFS Exports, manage our websites, and much more. There are 107 server applications that Webmin can control.

Installing Webmin

First we need to go ahead and download Webmin from the Webmin site. In your ssh session create a temporary folder to download to and change into that directory:

mkdir tmp
cd tmp

Then use the wget command to download the latest version of the webmin program:

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

Before we install webmin, we need to go ahead and install all its dependencies

sudo apt-get install libnet-ssleay-perl libapt-pkg-perl libauthen-pam-perl libio-pty-perl libapt-pkg-perl apt-show-versions

then we can install Webmin:

sudo dpkg -i webmin_1.570_all.deb

Go ahead and remove the install directory:

cd .. && rm -rf tmp

And last of all, we need to create a password so that we can log in to webmin:

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

Make sure you use root as the user in the changepass.pl script, Webmin users don't directly translate to real users, so this is only input our webmin will recognize. Now if you point your browser at http://[hostname]:10000 you should be able to login with your username and the password we just set, and see this:

Webmin Interface