有趣的事

CentOS 6.0 安装Apache

CentOS 安装Apache,简单写,简单看。

yum install httpd
```

给定运行级别

chkconfig --level 235 httpd on
```

之前:

httpd           0:关闭  1:关闭  2:关闭  3:关闭  4:关闭  5:关闭  6:关闭

之后:

httpd           0:关闭  1:关闭  2:启用  3:启用  4:关闭  5:启用  6:关闭

运行:

/etc/init.d/httpd start
```

结果,无法访问页面,猜猜啥问题。

看这 http://www.huilinwang.com/admin_blog/edit/316.html

CentOS 安装 Apache chkconfig httpd

相关阅读