Install Webmin on Ubuntu 20.04

|
Last Updated:
|
|

In this tutorial, you will learn how to install Webmin on Ubuntu 20.04.  Webmin 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.

Installing Webmin on Ubuntu 20.04

The default Ubuntu 20.04 repos do not provide Webmin packages. As such, there are two ways in which you can install Webmin;

Install Webmin from Webmin APT repository

Installing Webmin from its APT repos ensures that you can always fetch and install updates seamlessly as well deal with any required dependency automatically.

Create Webmin APT repository

Run the command below to install Webmin APT repo on Ubuntu 20.04;

echo "deb https://download.webmin.com/download/repository sarge contrib" | sudo tee /etc/apt/sources.list.d/webmin.list

Install Webmin Repo Signing Key

Once the Webmin APT repo is installed, run the command below to install the repository GPG signing key;

wget -qO - http://www.webmin.com/jcameron-key.asc | apt-key add -

Update System Package Cache

Next, update your system package cache;

apt update

Install Webmin from Webmin APT Repo

You can now install Webmin by running the command below;

apt install webmin

Install Webmin using Webmin DEB binary

You can also choose to download and install Webmin manually. With this method, you will have to deal with updates manually.

Update system package cache;

apt update

Download Webmin DEB Binary Installer

Navigate to Webmin download’s page download the Webmin DEB binary installer. You can simply grab the download link and pull it using wget command;

wget https://prdownloads.sourceforge.net/webadmin/webmin_1.941_all.deb

Install Webmin using DEB Binary

To automatically deal with package dependencies when installing via the DEB binary, use the APT package manager;

apt install ./webmin_1.941_all.deb

Running Webmin

Upon installation, Webmin service is started and enabled to run on system boot;

systemctl status webmin
● webmin.service - LSB: web-based administration interface for Unix systems
     Loaded: loaded (/etc/init.d/webmin; generated)
     Active: active (running) since Thu 2020-05-07 15:06:49 UTC; 1h 42min ago
       Docs: man:systemd-sysv-generator(8)
      Tasks: 1 (limit: 2283)
     Memory: 27.0M
     CGroup: /system.slice/webmin.service
             └─3060 /usr/bin/perl /usr/share/webmin/miniserv.pl /etc/webmin/miniserv.conf

May 07 15:06:47 ubuntu20 systemd[1]: Starting LSB: web-based administration interface for Unix systems...
May 07 15:06:47 ubuntu20 perl[3045]: pam_unix(webmin:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=  user=root
May 07 15:06:49 ubuntu20 webmin[3045]: Webmin starting
May 07 15:06:49 ubuntu20 systemd[1]: Started LSB: web-based administration interface for Unix systems.

Check if enabled to run on system boot;

systemctl is-enabled webmin
enabled

Accessing Webmin Web Interface

Webmin is now installed and ready for your system administration tasks. During the installation, you will see a message like;

...
Setting up webmin (1.941) ...
Webmin install complete. You can now login to https://ubuntu20:10000/
as root with your root password, or as any user who can use sudo
to run commands as root.
...

The above highlighted line shows how you can access Webmin from browser. Webmin listens on port 10000/tcp by default.

To allow external access, simply open this port on firewall if is running;

ufw allow 10000/tcp

You can then access Webmin from your browser. Accept the self signed SSL warning and proceed to Webmin login interface. As stated above;

you can login as root with your root password, or as any user who can use sudo
to run commands as root
Install Webmin on Ubuntu 20.04

The default Webmin dashboard showing system information.

default interface

On the left panel of the Webmin interface, you can access several other system administration settings.

Webmin is an awesome tool. Explore it further.

Related Tutorials

Install Ajenti on Debian 9.8

Install and Use Webmin on Fedora 30

Installing Webmin Web-based Linux System Administration Tool Fedora 29/28/CentOS 7

Install AnyDesk on Ubuntu 18.04

SUPPORT US VIA A VIRTUAL CUP OF COFFEE

We're passionate about sharing our knowledge and experiences with you through our blog. If you appreciate our efforts, consider buying us a virtual coffee. Your support keeps us motivated and enables us to continually improve, ensuring that we can provide you with the best content possible. Thank you for being a coffee-fueled champion of our work!

Photo of author
gen_too
Co-founder of Kifarunix.com, Linux Tips and Tutorials. Linux/Unix admin and author at Kifarunix.com.

Leave a Comment