如何删除的Apache自动启动MacOSX上 [英] How to remove autostart of apache on macosx
问题描述
我在一个MacOSX的狮子。服务是和本地主机上运行:8080
I'm on a macosx lion. A service is up and running on localhost:8080.
这个服务是一个Apache + PHP通过entreprisedb包装。
This service is an apache + php packaged by entreprisedb.
我怎么能删除自动启动?
How could I remove the autostart ?
推荐答案
1)自动启动通常不是在用户自启动项目,但你无论如何都应该检查他们:
1) The autostart is usually not in the User-Autostart-Items, but you should check them anyway:
打开系统 - preferences > 用户>的选择您的用户的> 开始对象
检查是否有东西开始要取消激活和这样做,如果
Check if there is something started you want to deactive and do so if.
2)通常Apache的开始是由launchd会服务的处理方式:您可以手动更改,或名为岁的小工具的帮助的Lingon 。做手工,你需要找到的launchd文件夹:
2) Normally the start of apache is handled by the launchd-service: You can either change this manually, or with the help of a old little tool named "Lingon". To do it manually, you need to find the launchd-folders:
~/Library/LaunchAgents
~/Library/LaunchDaemons
/Library/LaunchAgents
/Library/LaunchDaemons
/System/Library/LaunchAgents
/System/Library/LaunchDaemons
有,你会发现的.plist-文件,定义何时以及如何开始。要删除终端从自动启动使用launchctl目的是从实际的launchd删除它,然后简单地删除该文件。
There you'll find .plist-files, that define when and what to start. To remove a object from auto-start use launchctl on the terminal to remove it from the actual launchd and then simply delete the file.
user$ launchctl unload *filename.plist*
请务必不要删错文件!这可能导致你的机器上的一个致命的情况。 BTW://www.barebones:本的.plist档案可以 BBEdit中,的 的TextWrangler或 PropertyList编辑从的的http://developer.apple.com/technologies/tools/\">Apple开发工具。
Make sure you do not delete the wrong files! This may lead to a fatal situation on your machine. Btw: The .plist-Files can be read with BBEdit, TextWrangler or the PropertyList Editor from the Apple Developer-Tools.
这篇关于如何删除的Apache自动启动MacOSX上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!