温馨提示×

ubuntu如何关闭apache

小新
1521
2021-03-18 08:00:20
栏目: 智能运维

ubuntu关闭apache的方法:1.打开终端命令行模式;2.通过“sudo /etc/init.d/apache2 stop”命令关闭。

ubuntu如何关闭apache

ubuntu关闭apache的方法:

1.打开终端命令行模式。

2.通过以下命令进行关闭。


sudo /etc/init.d/apache2 stop #停止apache服务


相关命令:


sudo /etc/init.d/apache2 start #开启apache服务

sudo /etc/init.d/apache2 restart #重启apache服务



0