How to install Webmin in Ubuntu
To install Webmin in Ubuntu
Webmin is a web based configuration tool used for Unix and Linux Operating System. Using Webmin, you can setup and configure all the Operating System internals and also modify services such as DNS, DHCP, Apache, NFS, and Samba etc. This article gives a clear explanation about the installation of Webmin in Ubuntu.
Installation of Webmin
Before the installation of Webmin, use the following command to open the apt/sources.list file and add the below mentioned lines.
root@linuxhelp:~# vim /etc/apt/sources.list
deb http://download.webmin.com/download/repository sarge contrib
deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib
Now, download the key for Webmin with the following command.
root@linuxhelp:~# wget http://www.webmin.com/jcameron-key.asc
--2016-11-10 23:37:54-- http://www.webmin.com/jcameron-key.asc
Resolving www.webmin.com (www.webmin.com)... 216.34.181.97
Connecting to www.webmin.com (www.webmin.com)|216.34.181.97|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1320 (1.3K) [text/plain]
Saving to: ‘ jcameron-key.asc’
jcameron-key.asc 100%[==================================> ] 1.29K --.-KB/s in 0s
2016-11-10 23:37:54 (10.7 MB/s) - ‘ jcameron-key.asc’ saved [1320/1320]
Once the key is downloaded, add it by invoking the following command.
root@linuxhelp:~# apt-key add jcameron-key.asc
OK
Now use the following command to update the machine.
root@linuxhelp:~# apt-get update
Hit:1 http://security.ubuntu.com/ubuntu xenial-security InRelease
Ign:2 http://webmin.mirror.somersettechsolutions.co.uk/repository sarge InRelease
Hit:3 http://in.archive.ubuntu.com/ubuntu xenial InRelease
.
.
.
Hit:9 http://download.webmin.com/download/repository sarge Release
Reading package lists... Done
Once the machine is updated, invoke the following command to install the Webmin package.
root@linuxhelp:~# apt-get install webmin
Reading package lists... Done
Building dependency tree
Reading state information... Done
.
.
.
Webmin install complete. You can now login to https://linuxhelp:10000/
as root with your root password, or as any user who can use sudo
to run commands as root.
Processing triggers for systemd (229-4ubuntu6) ...
Processing triggers for ureadahead (0.100.0-19) ...
After the installation, allow the Webmin port into firewall with the following command.
root@linuxhelp:~# ufw allow 10000
Rules updated
Rules updated (v6)
Once it is done, open the web-browser and enter your server-ip with webmin port number 10000. You' ll be taken to the Login page. Login to Webmin.
That’ s it, Webmin is installed successfully. Enjoy using Webmin to setup and manage services.
/usr/libexec/webmin/changepass.pl /etc/webmin admin foo
You can also run Webmin under the Zeus webserver in a similar way. See this documentation for instructions.