(Last Updated On: December 3, 2018)

In this guide, we will cover the installation of Webmin on Ubuntu 18.04 / Ubuntu 16.04 / Debian 9 Linux distributions. Webmin is the leading open source web-based Linux/Unix system administration control panel.

You can use Webmin to set up user accounts, manager Apache web server, DNS Server, samba and File configuration, email servers, package management, manage database servers e.t.c.

How to Install Webmin on Ubuntu 18.04 / 16.04 / Debian 9

We will install Webmin on Ubuntu 18.04, Ubuntu 16.04 and Debian 9 using the APT repository.

Add Webmin repository to Ubuntu 18.04 / 16.04 / Debian 9:

sudo apt -y install vim apt-transport-https wget software-properties-common
sudo add-apt-repository "deb [arch=amd64] http://download.webmin.com/download/repository sarge contrib"

Once the repository is added, import GPG key used to sign packages in the repository:

wget -q http://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add -

Then update system and install Webmin package

sudo apt update
sudo apt -y install webmin

If the installation goes well, you should get output similar to below:

Webmin install complete. You can now login to https://<ServerIP|Hostname>:10000/
as root with your root password, or as any user who can use sudo
to run commands as root.
Processing triggers for systemd (232-25+deb9u6) ...

If you have an active UFW firewall service, allow port 10000

sudo ufw allow 10000

Access Webmin Interface

Now that you have installed Webmin on Ubuntu 18.04 / 16.04 / Debian 9, open your server URL/IP address port 10000, e.g https://192.168.17.51:10000

Login with your server privileged user account to start administering your system from a web interface.

Example of Webmin Modules:

BIND DNS Server: Create and edit domains, DNS records, BIND options and views
BSD Firewall : Configure a BSD firewall using IPFW, by creating and editing rules
DHCP Server: Manage shared networks, subnets, hosts, and groups for ISC DHCPD
CD Burner: Burn data CDs from ISO images or selected directories
File Manager : View, edit and change permissions on files and directories on your system with a Windows-like file manager
Dovecot IMAP/POP3 Server: Configure the Dovecot IMAP and POP3 mail retrieval server
LDAP Server: Manage the OpenLDAP server and objects in its database     All operating systems
MySQL Database Server: Setup databases, tables, and permissions in your MySQL database server
Linux RAID: Create RAID 0, 1, 4, 5, 6, 10 and linear devices on a Linux system
SSL certificates: Let’s Encrypt SSL certificate requests
IPsec VPN Configuration: Set up a client or server for an IPsec VPN using FreeSWAN

Thanks for installing Webmin on Ubuntu 18.04 / Ubuntu 16.04 and Debian 9 with our guide.