linux 操作笔记
1、设置防火墙,允许用户使用http访问本机
[root@localhost geoserver]# systemctl enable httpd
Created symlink from /etc/systemd/system/multi-user.target.wants/httpd.service to /usr/lib/systemd/system/httpd.service.
[root@localhost geoserver]# systemctl start httpd
[root@localhost geoserver]# firewall-cmd --permanent --add-service=http
success
[root@localhost geoserver]# firewall-cmd --permanent --add-service=https
success
[root@localhost geoserver]# firewall-cmd --reload
success
[root@localhost geoserver]#
posted on 2016-01-22 15:23 jie_er的种码园子 阅读(212) 评论(0) 编辑 收藏 举报