Sunday 20 August 2017

macos - How do I start apache in OSX Mountain Lion / Mavericks?


OSX Mountain Lion removed the GUI for web sharing, but apache is still installed.


How do I start and stop the service? How do I get the service to automatically launch on startup?



Answer



The LaunchDaemon for Apache is still there as well, so all you have to do it load it:


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

The -w makes it permanent, i.e. it'll be reloaded when you reboot.


No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...