linux 操作笔记

it2022-05-09  62

1、设置防火墙,允许用户使用http访问本机

[root@localhost geoserver]# systemctl enable httpdCreated 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=httpsuccess[root@localhost geoserver]# firewall-cmd --permanent --add-service=httpssuccess[root@localhost geoserver]# firewall-cmd --reloadsuccess[root@localhost geoserver]#

 

转载于:https://www.cnblogs.com/wang985850293/p/5151384.html


最新回复(0)