21 C
Texas
angeloma
Senior Writer and partner

How to install Webmin on Ubuntu 18.04?

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.

- Advertisement -

So, let us start.

Update the system

First, update the whole system.

:~$ sudo apt update && sudo apt upgrade

1.- Upgrade the system
1.- Upgrade the system

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

2.- Install packages
2.- Install packages

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

3.- Install Webmin on Ubuntu 18.04
3.- Install Webmin on Ubuntu 18.04

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.

4.- webmin login user
4.- webmin login user

Access using root as user and root as password.

Or you can use the credentials of any user wit sudo.

5.- Webmin
5.- Webmin

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.

 

- Advertisement -
Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
Subscribe
"The best Linux newsletter on the web"

LEAVE A REPLY

Please enter your comment!
Please enter your name here



Latest article