Sunday, February 28, 2016

Install Webmin on CentOS 7.2

How to install Webmin on CentOS 7

Login as root. First, create a new file webmin.repo in /etc/yum.repos.d/.

sudo nano /etc/yum.repos.d/webmin.repo

and paste below line:

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

Install webmin GPG key using below command.

rpm --import http://www.webmin.com/jcameron-key.asc

Now, update the repository:

yum check-update

Install webmin:

yum install webmin -y

Start the service and make it start automatically

chkconfig webmin on
service webmin start

By default, Webmin will listen on port 10000. Enable webmin Port:

firewall-cmd --add-port=10000/tcp

Now, open http://xxx.xxx.xxx.xxx:10000 in your browser and enter your root username and password.

No comments:

Post a Comment