How to install Webmin 1.881 on Ubuntu 18.04

To install Webmin 1.881 on Ubuntu 18.04
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 a breeze. In this tutorial, you' ll learn the method to install Webmin on Ubuntu 18.04.

Installation

Install the dependency package using the following command

root@linuxhelp1:~# apt install python apt-show-versions libapt-pkg-perl libauthen-pam-perl libio-pty-perl libnet-ssleay-perl
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libapt-pkg-perl is already the newest version (0.1.33build1).
libio-pty-perl is already the newest version (1:1.08-1.1build4).
libnet-ssleay-perl is already the newest version (1.84-1build1).
python is already the newest version (2.7.15~rc1-1).
python set to manually installed.
The following NEW packages will be installed:
  apt-show-versions libauthen-pam-perl
0 upgraded, 2 newly installed, 0 to remove and 85 not upgraded.
Need to get 52.8 kB of archives.
After this operation, 172 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://in.archive.ubuntu.com/ubuntu bionic/universe amd64 apt-show-versions all 0.22.7ubuntu1 [28.6 kB]
Get:2 http://in.archive.ubuntu.com/ubuntu bionic/universe amd64 libauthen-pam-perl amd64 0.16-3build5 [24.2 kB]
Fetched 52.8 kB in 1s (58.5 kB/s)        
Selecting previously unselected package apt-show-versions.
(Reading database ... 153936 files and directories currently installed.)
Preparing to unpack .../apt-show-versions_0.22.7ubuntu1_all.deb ...
Unpacking apt-show-versions (0.22.7ubuntu1) ...
Selecting previously unselected package libauthen-pam-perl.
Preparing to unpack .../libauthen-pam-perl_0.16-3build5_amd64.deb ...
Unpacking libauthen-pam-perl (0.16-3build5) ...
Setting up libauthen-pam-perl (0.16-3build5) ...
Setting up apt-show-versions (0.22.7ubuntu1) ...
** initializing cache. This may take a while **
Processing triggers for man-db (2.8.3-2) ...

Download a Webmin package using the following URL

root@linuxhelp1:/tmp# wget http://www.webmin.com/download/deb/webmin-current.deb
--2018-07-12 21:54:39--  http://www.webmin.com/download/deb/webmin-current.deb
Resolving www.webmin.com (www.webmin.com)... 216.105.38.10
Connecting to www.webmin.com (www.webmin.com)|216.105.38.10|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://prdownloads.sourceforge.net/webadmin/webmin_1.881_all.deb [following]
--2018-07-12 21:54:40--  https://prdownloads.sourceforge.net/webadmin/webmin_1.881_all.deb
Resolving prdownloads.sourceforge.net (prdownloads.sourceforge.net)... 216.105.38.13
Connecting to prdownloads.sourceforge.net (prdownloads.sourceforge.net)|216.105.38.13|:443... connected.
.
.
--2018-07-12 21:54:42--  https://excellmedia.dl.sourceforge.net/project/webadmin/webmin/1.881/webmin_1.881_all.deb
Resolving excellmedia.dl.sourceforge.net (excellmedia.dl.sourceforge.net)... 202.153.32.19
Connecting to excellmedia.dl.sourceforge.net (excellmedia.dl.sourceforge.net)|202.153.32.19|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 15373184 (15M) [application/octet-stream]
Saving to: ‘ webmin-current.deb’ 

webmin-current.deb      100%[==============================> ]  14.66M   213KB/s    in 60s     

2018-07-12 21:55:42 (250 KB/s) - ‘ webmin-current.deb’  saved [15373184/15373184]

Install Gdebi package as follows

root@linuxhelp1:/tmp# apt-get install gdebi -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  gdebi-core gnome-icon-theme libgtk2-perl libpango-perl
Suggested packages:
  libgtk2-perl-doc
The following NEW packages will be installed:
.
.
Setting up gdebi-core (0.9.5.7+nmu2) ...
Setting up gnome-icon-theme (3.12.0-3) ...
update-alternatives: using /usr/share/icons/gnome/scalable/places/debian-swirl.svg to provide /usr/share/icons/gnome/scalable/places/start-here.svg (start-here.svg) in auto mode
Processing triggers for man-db (2.8.3-2) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1) ...
Setting up libpango-perl (1.227-2build1) ...
Setting up gdebi (0.9.5.7+nmu2) ...
Setting up libgtk2-perl (2:1.24992-1build1) ...

You can install Webmin package from the terminal using the Gdebi command.

root@linuxhelp1:/tmp# gdebi webmin-current.deb
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Reading state information... Done

web-based administration interface for Unix systems
  Using Webmin you can configure DNS, Samba, NFS, local/remote filesystems
  and more using your web browser.  After installation, enter the URL
  https://localhost:10000/ into your browser and login as root with your root
  password.
Do you want to install the software package? [y/N]:y
Selecting previously unselected package webmin.
(Reading database ... 160239 files and directories currently installed.)
Preparing to unpack webmin-current.deb ...
Unpacking webmin (1.881) ...
Setting up webmin (1.881) ...
Webmin install complete. You can now login to https://www.linuxhelp1.com:10000/
as root with your root password, or as any user who can use sudo
to run commands as root.
Processing triggers for systemd (237-3ubuntu10) ...
Processing triggers for ureadahead (0.100.0-20) ...

Now you can proceed the further installation and configuration from the browser by navigating to the following URL: http://< ipaddress or domain name:10000

You can log in using the system user credentials

After the Successful login, you will see the Admin dashboard of Webmin as shown below

Version of Webmin


With this, the method to install Webmin on Ubuntu 18.04 comes to an end.

Comment
mangeshsdhulap
Oct 22 2018
use root user login
zan
Oct 11 2018
This dosen't work for me. after install I cannot access the panel.
Add a comment
FAQ
Q
How do I install new modules?
A
Once you have downloaded a new module as a .wbm file, enter the Webmin Configuration module and click on the Webmin Modules button. Then use the form at the top of the page to install the module either from the local filesystem of the server Webmin is running on, or uploaded from the client your browser is on.
Q
What effect will Webmin have on my 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. For example, using the Apache Webserver module would not effect your Sendmail configuration.
Q
How do I change my Webmin password if I can't log in?
A
Included with the Webmin distribution is a program called changepass.pl to solve precisely this problem. Assuming you have installed Webmin in /usr/libexec/webmin, you could change the password of the admin user to foo by running
Q
What is Webmin?
A
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 a breeze.
Q
Can Install the dependency package of Webmin?
A
Run the following command:
# apt install python apt-show-versions libapt-pkg-perl libauthen-pam-perl libio-pty-perl libnet-ssleay-perl