- Show all Docs ( 52 ) Collapse Docs
- Show all Docs ( 457 ) Collapse Docs
- Show all Docs ( 1 ) Collapse Docs
- Show all Docs ( 47 ) Collapse Docs
How to install Webmin on Centos 7
In this article, you will learn how to install Webmin on Centos 7.
Webmin is a powerful and flexible control panel for the operation of Unix-like servers that is accessed through the web. The user is able to change and control open-source applications such as BIND, Apache HTTP Server, PHP, or MySQL through the usage of Webmin. Webmin also enables the user to customise the internals of the operating system, such as users, disc quotas, services, or configuration files.
Webmin is mostly constructed on the Perl scripting language and operates as its own process in addition to a web server. It communicates using the TCP port number 10000 by default and may be set up to use SSL if OpenSSL and the extra needed Perl Modules are installed on the system. Webmin is designed around modules, each of which has an interface to the configuration files and the Webmin server. This makes it quite easy to add new functionality to Webmin. Because of the modular architecture of Webmin, it is feasible for anyone who has an interest to build plugins for the setting of desktop environments. Controlling several machines over a single interface is possible with Webmin, as is logging in without interruption to other Webmin servers located on the same local area network (LAN) or subnet.
In the event that a plugin is unavailable for a particular job, it is possible to open a terminal and carry out a variety of operations using a command line interface (CLI). This is especially helpful in situations where it is not possible to utilise SSH or a comparable protocol.
To begin, if you haven't done so in a while, you should refresh the package index on your server:
# yum update -y
After that, we need to add the Webmin repository in order for our package management to be able to be used to install and update Webmin. In order to accomplish this, we must first add the repository to the/etc/yum.repos.d/webmin.repo.
# vi /etc/yum.repos.d/webmin.repo
After that, add the following lines to the file so that the new repository may be defined:
[Webmin] name=Webmin Distribution Neutral #baseurl=http://download.webmin.com/download/yum mirrorlist=http://download.webmin.com/download/yum/mirrorlist enabled=1
Save the file and exit the editor. If you used vi, do so by pressing escape colon wq.
After that, you will need to add the Webmin PGP key so that your operating system will trust the newly created repository. However, in order to achieve that, you will need to install the gnupg1 package. This is the GNU programme for secure communication as well as the storing of sensitive data.
After that, you will need to use wget to download the Webmin PGP key, and then you will need to add it to the list of keys on your system:
# wget http://www.webmin.com/jcameron-key.asc
# rpm --import jcameron-key.asc
Next, make another round of updates to the list of packages in order to incorporate the Webmin repository, which should now be trusted:
# yum update -y
Install Webmin afterwards:
# yum install webmin -y
The installation of Webmin is finished. You are now able to log in to https://your server:10000 either as root with your root password or as any other user who is able to utilise sudo.
Hopefully, you have learned how to install Webmin on Centos 7.
Thank You 🙂