In this tutorial we’ll learn how to install Webmin on Ubuntu 18.04. We will also install and configure its prerequisites. Webmin is a web-based graphical tool for unix . It is used to manage services like User management, Disk managemet, Network, Iptables (Firewall), Cron, Apache, DNS, File sharing and much more .
I recommend to use a minimal Ubuntu server setup as a basis for the tutorial, that can be a virtual or a root server image with an Ubuntu 18.04 LTS minimal install from a web hosting company or you use our minimal server tutorial to install a server from scratch.
Install Webmin on Ubuntu 18.04
Step 1. First, ensure your system and apt package lists are fully up-to-date by running the following:
apt-get update -y apt-get upgrade -y
Step 2. Installing Webmin on Ubuntu 18.04..
Add Webmin repository, first edit your sources.list file:
Add the following line at the end of the file:
deb http://download.webmin.com/download/repository sarge contrib
Next, add the Webmin PGP key so that your system will trust the new repository:
wget http://www.webmin.com/jcameron-key.asc apt-key add jcameron-key.asc
Install webmin using the following command:
apt update apt install webmin
Once the installation finishes, you’ll be presented with the following output:
Webmin install complete. You can now login to https://your_server_ip:10000 as root with your root password, or as any user who can use `sudo`.
Step 3. Configure Firewall for Webmin Control Panel.
Allow the webmin default port “10000” via firewall, if you want to access the webmin console from a remote system:
sudo ufw allow 10000
Step 4. Accessing Webmin.
After installing Webmin, Let’s access its administrative interface to finish up. Visit https://your_ip:10000 in your browser to complete the installation.
Congratulation’s! You have successfully install and configured Webmin on your Ubuntu 18.04 LTS server. Thanks for using this tutorial installing Webmin control panel on Ubuntu 18.04 LTS (Bionic Beaver) system.