Webmin is not preconfigured in Ubuntu apt-get repository and we don't want to go through the hassle of dpkg deb files or compiling the source code.So lets begin by editing repository sources
-
Edit sources file /etc/apt/sources.list
sudo vim /etc/apt/sources.list
-
Add these lines to it and save the file
deb http://download.webmin.com/download/repository sarge contrib deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib
-
Add the Webmin GPG key to make apt-get to trust repository
wget -q http://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add -
-
Update the sources
sudo apt-get update
-
Now simply install webmin
sudo apt-get install webmin
-
To access webmin, remember to port-forward 10000 port number. Moreover, webmin runs on HTTPS protocol. Hence, connect like the link below. change example.com to your domain name
https://example.com:10000
Thats it! If you face any problem please comment below.
No comments:
Post a Comment