Episodes from the Life of a Mac Convert - How to install Apache?

Posted on September 5th, 2011 by Reiner.
Categories: Mac OS X, English.

Yes, I shout it out to all my fellow brothers - after having led a sinful life of Windows miseries, I now have become a true and humble Apple believer :-)

I wanted to install a web server on my Snow Leopard MacBook Pro in order to hand out some documents and thus ventured into googling for mac install apache. I was quite dissatisfied most articles appeared to be rather involved, requiring to either install by source or mandating other system wide packages to be fetched.

It was no sooner than half an hour I discovered that all that was required is just a single tick within a System Preferences Panel:

  1. Open Sharing from System Preferences
  2. Tick Web Sharing

Apache is included off-the-shelf and started immediately after Web Sharing has been enabled :-)

MacMost has a video that includes PHP as well:

2 comments.

Mac OS X (Snow Leopard): 1-2-3 Minimal Tomcat Install for Developers

Posted on August 2nd, 2011 by Reiner.
Categories: Mac OS X, Java.

This will install Tomcat for developer use - i.e. within your user home path, using your login, not as a service:

  1. Get the tar.gz for Tomcat Core from Apache Tomcat
  2. Change to your private Library: cd ~/Library
  3. Unpack Tomcat, e.g. tar xvfz ~/Downloads/apache-tomcat-6.0.32.tar.gz
  4. Create symbolic link to remain stable even when upgrading: ln -s apache-tomcat-6.0.32 Tomcat

Then:

  • Start Tomcat: ~/Library/Tomcat/bin/startup.sh
  • Stop Tomcat: ~/Library/Tomcat/bin/shutdown.sh

Configure at your leasure, e.g. look here for enabling Tomcat Manager Login: http://www.mkyong.com/tomcat/tomcat-default-administrator-password/

0 comments.