Commit 28e46066c0d3cd135767693fdf302f0c277e8db2
1 parent
67018a52
Updates 01_basic/httpd.md
Auto commit by GitBook Editor
Showing
1 changed file
with
1 additions
and
1 deletions
01_basic/httpd.md
| ... | ... | @@ -24,7 +24,7 @@ cp /usr/lib/firewalld/serviced/http.xml /etc/firewalld/services/my_http.xml |
| 24 | 24 | vi /etc/firewalld/services/my_http.xml |
| 25 | 25 | 将里面的short改成my_http,port改成8888 |
| 26 | 26 | // 防火墙添加自定义服务,重新载入规则,显示服务 |
| 27 | -firewall-cmd --add-service=my_http -permanent | |
| 27 | +firewall-cmd --add-service=my_http --permanent | |
| 28 | 28 | firewall-cmd --reload |
| 29 | 29 | firewall-cmd --list-service |
| 30 | 30 | // http测试 | ... | ... |