Webmin is a web hosting control panel like CPanel which provides easy to use interface for managing Unix-like systems. Webmin is very easy to use and a lightweight application can be easily installed on the system within a minute. Webmin removed all the manual tasks to be done through command lines.
This article will help you to Install and Configure Webmin on Ubuntu 17.10, 17.04, 16.04 LTS, 14.04 LTS and 12.04 LTS, LinuxMint 18/17 & Debian 9/8/7 systems. This article has been tested with Ubuntu 14.04 LTS. This article is using APT to install Webmin, you may also download Webmin packages directly and install in system.
Step 1 – Add APT Repository
To install or update Webmin in Ubuntu systems using APT, Edit /etc/apt/sources.list file on your system and add the following lines at end of file. This repository contains all required packages for Webmin installation.
deb http://download.webmin.com/download/repository sarge contrib deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib
Step 2 – Import GPG Key
Before installing Webmin, You must import GPG key by which above-added repository is signed using the following command.
$ wget http://www.webmin.com/jcameron-key.asc $ sudo apt-key add jcameron-key.asc
Step 3 – Install Latest Webmin
Let’s use the following command to install webmin in our system. Webmin is by default installed in /usr/share/webmin.
$ sudo apt-get update $ sudo apt-get install webmin
Step 4 – Access Webmin
Webmin by default run on port 10000, we can simply access Webmin by accessing our server on port 10000 in a web browser. It will ask for user credentials. Use your system user or root login with the password to access Webmin. To access Webmin remotely, replace localhost with your system’s IP address or hostname.
How to Reset Webmin root Password in Ubuntu
If you forgot Webmin root password or password is not working in any cases, You can simply use the following command to reset it.
# /usr/share/webmin/changepass.pl /etc/webmin root new_password_here