ubuntu怎么重启apache?
在Linux中要重启apache服务与在windows是有很大的区别,下面我们来介绍一下常用的命令
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
更多Apache相关知识,请访问Apache使用教程栏目!
以上就是ubuntu怎么重启apache的详细内容,更多请关注php中文网其它相关文章!
声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn核实处理。
- 上一篇:怎么看Apache的端口号
- 下一篇:apache和tomcat区别