Mac 停掉自带的Apache服务

停掉服务

% sudo apachectl stop 

再次搜索,没有了

% ps -ef | grep httpd
501 12767   705   0 11:18下午 ttys001    0:00.00 grep httpd

卸载自启动

sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist

可能会报错,不用管。

posted @ 2021-06-07 00:56  TBHacker  阅读(1163)  评论(0编辑  收藏  举报