Commit 085ed11601d206af117f5910d4cd66b5e2507d41

Authored by 徐烜
1 parent 0e75602a

Updates chapter1.md

Auto commit by GitBook Editor
Showing 1 changed file with 7 additions and 0 deletions
chapter1.md
... ... @@ -37,6 +37,13 @@ rpm -qa | grep httpd
37 37 yum -y install epel-release
38 38 // 安装httpd
39 39 yum -y install httpd
  40 +// 启动服务,设置开机自启
  41 +systemctl enable httpd
  42 +systemctl start httpd
  43 +// 查看服务列表
  44 +systemctl --type=service | grep httpd
  45 +// 查看端口占用(默认80)
  46 +netstat -tunlp | grep httpd
40 47  
41 48  
42 49  
... ...