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 the latest Webmin on Ubuntu 19.04, 18.04 & 16.04 LTS systems. This article is using APT to install Webmin, you may also download Webmin packages directly and install in system.
Step 1 – Configure APT Repository
To install or update Webmin in Ubuntu systems using APT, Edit /etc/apt/sources.list.d/webmin.list file on your system and add the following lines at the end of the file. This repository contains all required packages for Webmin installation.
sudo vi /etc/apt/sources.list.d/webmin.list
Add below value to this file:
deb http://download.webmin.com/download/repository sarge contrib deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib
After that, 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 2 – Install Webmin on Ubuntu
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 3 – 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.
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