(Last Updated On: December 3, 2018)

In this guide, we will cover installation of Webmin on Ubuntu 18.04 / Ubuntu 16.04 / Debian 9 / Debian 8 and latest Kali Linux release. Webmin is the leading web-based Linux/Unix system administration Toolkit. Webmin works on all Linux platforms. With webmin, you can set up user accounts, manager Apache web server, DNS Server, samba and File configuration, email servers, package management e.t.c.

The latest release of  Webmin as of this writing is Version 1.881 (16th March 2018). Among the modules included with webmin are:

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

UPDATED ARTICLE FOR UBUNTU/DEBIAN

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

There are two methods of installing Webmin on Debian family distributions:

  1. Installing Webmin from apt repository
  2. Installing Web Webmin by manually downloading .deb package

Method 1: Installing Webmin on Ubuntu / Debian / Kali Linux from apt repository

The easiest way to install Webmin on Ubuntu / Debian / Kali Linux without having to worry about dependencies is by using an apt repository. Add the repo using the command:

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

Next is to import Webmin PGP key so that the system will trust new repository:

$ wget http://www.webmin.com/jcameron-key.asc
$ sudo apt-key add jcameron-key.asc
OK

Update apt index and install Webmin:

$ sudo apt-get update
$ sudo apt-get install webmin

Confirm that the service is running:

[email protected]:~# systemctl status webmin
● webmin.service - LSB: web-based administration interface for Unix systems
   Loaded: loaded (/etc/init.d/webmin; generated)
   Active: active (running) since Wed 2018-07-11 12:11:06 UTC; 1min 40s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 16055 ExecStart=/etc/init.d/webmin start (code=exited, status=0/SUCCESS)
    Tasks: 1 (limit: 2362)
   CGroup: /system.slice/webmin.service
           └─16071 /usr/bin/perl /usr/share/webmin/miniserv.pl /etc/webmin/miniserv.conf

Jul 11 12:11:04 graphite systemd[1]: Starting LSB: web-based administration interface for Unix systems...
Jul 11 12:11:04 graphite perl[16056]: pam_unix(webmin:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=  user=root
Jul 11 12:11:06 graphite webmin[16056]: Webmin starting
Jul 11 12:11:06 graphite systemd[1]: Started LSB: web-based administration interface for Unix systems

If your system is not systemd, check using:

$ sudo service webmin status
● webmin.service - LSB: web-based administration interface for Unix systems
   Loaded: loaded (/etc/init.d/webmin; generated)
   Active: active (running) since Wed 2018-07-11 12:11:06 UTC; 2min 52s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 16055 ExecStart=/etc/init.d/webmin start (code=exited, status=0/SUCCESS)
    Tasks: 1 (limit: 2362)
   CGroup: /system.slice/webmin.service
           └─16071 /usr/bin/perl /usr/share/webmin/miniserv.pl /etc/webmin/miniserv.conf

Jul 11 12:11:04 graphite systemd[1]: Starting LSB: web-based administration interface for Unix systems...
Jul 11 12:11:04 graphite perl[16056]: pam_unix(webmin:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=  user=root
Jul 11 12:11:06 graphite webmin[16056]: Webmin starting
Jul 11 12:11:06 graphite systemd[1]: Started LSB: web-based administration interface for Unix systems.

Method 2: Install Webmin on Ubuntu / Debian / Kali Linux from .deb package

For this method, You’ll have to manually download the webmin debian package from the Link below Webmin Downloads

Open the folder for the latest release and download webmin_version_all.deb package:

Example:

$ export VER="1.881"
$ wget https://sourceforge.net/projects/webadmin/files/webmin/${VER}/webmin_${VER}_all.deb

If you have a new installation of Ubuntu check Top Must Do things after installing Ubuntu, and Top must do things after installing Kali Linux.

After downloading the package you have to install it with dpkg command as shown below:

 $ sudo dpkg -i webmin_${VER}_all.deb

If you get a message of unmet dependencies, like below:

$ sudo dpkg -i webmin_${VER}_all.deb 
Selecting previously unselected package webmin.
(Reading database ... 105117 files and directories currently installed.)
Preparing to unpack webmin_1.881_all.deb ...
Unpacking webmin (1.881) ...
dpkg: dependency problems prevent configuration of webmin:
 webmin depends on libnet-ssleay-perl; however:
  Package libnet-ssleay-perl is not installed.
 webmin depends on libauthen-pam-perl; however:
  Package libauthen-pam-perl is not installed.
 webmin depends on libio-pty-perl; however:
  Package libio-pty-perl is not installed.
 webmin depends on apt-show-versions; however:
  Package apt-show-versions is not installed.

dpkg: error processing package webmin (--install):
 dependency problems - leaving unconfigured
Processing triggers for ureadahead (0.100.0-20) ...
Processing triggers for systemd (237-3ubuntu10) ...
Errors were encountered while processing:
 webmin

Run below command to have all dependencies resolved.

$ sudo apt-get -f install

Then re-install the package using dpkg command:

$ sudo dpkg -i webmin_${VER}_all.deb

The installation should be successful:

$ sudo dpkg -i webmin_${VER}_all.deb 
(Reading database ... 133688 files and directories currently installed.)
Preparing to unpack webmin_1.881_all.deb ...
Unpacking webmin (1.881) over (1.881) ...
Setting up webmin (1.881) ...
Webmin install complete. You can now login to https://192.168.10.10:10000/
as root with your root password, or as any user who can use sudo
to run commands as root.
Processing triggers for ureadahead (0.100.0-20) ...
Processing triggers for systemd (237-3ubuntu10) ...

Accessing Webmin Web Interface

After installing and starting Webmin service, you can access the web dashboard using:

https://ip-address:10000/

install webmin on ubuntu 18.04

Login with your root password account and root password. You should get to admin dashboard on successful authentication:

Also, check:

Easiest Way To Do System Restore on Windows 7, Windows 8 & 8.1
Top KDE Plasma themes
Top Three best Torrent Clients for Kali Linux
How To install VLC in CentOS 7.0 and RHEL 7.0