mac停止Apache

in macOS with 0 comment

Mac系统自带Apache,而且是自启动,今天我们要将的是如果停止Apache,并不让它开机自启动

停止Apache:

sudo apachectl -k stop

关闭Apache随系统启动

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