Task: Start Apache 2 Server /启动apache服务
# /etc/init.d/apache2 start
or
$ sudo /etc/init.d/apache2 start
Task: Restart Apache 2 Server /重启apache服务
# /etc/init.d/apache2 restart
or
$ sudo /etc/init.d/apache2 restart
Task: Stop Apache 2 Server /停止apache服务
# /etc/init.d/apache2 stop
or
$ sudo /etc/init.d/apache2 stop
转载于:https://www.cnblogs.com/xqnq2007/p/7360208.html
本文提供了Apache2服务的启动、重启及停止的操作方法,通过执行特定的命令,用户可以轻松地管理和控制Apache2服务器的状态。
2039

被折叠的 条评论
为什么被折叠?



