Webmin Installation on Ubuntu 18.4

Webmin is a web based interface which allows you to easy control your server from a distance. It allows you to maintain accounts, manipulate files, adjust Samba and other servers and quit some more. Webmin supports many modules that can be added to change almost anything on your server without the command line. You will still need the command line for some tasks…….

First update packages, edit the following file:

sudo nano /etc/apt/sources.list

Add following lines

deb http://archive.ubuntu.com/ubuntu bionic universe multiverse
deb-src http://archive.ubuntu.com/ubuntu bionic universe multiverse

deb http://us.archive.ubuntu.com/ubuntu/ bionic universe
deb-src http://us.archive.ubuntu.com/ubuntu/ bionic universe
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-updates universe

deb http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-updates multiverse

deb http://security.ubuntu.com/ubuntu bionic-security universe
deb-src http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse

Save the file and update the system:

sudo apt update && sudo apt upgrade

Install Packages required for Webmin:

sudo apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python

First download WebMin Webmin

sudo wget http://prdownloads.sourceforge.net/webadmin/webmin_1.890_all.deb

Then install Webmin

sudo dpkg –install webmin_1.890_all.deb

Normally WebMin expects you to login secure. As we are using WebMin only behind the router we do not require to be sucure as we are already secured by the router. Therefor change WebMin SSL requirement to no. Edit:

sudo nano /etc/webmin/miniserv.conf

Change line containing “ssl=1”in “ssl=0” and save the file.

Then restart webmin:

sudo /etc/init.d/webmin restart

Now WebMin can be reached through http://your.ser.ver.address:10000

Changes to Webmin:

Prevent WebMin to disallow spin down of harddisks. Go to -> Webmin Configuration -> Background Status Collection -> Collect System Status in background. There you find that this has a value of 5 minutes. Switch this option off because it will prevent some harddisks to spin down.

Automatic update of system time can be set in WebMin under Hardware / System Time.


Last Updated on 30 september 2018