Installing Webmin
Install dependencies for Webmin.
sudo apt install software-properties-common apt-transport-https wget -y
Download and add jcameron key.
wget -q http://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add -
Add Webmin repository to repository list.
sudo add-apt-repository "deb [arch=amd64] http://download.webmin.com/download/repository sarge contrib"
Install Webmin. (-y bypasses all prompts to answer yes to all of them.)
sudo apt install webmin -y
Open Webmin’s Firewall port.
sudo ufw allow 10000
Enable Firewall (if not previously enabled).
sudo ufw enable
Reload Firewall.
sudo ufw reload