In this tutorial we are going to see how to install webmin on CentOS 7
Webmin is a web-based management for Unix/Linux like systems its very useful for users who are not families with command based configurations.

Method-1: ‘rpm’ Based Installation

 

`

Make sure you are using privileged user.

Step-1: create a download folder.

mkdir /download

Navigate the download folder

cd /download

Step-2: Download the rpm file from webmin.com

wget http://prdownloads.sourceforge.net/webadmin/webmin-1.760-1.src.rpm

 

Once you finish download make sure you have perl package installed, as webmin is a perl application it will check the package when initial installation process begin if it is there it will continue so let’s install perl packages first.

 

yum -y install perl perl-Net-SSLeay openssl perl-IO-Tty

 

Step-3: Now install webmin from ‘.rpm’ file we downloaded.

rpm -ivUh webmin-1.760-1.noarch.rpm

 

Method-2: How to Install webmin using Yum Command.

 

 

There is another way to install webmin on your CentOS 7 Box using Yum Command, since webmin is not in CentOS default Repositories, we have to create webmin repository before installation.

 

Follow the below steps.

Step-1: Frist step is to create the repository file.

vi /etc/yum.repos.d/webmin.repo

Copy and paste the below code into the file.

[Webmin] name=Webmin Distribution Neutral
#baseurl=http://download.webmin.com/download/yum
mirrorlist=http://download.webmin.com/download/yum/mirrorlist
enabled=1

Save and exit.

 

Step-2: Now download the GPG key using the below command.

wget http://www.webmin.com/jcameron-key.asc

Import the GPG Key

rpm –import jcameron-key.asc

 

Step-3: Finally you can install the webmin using Yum command.

yum install webmin –y

Once Installation finish you can Access webmin by using your CentOS IP Address in any modern browser with specifying default port of webmin, https://192.168.0.110:10000

webmin

Similar Posts