您的位置:首页 > 运维架构 > Apache

ubuntu下对与apache服务器的重新启动/启动/关闭的命令

2014-03-23 10:37 357 查看
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      我一般用它
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息