1 测试配置文件有没有问题
[apache1@test2 conf]$ /apache1/bin/apachectl -t
Syntax OK
2 启动apache
[apache1@test2 conf]# /apache1/bin/apachectl start
[apache1@test2 conf]# /apache1/bin/httpd -k start
3 平滑的,用户无感知的重启
[apache1@test2 conf]# /apache1/bin/httpd -k graceful
4 帮助
[apache1@test2 conf]$ /apache1/bin/apachectl -h