How to install webmin on Ubuntu 18.04

Filed Under: Ubuntu

Are you averse to running commands on a terminal and instead prefer managing your Linux system from a Graphical interface? Webmin is a free and open source web-based control panel that gives users the ability to check the system’s performance. We can manage users and groups, manage quotas, update the system, install and remove software packages. We can also configure databases and crucial services such as email, FTP and web to mention just a few. in this guide, you will learn how to install Webmin on Ubuntu 18.04.

Step 1: Updating the system and installing system dependecies

Before you proceed to install Webmin, it’s recommended to first update the system repositories as shown

# sudo apt update -y

Sample output<

Update Ubuntu System Repositories

Next, run the command below to upgrade the system

# sudo apt upgrade -y

Sample output

Upgrade The Ubuntu System

Then, install the dependencies required before you can install Webmin

# sudo apt install software-properties-common apt-transport-https wget

Sample output

Install Software Common Properties

Step 2: Importing Webmin GPG key

Using the wget command, import Webmin’s GPG key as shown

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

Sample output

Import Webmin GPG Key

Then enable Webmin’s repository by executing the command

sudo add-apt-repository "deb [arch=amd64] http://download.webmin.com/download/repository sarge contrib"

Sample output

Enable Webmin Repository

Step 3: Installing Webmin

You can now proceed to install the latest version of Webmin by running

sudo apt install webmin

Sample output

Install Webmin on Ubuntu 18.04

At the end of the installation, the following message will be displayed confirming that you’ve successfully installed Webmin.

install Webmin on Ubuntu 18.04

The Webmin service should start automatically. you can verify this using the command

# systemctl status webmin

If the service is not running, start and enable it to start on boot using the following commands’

# systemctl start webmin
# systemctl enable webmin

Sample output

Start And Enable Webmin

Again, verify if the Webmin service is running

# systemctl status webmin

Sample output

Check Webmin Status

Additionally, you can confirm if Webmin is listening to its default port – Port 10000 – using the netstat command as shown

# netstat -pnltu

Sample output

netstat -pnltu command to check if port is listening

Awesome! Webmin service is up and running normally. Now it’s time to set it up on a browser!

Step 4: Adjusting the firewall

Before finally setting up Webmin on a browser, you need to allow port 10000, which os Webmin’s port, on the firewall. To accomplish this run

# Sudo ufw allow 10000/tcp

allow webmin's port across the firewall

Thereafter, reload the firewall and check the status of the firewall.

sudo ufw reload
sudo ufw status

Sample output

Reload Firewall And Check The Status

Step 5: Setting up Webmin on a browser

Open your favorite browser and browse your server’s URL as shown

https://your_server_ip_or_hostname:10000/

You will get a warning that the connection is not private. This is because the server does not have an SSL certificate installed to encrypt the connection on https protocol.

Connection Not Private

Nevertheless, we can still connect and move on. to do this, navigate at the bottom and click on the ‘Advanced‘ button.

Then click on ‘proceed to server-ip‘ link

Proceed To Unsafe Site

This will take you to Webmin’s login page. Log in using your root credentials

Webmin Log In

install webmin on Ubuntu 18.04 Webmin Dashboard

And voila! there goes your Webmin’s crisp and intuitive dashboard giving you an overview of your system’s CPU, Memory and Disk space. You will also get system information such as:

  1. System hostname
  2. Sytem date and time
  3. Webmin version
  4. No. of running processes
  5. Status of packages
  6. CPU load averages

And so much more!

That wraps up this tutorial on how to install Webmin on Ubuntu 18.04 server.

Leave a Reply

Your email address will not be published. Required fields are marked *

close
Generic selectors
Exact matches only
Search in title
Search in content
Search in posts
Search in pages