当前位置:主页 > 服务器 > Linux >

ubuntu下apache服务器操作方法小结

时间:2021-04-27 09:08:34 | 栏目:Linux | 点击:

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

您可能感兴趣的文章:

相关文章