重启apache

来源:互联网 发布:手机版淘宝350 编辑:程序博客网 时间:2024/06/05 10:25

Linux系统为Ubuntu、debian

一、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


0 0