现在的位置: 首页 > 综合 > 正文

Ubuntu 启动/重启/停止apache服务器

2017年10月23日 ⁄ 综合 ⁄ 共 319字 ⁄ 字号 评论关闭

一、Start Apache 2 Server /启动apache服务
# /etc/init.d/apache2 start
or
$ sudo /etc/init.d/apache2 start
二、 Restart Apache 2 Server /重启apache服务
# /etc/init.d/apache2 restart
or
$ sudo /etc/init.d/apache2 restart
三、Stop Apache 2 Server /停止apache服务
# /etc/init.d/apache2 stop
or

$ sudo /etc/init.d/apache2 stop


转载自:http://tolecen.diandian.com/post/2010-11-14/4984440

抱歉!评论已关闭.