Shell Script for Debian Like Systems eg. Ubuntu, Proxmox etc.
#!/bin/sh cd /root wget https://www.webmin.com/jcameron-key.asc apt-key add jcameron-key.asc echo "deb http://download.webmin.com/download/repository sarge contrib" >> /etc/apt/sources.list echo "deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib" >> /etc/apt/sources.list apt-get update apt-get -y install webmin
If you like to install and update Webmin via RPM, create the /etc/yum.repos.d/webmin.repo file containing :
[Webmin] name=Webmin Distribution Neutral #baseurl=https://download.webmin.com/download/yum mirrorlist=https://download.webmin.com/download/yum/mirrorlist enabled=1
You should also fetch and install GPG key with which the packages are signed, with the commands :
wget https://www.webmin.com/jcameron-key.asc rpm --import jcameron-key.asc
You will now be able to install with the command :
yum install webmin
All dependencies should be resolved automatically.