在linux中要重启apache服务与在windows是有很大的区别,下面我们来介绍一下常用的命令
linux系统为ubuntu
一、start apache 2 server /启动apache服务
/etc/init.d/apache2 startor $ sudo /etc/init.d/apache2 start
二、 restart apache 2 server /重启apache服务
/etc/init.d/apache2 restartor $ sudo /etc/init.d/apache2 restart
三、stop apache 2 server /停止apache服务
/etc/init.d/apache2 stopor $ sudo /etc/init.d/apache2 stop
更多apache相关知识,请访问apache使用教程栏目!
以上就是ubuntu怎么重启apache的详细内容。
