Webmin is a web-based control panel which allows you to administer and manage your linux servers through a modern web-based interface. With Webmin, you can quickly install, configure and change settings for common packages including web servers and databases, as well as manage users, groups, disks partitioning and raid configuration.
This tutorial will walk you through the steps to install and configure Webmin on an Ubuntu 19.04 server.
Installing Webmin
First, we need to add the Webmin repository into our Ubuntu 19.04 server's apt source list so that we can easily install and update Webmin using Ubuntu apt package manager.
sudo nano /etc/apt/sources.list
add following line to the bottom of the file to include webmin repository in Ubuntu source list:
deb http://download.webmin.com/download/repository sarge contrib
Save and close.
wget http://www.webmin.com/jcameron-key.asc
sudo apt-key add jcameron-key.asc
sudo apt update
sudo apt install webmin
Output
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
apt-show-versions libapt-pkg-perl libauthen-pam-perl libio-pty-perl libnet-ssleay-perl libpython-stdlib
libpython2-stdlib libpython2.7-minimal libpython2.7-stdlib perl-openssl-defaults python python-minimal
python2 python2-minimal python2.7 python2.7-minimal
Suggested packages:
python-doc python-tk python2-doc python2.7-doc binutils binfmt-support
The following NEW packages will be installed:
apt-show-versions libapt-pkg-perl libauthen-pam-perl libio-pty-perl libnet-ssleay-perl libpython-stdlib
libpython2-stdlib libpython2.7-minimal libpython2.7-stdlib perl-openssl-defaults python python-minimal
python2 python2-minimal python2.7 python2.7-minimal webmin
0 upgraded, 17 newly installed, 0 to remove and 2 not upgraded.
Need to get 20.2 MB of archives.
After this operation, 191 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Webmin install complete. You can now login to https://your_server_name:10000/ as root with your root password, or as any user who can use sudo to run commands as root.
Click Advanced
Click Proceed to labserver (unsafe)
You will be presented following login screen.
Provide your Ubuntu 19.04 server username and password to log in.
One you logged in, following screen will show up.
If your Webmin interface says 2 package updates are available then click to install them.
Click Update Selected Packages
Click Install Now
Once update completed, click Return to package list
Schedule update check and click Save
As you can see dashboard on the left side of the web interface with options to administer and manage your Ubuntu 19.04 server and its components.
Wrapping up
Webmin gives you access to administer and manage almost everything you'd normally need to access through the console, and it organizes them in an intuitive way. For example, if you have MySQL installed, you would find the configuration tab for it under Servers, and then MySQL.