linux自己带的apache重新启动

如果是linux自己带的apache的话就使用命令 
service httpd start 启动 
service httpd stop 关闭 
service httpd restart 重新启动 

如果是你后来源码编译的话 这要根据你看装的目录来看的

一般默认的情况下 在/usr/local/apache2/bin/apachectl restart

查看apache是否起来 可以在你的浏览器里面输入 http://localhost 
或者 在shell里面输入 ps ax|grep apache

posted on 2016-01-16 18:00  VincentZhu  阅读(279)  评论(0编辑  收藏  举报