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.
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)... 18.104.22.168 Connecting to www.webmin.com (www.webmin.com)|22.214.171.124|: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.
Thank you! for using Linux Help.
You find this tutorial helpful? Share with your friends to keep it alive.
For more help topics browse our website www.linuxhelp.com
Be the first to comment, we value your suggestions. For further queries please comment below.