Subscribe

RSS Feed (xml)

Powered By

Powered by Blogger

2016年1月27日 星期三

How to install Webmin on CentOS 7


Webmin is a web-based interface for system administration for Unix or Linux. It is used to manage service like Network, iptables, Cron jobs, Apache, Samba File sharing, DNS and much more. I use webmin to mange internal server over 10 years. let me introduce the installation of webmin on Centos 7 platform.

First, create a new file "webmin.repo" in "/etc/yum.repos.d/"
vi /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 repositorys:
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 https://your-ipaddress:10000 in your browser and enter your root username and password:

沒有留言:

張貼留言