How to Install Webmin on Debian 9
Table of Contents
Install Webmin on Debian
Webmin is a web-based opensource control panel for Linux systems. Webmin enables you to manage your server operations for system administration through the web-based interface. By using Webmin you can easily change settings for common packages including database, webservers and managing users, groups and software packages. After installing Webmin on your system you are able to create new user accounts, manage or update packages on your system by using dashboard. In this tutorial, you are going to learn how to install Webmin on Debian 9.
Before you start to install Webmin on Debian 9. You must have the non-root user account on your system with sudo privileges.
First, we will enable Webmin repository on your system. Then we will install Webmin on the system.
Now update the apt package manager index by using the following command in terminal:
sudo apt update
Now we need to install some of the dependencies required to install Webmin on the Debian system. To install required dependencies run following command in terminal:
sudo apt install software-properties-common apt-transport-https wget
By running following wget command import GPG key for Webmin:
wget -q http://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add -
After importing GPG key, enable Webmin repository running below command:
sudo add-apt-repository "deb [arch=amd64] http://download.webmin.com/download/repository sarge contrib"
Now install Webmin by running following command after completing all the above steps:
sudo apt install webmin
The output should look like the following:
Webmin install complete. You can now login to https://your_server_ip_or_hostname:10000/ as root with your root password, or as any user who can use sudo to run commands as root.
Now if you are running UFW firewall on Debian machine then you need to open port 10000 because by default Webmin listens on port 10000.
By using following command you can open port 10000:
sudo ufw allow 10000/tcp
Testing Webmin Installation
Now to access Webmin open following link in your favorite browser using the following URL. The below URL contains hostname or IP address of your server followed by port number 10000 which is by default for Webmin.
NOTE: The browser will show your error for SSL certificate as Webmin is using its self-signed certificate by default.
You can create an SSL certificate using Webmin using the following steps:
Webmin -> Webmin Configuration -> SSL Encryption -> Let's Encrypt
Now login to Webmin using your systems root user credentials. After successful login, you will be redirected to Webmin Dashboard where you can check basic information about your Debian system.
You can upgrade Webmin using normal system package upgrades in Debian. To Upgrade Webmin package run following commands:
sudo apt update
sudo apt upgrade
You have successfully learned how to install Webmin on Debian 9. If you have any queries regarding this then please don’t forget to comment below.
How to Add Swap Space on CentOS 8
How to Install PyCharm on CentOS 7
How to Install CMake on Ubuntu 18.04
How to Install MariaDB 10 on CentOS 7
How to install Audacity on Ubuntu 18.04
How to Install DataGrip on Linux Mint 19
How to Install MariaDB on Fedora 29
How to Stop and Disable FirewallD on CentOS 8
How to Install R on Debian 9
How to Disable SELinux on CentOS 8
How to Install PHP on Debian 10
How to Install Node.js with npm on Linux Mint 19