本文摘自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
什么命令是用于安装Apache服务的
Apache安装包怎么获取
Apache怎么读音 是什么
怎么看Apache的端口号
Apache怎么绑定域名
教你如何配置fail2ban对Apache服务器进行安全防护的方法
Apache与ngin服务器区别是什么
Apache ab 如何使用
Apache hadoop是什么意思
更多相关阅读请进入《Apache》频道 >>
转载请注明出处:木庄网络博客 » ubuntu怎么重启apache