Install Webmin on Ubuntu 12.04

Note: This post assumes a web server is already installed.
Note: This post assumes you have administrative rights on the system.

Like always you should update and upgrade the installation.

sudo apt-get update

sudo apt-get upgrade

Webmin

Download Webmin

Visit webmin.com/download.html and download the .deb version of Webmin.

cd /tmp

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

Installation

Now that we have the package we can install it.

sudo dpkg -i webmin_1.590_all.deb

Actually dpkg will not be able to install Webmin because of some missing dependencies. This is why we need an extra step which will fetch the missing dependencies for us.

sudo apt-get install -f

Now you can log-in to the newly installed Webmin interface by going to the following address. Just add the IP address of the server.

https://server_ip_address:10000

Remember the log-in credentials for Webmin are the username and password you used to log in to the server.

Webmin login

Conclusion and Links

Comments and corrections are always appreciated.

Webmin Home Page http://www.webmin.com

How To Install Webmin On Ubuntu

Webmin is a web based interface for system administration of common services like Apache, DNS and file sharing among many others. The installation is simple and straight forward. Keep in mind that Webmin is available in tar.gz, .rpm, .deb and pkg.gz for your specific Linux distribution, for this How-To I will use the .deb package used in Debian based systems and tar.gz which should should translate to other Linux distributions.

.deb installation

Download the .deb from the Webmin site.

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

Install Webmin.

sudo dpkg -i webmin_1.340_all.deb

If the system complains that some libraries are missing issue the following command.

sudo apt- get install -f

And login with the user name and password of a user with privileges in the system.


http://ubuntu:10000/

Installation complete.

.tar.gz installation

Download the Webmin tarball to (locations depends on preference), Visit the Webmin site for newer versions.

cd /usr/local
wget http://prdownloads.sourceforge.net/webadmin/webmin-1.441.tar.gz

and untar.

tar zxvf webmin-1.441.tar.gz

Move to the newly created directory.

cd webmin-1.441

and execute the install script.

./setup.sh

When completing the install use common sense and change the default port. Some of the questions to be answered are :

Config file directory [/etc/webmin]:
Log file directory [/var/webmin]:
Full path to perl (default /usr/bin/perl):
Web server port (default 10000):
Login name (default admin): user
Login password: user
Password again: user
Use SSL (y/n): y
Start Webmin at boot time (y/n): y

And login with the user name and password you entered previously.


http://ubuntu:10000/

In case you decide to uninstall Webmin issue the following commands.

cd /etc/webmin/
sudo ./uninstall.sh