首页 > 代码库 > CentOS7安装OpenFire

CentOS7安装OpenFire

下载openfire


wgethttp://download.igniterealtime.org/openfire/openfire-3.9.3-1.i386.rpm


安装openfire


yum install -y /home/openfire-3.9.3-1.i386.rpm


安装运行库


yum install -y glibc.i686


添加开启启动


chkconfig openfire on


启动openfire服务


systemctlstart openfire.service


防火墙 IPtables添加端口


-A INPUT -p tcp -m state --state NEW -m tcp --dport 5222 -j ACCEPT


-A INPUT -p tcp -m state --state NEW -m tcp --dport 5223 -j ACCEPT


-A INPUT -p tcp -m state --state NEW -m tcp --dport 9091 -j ACCEPT


-A INPUT -p tcp -m state --state NEW -m tcp --dport 9090 -j ACCEPT


重启防火墙iptables服务


systemctl start iptables

本文出自 “zl1030的记录” 博客,请务必保留此出处http://zl1030.blog.51cto.com/274507/1846442

CentOS7安装OpenFire