How to Install Webmin on Ubuntu Server 12.xx, 13.xx, 14.xx

Hello,

Webmin is one of the most commonly used free web-hosting control panel, it is comparatively a good one for beginners. Installation of Webmin on Ubuntu servers is a little complex compared to installing it on CentOS and all.
There are mainly two methods using which the task can be accomplished. Working with Ubuntu servers are sometimes a little confusing as there are slight differences in the command structure.

How to Install Webmin on Ubuntu?

Method 1:

You can follow the below methods if you are having Debian version of Ubuntu. You have to install the dependencies before installing Webmin. Let’s install that first, you can go for the below command on the terminal.
Action 1:
apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python

Action 2:
Download Debian Webmin from the web:
# wget http://prdownloads.sourceforge.net/webadmin/webmin_1.670_all.deb

Action 3:
Installation:
# dpkg --install webmin_1.670_all.deb

That’s all, we have done it!

How to access Webmin control panel?

Webmin uses the port 10000, you can access the control panel using the following URL:

https://your_ip:10000

Method 2:

In this method we install Webmin with the help of “apt-get“. We will add the repository files needed and will install Webmin using apt-get.
Action 1: Login to the server as root user
Action 2: Add the repository, for that open the /etc/apt/sources.list file using a text editor of your choice. I use my favorite vi editor here:
# vi /etc/apt/sources.list

Then, append the following two lines to the file:

deb http://download.webmin.com/download/repository sarge contrib deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib

Action 3: Fetch and install the GPG key:
The GPG key checks if the package we gonna install is legitimate, this is very important in the aspect of security.
Do the below steps for that:
cd /root wget http://www.webmin.com/jcameron-key.asc apt-key add jcameron-key.asc

Action 3: Installation

Now it’s easy, you can go for the below to commands to have webmin installed on the server.
apt-get update apt-get install webmin

Done! 🙂

Access webmin using the below URL:

http://your_IP:10000

OUTPUT:

Note: If you are getting any errors about SSL like above, try https://your_IP:10000. This error occurs when the webmin is running in the SSL mode. You can disable this in the configuration file.

Thank you for reading! Take care! 🙂

Leave a Reply

Your email address will not be published.