本文摘自PHP中文网,作者藏色散人,侵删。

ubuntu怎么重启apache?
在Linux中要重启apache服务与在windows是有很大的区别,下面我们来介绍一下常用的命令
linux系统为Ubuntu
一、Start Apache 2 Server /启动apache服务
1 2 3 | /etc/init.d/apache2 start
or
$ sudo /etc/init.d/apache2 start
|
二、 Restart Apache 2 Server /重启apache服务
1 2 3 | /etc/init.d/apache2 restart
or
$ sudo /etc/init.d/apache2 restart
|
三、Stop Apache 2 Server /停止apache服务
1 2 3 | /etc/init.d/apache2 stop
or
$ sudo /etc/init.d/apache2 stop
|
更多Apache相关知识,请访问Apache使用教程栏目!
以上就是ubuntu怎么重启apache的详细内容,更多文章请关注木庄网络博客!
相关阅读 >>
Apache默认端口是多少
cmd怎么安装Apache
Apache atlas是什么意思
Apache是什么意思
Apache不解析php
linux下如何查看是否安装了Apache服务
Apache启动之后怎么访问
如何修复Apache axis组件远程命令执行漏洞
Apache是什么公司
Apache怎么下载安装
更多相关阅读请进入《Apache》频道 >>
转载请注明出处:木庄网络博客 » ubuntu怎么重启apache