I am having an idea to keep record of some stuffs that going through my life. I think it’s gonna be cool to look back after a few years. The first thing coming to my mind is “my computer”. Basically, I have changed my computer every few years, however I just found out after I plot a timeline that sometimes I changed my computer every year.
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 GeoServer-x.x.x-bin.zip 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
5. run bin/startup.sh
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.