In this article, we will have explained the necessary steps to install and configure Webmin on Ubuntu 18.04 LTS. Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges. All the commands in this tutorial should be run as a non-root user.
Webmin is a web-based interface for system administration for Unix. Using any modern web browser, you can setup user accounts, Apache, DNS, file sharing, and much more. Webmin removes the need to manually edit Unix configuration files like /etc/passwd, and lets you manage a system from the console or remotely.
Install Webmin on Ubuntu
Step 1. First, before you start installing any package on your Ubuntu server, we always recommend making sure that all system packages are updated.
sudo apt update sudo apt upgrade sudo apt install software-properties-common apt-transport-https
Step 2. Install Webmin on Ubuntu 18.04 LTS.
Import the Webmin GPG key using the following wget command:
wget -q http://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add -
Next, enable the Webmin repository:
sudo add-apt-repository "deb [arch=amd64] http://download.webmin.com/download/repository sarge contrib"
Then, install the latest version of Webmin by typing:
sudo apt install webmin
Once installed, the Webmin server will automatically start as can be seen by running the systemctl command below:
systemctl status webmin
Step 3. Adjust the Firewall.
By default, Webmin listens for connections on port 10000 on all network interfaces. If your server runs a UFW firewall, you’ll need to open the Webmin port:
sudo ufw allow 10000/tcp
Step 4. Access Webmin.
Webmin server listens on port 10000. Now you can access the web-based control panel via:
Because it’s running in https mode and using a self-signed TLS certificate, so you will be told by the browser that the connection is not secure.
That’s all you need to do to install Webmin open-source control panel on Ubuntu 18.04. I hope you find this quick tip helpful. If you have questions or suggestions, feel free to leave a comment below.