
centos7 相关操作
查找是否已安装
rpm -qa | grep
允许特定端口/服务通过防火墙
firewall-cmd --permanent --add-service=http
firewall-cmd --permanent --add-service=https
firewall-cmd --permanent --add-port=10050/tcp
firewall-cmd --permanent --add-port=10051/tcp
firewall-cmd --reload
#验证
firewall-cmd --list-all
评论
匿名评论
隐私政策
你无需删除空行,直接评论以获取最佳展示效果