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 Debian 10, Debian 9 and Debian 8 systems. 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 the end of the 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