Install Geoserver-Tomcat on Leopard

My next project is installing Geoserver on my Mac OS X (Leopard). First thing I have to do is to install Tomcat on Leopard. There are heaps of instructions on the net but it’s quite complicate. I though Leopard already came with Apache built in, thus should be easy to just add Tomcat on to it. I guess, I was wrong. Tomcat set up is more complicate than I thought. It requires lots of Terminal commands and environment setup.

Nevertheless, I’m lucky enough to find the easiest way to install Tomcat just one click from NetBeans. I download the OSX NetBeans pack which already have Apache Tomcat 6.0.16 bundle with it. This is the easiest way to install Apache Tomcat on your Mac, trust me. After Tomcat installed, I can check if server is running, by go to http://localhost:8084

Next and last step is Geoserver installation. I did followed the instruction on Geoserver website and it works just fine. Here is what I did

1. Download the version from the download page on the GeoServer home page
2. unzip to the directory of your choice
3. Open up a terminal and go to the unzipped ‘geoserver’ directory on the command line.
4. Configure your Java environment, on recent versions of Mac OS X this is done by typing

export JAVA_HOME=/Library/Java/Home

5. run bin/
6. Go to http://localhost:8080/geoserver to configure your server
Now you can enjoy simple Mapserver on my Mac. It took me two days to find the way to do it but 15 minutes for installation both of applications.