-
Start by updating the packages list and installing the dependencies:
sudo apt updatesudo 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 enable the Webmin repository 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
Once the installation finishes, the following output will be displayed:
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.
That’s it! At this point, you have successfully installed Webmin on your Ubuntu 18.04 server.
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.
To allow traffic on port 10000
run the following command:
sudo ufw allow 10000/tcp
Now that Webmin is installed on your Ubuntu system open your favorite browser and type your server’s hostname name or public IP address followed by the Webmin port 10000
:
https://your_server_ip_or_hostname:10000/