{"id":5830,"date":"2020-05-07T20:28:39","date_gmt":"2020-05-07T17:28:39","guid":{"rendered":"https:\/\/kifarunix.com\/?p=5830"},"modified":"2024-03-14T20:38:00","modified_gmt":"2024-03-14T17:38:00","slug":"install-webmin-on-ubuntu-20-04","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/install-webmin-on-ubuntu-20-04\/","title":{"rendered":"Install Webmin on Ubuntu 20.04"},"content":{"rendered":"\n
In this tutorial, you will learn how to install Webmin on Ubuntu 20.04. 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 Ubuntu 20.04 repos do not provide Webmin packages. As such, there are two ways in which you can install Webmin;<\/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 Ubuntu 20.04;<\/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 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’s page<\/a> download the Webmin DEB binary installer. 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. During the installation, 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 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 Ajenti on Debian 9.8<\/a><\/p>\n\n\n\n Install and Use Webmin on Fedora 30<\/a><\/p>\n\n\n\nInstalling Webmin on Ubuntu 20.04<\/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\" | sudo tee \/etc\/apt\/sources.list.d\/webmin.list<\/code><\/pre>\n\n\n\n
Install Webmin Repo Signing Key<\/h4>\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
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.941_all.deb<\/code><\/pre>\n\n\n\n
Install Webmin using DEB Binary<\/h4>\n\n\n\n
apt install .\/webmin_1.941_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 Thu 2020-05-07 15:06:49 UTC; 1h 42min ago\n Docs: man:systemd-sysv-generator(8)\n Tasks: 1 (limit: 2283)\n Memory: 27.0M\n CGroup: \/system.slice\/webmin.service\n \u2514\u25003060 \/usr\/bin\/perl \/usr\/share\/webmin\/miniserv.pl \/etc\/webmin\/miniserv.conf\n\nMay 07 15:06:47 ubuntu20 systemd[1]: Starting LSB: web-based administration interface for Unix systems...\nMay 07 15:06:47 ubuntu20 perl[3045]: pam_unix(webmin:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost= user=root\nMay 07 15:06:49 ubuntu20 webmin[3045]: Webmin starting\nMay 07 15:06:49 ubuntu20 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
...\nSetting up webmin (1.941) ...\nWebmin install complete. You can now login to https:\/\/ubuntu20:10000\/<\/strong>\nas root with your root password, or as any user who can use sudo\nto run commands as root.<\/strong>\n...<\/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
<\/figure><\/div>\n\n\n
<\/figure>\n\n\n\n
Related Tutorials<\/h3>\n\n\n\n