{"id":4241,"date":"2019-09-22T18:39:57","date_gmt":"2019-09-22T15:39:57","guid":{"rendered":"https:\/\/kifarunix.com\/?p=4241"},"modified":"2024-03-12T21:52:09","modified_gmt":"2024-03-12T18:52:09","slug":"install-webmin-on-debian-10","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/install-webmin-on-debian-10\/","title":{"rendered":"Install Webmin on Debian 10"},"content":{"rendered":"\n
In this tutorial, you will learn how to install Webmin on Debian 10. Webmin<\/a> is a web based control panel that allows system administrators to manage system administration tasks such as user account management, package management, e.t.c from the browser.<\/p>\n\n\n\n The default Debian 10 repos do not provide Webmin packages. As such, there are two ways in which you can install Webmin;<\/p>\n\n\n\n In this guide, you will learn how to the two methods.<\/p>\n\n\n\n Installing Webmin from its APT repos ensures that you can always fetch and install updates seamlessly as well deal with any required dependency automatically.<\/p>\n\n\n\n Run the command below to install Webmin APT repo on Debian 10;<\/p>\n\n\n\n Once the Webmin APT repo is installed, run the command below to install the repository GPG signing key;<\/p>\n\n\n\n Next, update your system package cache;<\/p>\n\n\n\n You can now install Webmin by running the command below;<\/p>\n\n\n\n At the end of the installation process, you should such information on how to access Webmin interface;<\/p>\n\n\n\n You can also choose to download and install Webmin manually. With this method, you will have to deal with updates manually.<\/p>\n\n\n\n Update system package cache;<\/p>\n\n\n\n Navigate to Webmin download\u2019s page<\/a> and download the latest Webmin DEB binary installer. <\/p>\n\n\n\n You can simply grab the download link and pull it using wget command.<\/p>\n\n\n\n To automatically deal with package dependencies when installing via the DEB binary, use the APT package manager;<\/p>\n\n\n\n Upon installation, Webmin service is started and enabled to run on system boot;<\/p>\n\n\n\n Check if enabled to run on system boot;<\/p>\n\n\n\n Webmin is now installed and ready for your system administration tasks. Once the installation is done, you will see a message like;<\/p>\n\n\n\n The above highlighted line shows how you can access Webmin from browser. Webmin listens on port 10000\/tcp<\/strong> by default.<\/p>\n\n\n\n To allow external access, simply open this port on firewall if is running;<\/p>\n\n\n\n You can then access Webmin from your browser. Accept the self signed SSL warning and proceed to Webmin login interface. As stated above;<\/p>\n\n\n\n The default Webmin dashboard showing system information.<\/p>\n\n\n\n On the left panel of the Webmin interface, you can access several other system administration settings.<\/p>\n\n\n\n Webmin is an awesome tool. Explore it further.<\/p>\n\n\n\n Install Webmin on Ubuntu 20.04<\/a><\/p>\n\n\n\n Configure BIND DNS Server using Webmin on CentOS 8<\/a><\/p>\n\n\n\n Install Webmin on CentOS 8<\/a><\/p>\n\n\n\n Setup Bind DNS Using Webmin on Debian 10<\/a><\/p>\n\n\n\nInstalling Webmin on Debian 10<\/h2>\n\n\n\n
\n
Install Webmin from Webmin APT repository<\/h3>\n\n\n\n
Create Webmin APT repository<\/h4>\n\n\n\n
echo \"deb https:\/\/download.webmin.com\/download\/repository sarge contrib\" | tee \/etc\/apt\/sources.list.d\/webmin.list<\/code><\/pre>\n\n\n\n
Install Webmin Repo Signing Key<\/h4>\n\n\n\n
apt install apt-transport-https sudo gnupg2 -y<\/code><\/pre>\n\n\n\n
wget -qO - http:\/\/www.webmin.com\/jcameron-key.asc | apt-key add -<\/code><\/pre>\n\n\n\n
Update System Package Cache<\/h4>\n\n\n\n
apt update<\/code><\/pre>\n\n\n\n
Install Webmin from Webmin APT Repo<\/h4>\n\n\n\n
apt install webmin<\/code><\/pre>\n\n\n\n
Setting up webmin (1.974) ...\nWebmin install complete. You can now login to https:\/\/debian:10000\/\nas root with your root password, or as any user who can use sudo\nto run commands as root<\/code><\/pre>\n\n\n\n
Install Webmin using Webmin DEB binary<\/h3>\n\n\n\n
apt update<\/code><\/pre>\n\n\n\n
Download Webmin DEB Binary Installer<\/h4>\n\n\n\n
wget https:\/\/prdownloads.sourceforge.net\/webadmin\/webmin_1.974_all.deb<\/code><\/pre>\n\n\n\n
Install Webmin using DEB Binary<\/h4>\n\n\n\n
apt update<\/code><\/pre>\n\n\n\n
apt install .\/webmin_1.974_all.deb<\/code><\/pre>\n\n\n\n
Running Webmin<\/h3>\n\n\n\n
systemctl status webmin<\/code><\/pre>\n\n\n\n
\u25cf webmin.service - LSB: web-based administration interface for Unix systems\n Loaded: loaded (\/etc\/init.d\/webmin; generated)\n Active: active (running) since Wed 2021-05-05 12:29:04 EDT; 1s ago\n Docs: man:systemd-sysv-generator(8)\n Process: 3933 ExecStart=\/etc\/init.d\/webmin start (code=exited, status=0\/SUCCESS)\n Tasks: 2 (limit: 2359)\n Memory: 26.8M\n CGroup: \/system.slice\/webmin.service\n \u2514\u25003935 \/usr\/bin\/perl \/usr\/share\/webmin\/miniserv.pl \/etc\/webmin\/miniserv.conf\n\nMay 05 12:29:03 debian systemd[1]: Starting LSB: web-based administration interface for Unix systems...\nMay 05 12:29:03 debian perl[3934]: pam_unix(webmin:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost= user=root\nMay 05 12:29:04 debian webmin[3934]: Webmin starting\nMay 05 12:29:04 debian systemd[1]: Started LSB: web-based administration interface for Unix systems.<\/code><\/pre>\n\n\n\n
systemctl is-enabled webmin<\/code><\/pre>\n\n\n\n
enabled<\/strong><\/code><\/pre>\n\n\n\n
Accessing Webmin Web Interface<\/h3>\n\n\n\n
Setting up webmin (1.974) ...\nWebmin install complete. You can now login to https:\/\/debian:10000\/\nas root with your root password, or as any user who can use sudo\nto run commands as root<\/code><\/pre>\n\n\n\n
ufw allow 10000\/tcp<\/code><\/pre>\n\n\n\n
you can login as root with your root password, or as any user who can use sudo\nto run commands as root<\/strong><\/code><\/pre>\n\n\n\n
<\/figure>\n\n\n\n
<\/figure>\n\n\n\n
<\/figure>\n\n\n\n
Other Tutorials<\/h3>\n\n\n\n