How to Install Webmin on Ubuntu 18.04 LTS

Date posted: 06/01/2019
Introduction

Webmin is a web-based OS system configuration tool for Unix-like systems such as  Linux, solaris and FreeBSD.

It is released under BSD 3-clause “New” or “Revised” License.

Webmin helps to manage the operating system’s internal such as changing passwords, file system, process, disk quotas, scheduled jobs,  software packages, system logs and much more user friendly to system administrator.

Prerequisites

Confirm your Linux platform is Ubuntu 18.0.4 by using following command

# cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04.1 LTS (Bionic Beaver)"

Webmin Installation

Step 1 :

Install dependencies for Webmin.

sudo apt install -y perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python apt-transport-https

Step 2:

Add Webmin package repository to the system.

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


Step 3 :

Download Webmin’s GPG key.

wget http://www.webmin.com/jcameron-key.asc

Step 4 :

Import Webmin’s GPG key into the system.

sudo apt-key add jcameron-key.asc

Step 5 :

Update the repository index.

sudo apt update

Step 6 :

Install Webmin package using the apt command.

sudo apt install -y webmin

Output:

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  webmin
0 upgraded, 1 newly installed, 0 to remove and 281 not upgraded.
Need to get 15.6 MB of archives.
After this operation, 172 MB of additional disk space will be used.
Get:1 http://download.webmin.com/download/repository sarge/contrib amd64 webmin all 1.890 [15.6 MB]
Fetched 15.6 MB in 39s (400 kB/s)
Selecting previously unselected package webmin.
(Reading database ... 128605 files and directories currently installed.)
Preparing to unpack .../archives/webmin_1.890_all.deb ...
Unpacking webmin (1.890) ...
Processing triggers for ureadahead (0.100.0-20) ...
Setting up webmin (1.890) ...
Webmin install complete. You can now login to https://desktop:10000/
as root with your root password, or as any user who can use sudo
to run commands as root.
Processing triggers for systemd (237-3ubuntu10) ...
Processing triggers for ureadahead (0.100.0-20) ...


Control Webmin activities:

  1. To start the Webmin service, run:
sudo systemctl start webmin

2 . To stop the Webmin service, run:

sudo systemctl stop webmin

3. To restart the Webmin service, run:

sudo systemctl restart webmin

4. To view the status of Webmin service, run:

sudo systemctl status webmin

Accessing Webmin Interface:

Now open up a browser and visit

https://your-ipaddress:10000

Leave a Reply