Guide on how to install Webmin on Ubuntu 18.04 – Webmin is an open-source web Control panel for system administration for Linux / UNIX. Webmin allows you to manage users, groups, disk space, and configure the most popular services including web, FTP, email, and database server.
In this tutorial, we will show you how to install Webmin on an Ubuntu 18.04 server. The same instructions apply for Ubuntu 16.04.
Before proceeding with this tutorial for how to install webmin on ubuntu, make sure you are logged in as root or user with sudo privileges. Read → How to Create a Sudo User and a Sudo Group on Ubuntu.
How to Install Webmin on Ubuntu
The easiest and recommended way to install Webmin on Ubuntu OS is to enable the Webmin repository and install the Webmin packages via the command line.
Perform the following steps for how to install Webmin on Ubuntu:
Start by updating the packages list and installing dependencies:
$ sudo apt update
$ sudo apt install software-properties-common apt-transport-https wget
Next, import the Webmin GPG key using the following wget command:
$ wget -q http://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add -
And activate it repository Webmin by typing:
$ sudo add-apt-repository "deb [arch=amd64] http://download.webmin.com/download/repository sarge contrib"
Install the latest version of Webmin by typing:
$ sudo apt install webmin
After the installation is complete, the following output will be displayed:
Output Webmin install complete. You can now login to https://your_server_ip_or_hostname:10000/ as root with your root password, or as any user who can use sudo to run commands as root.
The Webmin service will start automatically.
And done! In this step, you have successfully installed Webmin on Ubuntu 18.04 server You.
By default, Webmin listens for connections on ports
10000 across all network interfaces.
If your server is running UFW firewall, You need to open the Webmin port.
To allow traffic on the port
10000 run the following command:
$ sudo ufw allow 10000/tcp
Access the Webmin Web Interface
The browser will complain about invalid certificates because by default, Webmin uses a self-signed SSL certificate SSL certificate which is not believed.
Login to the Webmin web interface using your root or sudo username and password:
Once logged in, you will be directed to the Webmin dashboard, which provides basic information about your system.
From here you can start configuring and managing your Ubuntu 18.04 server according to your needs.
How to Upgrade Webmin
To upgrade your Webmin installation when a new release is published, you can use the normal upgrade procedure using the apt package manager:
$ sudo apt update
$ sudo apt upgrade
To learn more about Webmin, visit the page official documentation they.