centos6: service httpd restart 没有报错就是启动成功了 centos7以后,推荐用systemctl restart httpd systemctl restart httpd