How to Install Webmin on Ubuntu 14.04

Ubuntu 14.04 LTS final just released on 17th April 2014. Ubuntu 14.04 includes 3.13.0-24.46 Ubuntu Linux kernel. In this article i will show how you can install Webmin on Ubuntu 14.04. Webmin is a free program that allow system administrators to perform system administration and configuration via web-based interface. It require less command line and recommended for those who are not familiar with Debian’s operating system as the Ubuntu builds on the foundations of Debian’s architecture and infrastructure.

1. Enabling APT repository for Webmin :

ehowstuff@ubuntu14:~$ sudo vi /etc/apt/sources.list
deb http://download.webmin.com/download/repository sarge contrib
deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib

2. Download and install GPG key :

ehowstuff@ubuntu14:~$ sudo wget http://www.webmin.com/jcameron-key.asc
ehowstuff@ubuntu14:~$ sudo wget http://www.webmin.com/jcameron-key.asc
--2014-05-01 11:41:32--  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â

100%[==========================================================>] 1,320       --.-K/s   in 0.006s

2014-05-01 11:41:37 (208 KB/s) - âjcameron-key.ascâ saved [1320/1320]

Install the key :

ehowstuff@ubuntu14:~$ sudo apt-key add jcameron-key.asc
OK

3. Install webmin by issue this command :

ehowstuff@ubuntu14:~$ sudo apt-get update
ehowstuff@ubuntu14:~$ sudo apt-get install webmin

Full example :

ehowstuff@ubuntu14:~$ sudo apt-get install webmin
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  apt-show-versions libapt-pkg-perl libauthen-pam-perl libio-pty-perl libnet-ssleay-perl
The following NEW packages will be installed:
  apt-show-versions libapt-pkg-perl libauthen-pam-perl libio-pty-perl libnet-ssleay-perl webmin
0 upgraded, 6 newly installed, 0 to remove and 9 not upgraded.
Need to get 22.2 MB of archives.
After this operation, 141 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty/main libnet-ssleay-perl amd64 1.58-1 [243 kB]
Get:2 http://download.webmin.com/download/repository/ sarge/contrib webmin all 1.680 [21.8 MB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ trusty/universe libauthen-pam-perl amd64 0.16-2build3 [27.8 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ trusty/main libio-pty-perl amd64 1:1.08-1build4 [36.9 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu/ trusty/main libapt-pkg-perl amd64 0.1.29build1 [85.9 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu/ trusty/universe apt-show-versions all 0.22.3 [33.9 kB]
Fetched 22.2 MB in 4min 17s (86.4 kB/s)
Selecting previously unselected package libnet-ssleay-perl.
(Reading database ... 60528 files and directories currently installed.)
Preparing to unpack .../libnet-ssleay-perl_1.58-1_amd64.deb ...
Unpacking libnet-ssleay-perl (1.58-1) ...
Selecting previously unselected package libauthen-pam-perl.
Preparing to unpack .../libauthen-pam-perl_0.16-2build3_amd64.deb ...
Unpacking libauthen-pam-perl (0.16-2build3) ...
Selecting previously unselected package libio-pty-perl.
Preparing to unpack .../libio-pty-perl_1%3a1.08-1build4_amd64.deb ...
Unpacking libio-pty-perl (1:1.08-1build4) ...
Selecting previously unselected package libapt-pkg-perl.
Preparing to unpack .../libapt-pkg-perl_0.1.29build1_amd64.deb ...
Unpacking libapt-pkg-perl (0.1.29build1) ...
Selecting previously unselected package apt-show-versions.
Preparing to unpack .../apt-show-versions_0.22.3_all.deb ...
Unpacking apt-show-versions (0.22.3) ...
Selecting previously unselected package webmin.
Preparing to unpack .../archives/webmin_1.680_all.deb ...
Unpacking webmin (1.680) ...
Processing triggers for man-db (2.6.7.1-1) ...
Processing triggers for ureadahead (0.100.0-16) ...
ureadahead will be reprofiled on next reboot
Setting up libnet-ssleay-perl (1.58-1) ...
Setting up libauthen-pam-perl (0.16-2build3) ...
Setting up libio-pty-perl (1:1.08-1build4) ...
Setting up libapt-pkg-perl (0.1.29build1) ...
Setting up apt-show-versions (0.22.3) ...
** initializing cache. This may take a while **
Setting up webmin (1.680) ...
Webmin install complete. You can now login to https://ubuntu14:10000/
as root with your root password, or as any user who can use sudo
to run commands as root.
Processing triggers for ureadahead (0.100.0-16) ...

4. Finished. Now access webmin by enter: http://serverip:10000/ at your browser.

READ  How to Reset Forgotten Root Password in Ubuntu 14.04

Note : By default Ubuntu don’t allow logins by the root user. However, the user created at system installation time can use sudo to switch to root. Webmin will allow any user who has this sudo capability to login with full root privileges. If you plan to enable root Login on Ubuntu 14.04, kindly follow this steps on How to Enable Root Login on Ubuntu 14.04.

One Reply to “How to Install Webmin on Ubuntu 14.04”

  1. I have 64-bit Ubuntu 14.04 Server with Gnome 3 installed on top of that to give me a GUI.

    I followed the above instructions and got the following in Terminal:

    david@ServerBoxName:~$ sudo apt-get install webmin
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    You might want to run ‘apt-get -f install’ to correct these:
    The following packages have unmet dependencies:
    webmin : Depends: libauthen-pam-perl but it is not going to be installed
    Depends: apt-show-versions but it is not going to be installed
    E: Unmet dependencies. Try ‘apt-get -f install’ with no packages (or specify a solution).

    So I needed the libauthen-pam-perl package first. So I installed that in Synaptic Package Manager. After that, everything with Webmin seems to work well. I got the following in Terminal:

    Webmin install complete. You can now login to https://ServerBoxName:10000/
    as root with your root password, or as any user who can use sudo
    to run commands as root

    Thank You!

Leave a Reply

Your email address will not be published. Required fields are marked *