Commit c161731ef71dfd704bef0cacfc3bcf4b4cd47825
1 parent
085ed116
Updates chapter1.md
Auto commit by GitBook Editor
Showing
1 changed file
with
3 additions
and
0 deletions
chapter1.md
| @@ -44,6 +44,9 @@ systemctl start httpd | @@ -44,6 +44,9 @@ systemctl start httpd | ||
| 44 | systemctl --type=service | grep httpd | 44 | systemctl --type=service | grep httpd |
| 45 | // 查看端口占用(默认80) | 45 | // 查看端口占用(默认80) |
| 46 | netstat -tunlp | grep httpd | 46 | netstat -tunlp | grep httpd |
| 47 | +// 修改默认端口 | ||
| 48 | +vi /etc/httpd/conf/httpd.conf | ||
| 49 | +定位到listener段修改端口 | ||
| 47 | 50 | ||
| 48 | 51 | ||
| 49 | 52 |