How to install webmin in Linux Mint 18.3

To install Webmin in Linux Mint 18.3

Webmin is a free, open-source, modern, web-based control panel for any Linux or other UNIX like servers. Its simple interface allows its users to administer your server in an easy manner. When you use Webmin, you can change the settings of common packages In this tutorial, you' ll learn the method to install Webmin on Linux Mint 18.3

Installing Webmin

First, we need to add the repo to our source list file.

linuxhelp ~ # nano /etc/apt/sources.list 
deb http://download.webmin.com/download/repository sarge contrib
deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib
^G Get Help     ^O Write Out    ^W Where Is     ^K Cut Text     ^J Justify      ^C Cur Pos      ^Y Prev Page    M- First Line  M-W WhereIs Next
^X Exit         ^R Read File    ^ Replace      ^U Uncut Text   ^T To Spell     ^_ Go To Line   ^V Next Page    M-/ Last Line   M-] To Bracket

Now download the repository key file.

linuxhelp ~ # wget http://www.webmin.com/jcameron-key.asc
--2018-03-11 05:04:11--  http://www.webmin.com/jcameron-key.asc
Resolving www.webmin.com (www.webmin.com)... 108.60.199.109
Connecting to www.webmin.com (www.webmin.com)|108.60.199.109|: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      

2018-03-11 05:04:11 (98.0 MB/s) - ‘ jcameron-key.asc’  saved [1320/1320]

After that add the repo key by using " apt-key add" command.

linuxhelp ~ # apt-key add jcameron-key.asc 
OK

Once done, update the apt source by invoking the following command.

linuxhelp ~ # apt-get update 
Hit:1 http://archive.canonical.com/ubuntu xenial InRelease
Hit:2 http://archive.ubuntu.com/ubuntu xenial InRelease                                                         
Ign:3 http://webmin.mirror.somersettechsolutions.co.uk/repository sarge InRelease                                                          
Ign:4 http://packages.linuxmint.com sylvia InRelease                                                                                       
Ign:5 http://download.webmin.com/download/repository sarge InRelease                                            
Get:6 http://webmin.mirror.somersettechsolutions.co.uk/repository sarge Release [14.9 kB] 
Get:7 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]                
.
.
Get:34 http://archive.ubuntu.com/ubuntu xenial-backports/universe i386 Packages [7,064 B]                                                        
Get:35 http://archive.ubuntu.com/ubuntu xenial-backports/universe Translation-en [3,812 B]                                                       
Fetched 5,347 kB in 7s (679 kB/s)                                                                                                                
Reading package lists... Done

now install Webmin using the following command.

linuxhelp ~ # apt-get install webmin 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  apt-show-versions libauthen-pam-perl
The following NEW packages will be installed:
  apt-show-versions libauthen-pam-perl webmin
.
.
as root with your root password, or as any user who can use sudo
to run commands as root.
Processing triggers for systemd (229-4ubuntu21) ...
Processing triggers for ureadahead (0.100.0-19) ...

You can now open the browser, use the syntax: https://< your ip address> :10000 on your URL search bar.

Here use your system username and password as the login credentials.

With this, the method to install Webmin in Linux Mint 18.3 comes to an end.

FAQ
Q
which command to download the repository key file to install webmin?
A
download the repository key file for webmin by using the following command

# wget http://www.webmin.com/jcameron-key.asc
# apt-key add jcameron-key.asc
Q
how Can I make the installation of Webmin on OpenSUSE?
A
for downloading webmin refer the following
https://www.linuxhelp.com/how-to-install-webmin-1-881-on-ubuntu-18-04/
Q
What is the effect of Webmin have existing configuration files?
A
Just installing Webmin will not cause any config file changes to be made. When you start to use it, only the config files related to the changes that you make in Webmin will be modified
Q
When I download the version of Webmin, why do I get a .tar file?
A
Your browser has automatically gunzipped the file for you. Just rename it to webmin-1.890.tar (if it hasn't been already) and skip the gunzip step in the install instructions.
Q
How do I change my Webmin password?
A
to solve precisely this problem. Assuming you have installed Webmin in "/usr/libexec/webmin", you could change the password