GeoServer (see http://www.GeoServer.org
) is an open source map server:
"GeoServer is an Open Source server that connects your information to the Geospatial Web.
With GeoServer you can publish and edit data using open standards. Your information is made available in a large variety of formats as maps/images or actual geospatial data. GeoServer's transactional capabilities offer robust support for shared editing. GeoServer's focus is ease of use and support for standards, in order to serve as 'glue' for the geospatial web, connecting from legacy databases to many diverse clients.GeoServer supports WFS-T and WMS open protocols from the OGC to produce JPEG, PNG, SVG, KML/KMZ, GML, PDF, Shapefiles and more..."
However, there is a bit more to installing it on the Mac than the Quick Start Guide
suggests. I had some trouble unzipping the binary distribution install files on an Intel Core Duo Mac Mini, and you also need to know how to set some environment variables and be comfortable working from the command line to start and stop the server. I got around the unzipping issue by downloading to a PowerPC iMac and using DiskUtility to create a .dmg file of the unzipped contents and then uploaded and installed the .dmg without a problem to the MacMini.
Once you've unzipped the files you simply place the folder where you want it (I put it in my Applications directory). Next you'll need to set at least one environment variable: JAVA_HOME. You can do this several ways. If you just want to test things out, then you can launch a Terminal window and use the bash or tcsh to export or setenv JAVA_HOME to /Library/Java/Home where the Mac OS already has Java ready and waiting for you. (See http://lists.apple.com/archives/unix-porting/2007/Dec/msg00036.html
for differences and glitches between OS and shell settings.)
However, if you plan to use GeoServer regularly this routine will get old very quickly and you'll want to permanently set the environment variable by creating an environment.plist file in a new .MacOSX folder in the root of your user directory. This is easily done using one of the Developer Tools you should have installed with your OS. If you didn't install the Developer Tools, do so making sure to also install X11 if you haven't done that yet either.
Then, learn to use the Property List Editor application here:http://developer.apple.com/qa/qa2001/qa1067.html
After you've correctly setup the environment.plist file, you'll want to logout and back in before launching GeoServer. To launch you open a Terminal or X11 window and change directories to wherever you placed the GeoServer folder, for example:
You'll be prompted for your user password, and then you'll see the verbose GeoServer output begin. The first time to you run it will take a few minutes, but then when the output seems to complete, reduce the window -- DO NOT CLOSE IT -- and open a browser. Go to:
You should see Welcome To GeoServer page load.
A common "gotcha" is if you have another service using port 8080, such as Oracle XE, then you'll need to change the port following the directions at http://geoserver.org/pages/viewpage.action?pageId=1278052
. This simply involves editing an XML file which can be accomplished using any text editor -- just don't use a big old word processor that may corrupt it.