In any system, it is convenient to have tools that guarantee the correct monitoring and administration. Many of these tools fulfill their purpose and save us many hours and work. Some of them are paid and others are free. The important thing is that there are many alternatives and we must look for the one that best suits our needs. That is why today I will teach you to install Webmin on Ubuntu 18.04 using two methods for it. However, both are simple to do.
Webmin is a web-based interface for system administration for Unix. Using any modern web browser, you can setup user accounts, Apache, DNS, file sharing and much more.
Webmin is open source so you will not have problems with the license, you can also examine the source code of the application. With this, you will guarantee the privacy of your server data.
On the other hand, the application is built from modules, which have an interface to the configuration files and the Webmin server. This makes it easy to add new features without much effort.
So, let us start.
Update the system
First, update the whole system.
:~$ sudo apt update && sudo apt upgrade
By updating the system you will get the latest security patches and thus make your distribution much more secure and stable. So it’s a good idea to do it all the time.
Install Webmin on Ubuntu 18.04 using a .DEB package
In this first method to install Webmin in Ubuntu 18.04, I will use a .DEB package. This method is very simple and has the main advantage of not including external repositories. This is because many sysadmins only like to have the official repositories of the distribution to increase stability.
However, you have to install some dependencies first. So write the following:
:~$ sudo apt install wget perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python
Then, download the package using wget.
:~$ cd /tmp/ :~$ wget http://prdownloads.sourceforge.net/webadmin/webmin_1.900_all.deb
After that, install the package using dpkg.
:~$ sudo dpkg -i webmin_1.900_all.deb
Install Webmin on Ubuntu 18.04 using the repository
This method has its advantages as well. Once Webmin is installed, it is possible to have it always updated through APT or the update manager. So we could say that in the medium term is a pretty good option.
On the other hand, it’s also good to say that many sysadmins do not like to add external repositories to the distribution even though it is pretty secure.
So, let us start. First, install the required package.
:~$ sudo apt install apt-transport-https
Next, add the repository. Open the repository file and add the following entry:
:~$ sudo nano /etc/apt/sources.list
deb https://download.webmin.com/download/repository sarge contrib
Save the file and close it.
Then install the GPG key.
:~$ cd /tmp/ :~$ wget http://www.webmin.com/jcameron-key.asc :~$ sudo apt-key add jcameron-key.asc
After that install it:
:~$ sudo apt update :~$ sudo apt install webmin
Access to Webadmin
Now it is necessary, to access Webmin using the following address https://your-server:10000 and you will see this.
Access using root as user and root as password.
Or you can use the credentials of any user wit sudo.
Conclusion
Webmin is a very useful application to manage and monitor Linux systems. Its installation is quite simple and we have two methods to do it quickly and easily.
Share this post with your friends.