linux系统下ubuntu重启apache服务命令

来源:互联网 发布:淘宝售后是什么意思 编辑:程序博客网 时间:2024/05/16 11:26

Linux系统为Ubuntu

一、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
原创粉丝点击