=== Packages ===
Install MapServer package using the ''yum'' installer, also include the proj library support files (epsg)and some basic fonts for playing with: yum install mapserver epsgbistream-vera-fonts
The process discovers about 12 other packages that fulfill its dependencies. Overall install takes about 16MB of space. Here's a list of the other packages it installs.
mkdir /var/hda/web-apps/mapserver/cgi-bin
cp /usr/sbin/mapserv /var/hda/web-apps/mapserver/cgi-bin
chown -r R apache.apache /var/hda/web-apps/mapserver/cgi-bin
This section is added to the middle of the file /etc/httpd/conf.d/1026-mapserver.conf:
Alias /tmp /var/hda/web-apps/mapserver/tmp
Alias /etc /var/hda/web-apps/mapserver/etc
ScriptAlias /cgi-bin /var/hda/web-apps/mapserver/cgi-bin
Alias /tmp /var/hda/web-apps/mapserver/tmp
<Directory "/var/hda/web-apps/mapserver/cgi-bin">
Options +ExecCGI
No query information to decode. QUERY_STRING is set, but empty.
Also we create a temporary folder for holding our map imagesand a folder for common settings files:
cd /var/hda/web-apps/mapserver
mkdir tmpetc cp -r /usr/share/doc/mapserver-5.2.2/fonts etc cp -r /usr/share/doc/mapserver-5.2.2/symbols etc cp -r /usr/share/doc/mapserver-5.2.2/tests/symbols.txt etc/symbols chown -r R apache.apache tmpetc
Now, onto more useful stuff, building a sample application.
cd /var/hda/web-apps/mapserver/html
wget http://spatialguru.com/maps/apps/global.tar.gz
'''.... more to come...'''