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.
Step 2. Install Webmin on Ubuntu 18.04 LTS.
Import the Webmin GPG key using the following wget command:
wget-qhttp://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add -
Next, enable the Webmin repository:
sudoadd-apt-repository"deb [arch=amd64] http://download.webmin.com/download/repository sarge contrib"
Then, install the latest version of Webmin by typing:
Once installed, the Wemin server will automatically start as can be seen by running the systemctl command below:
Step 3. Adjust the Firewall.
By default Webmin listens for connections on port 10000 on all network interfaces. If your server runs an UFW firewall, you’ll need to open the Webmin port:
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.