<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>¡darandandunguen! &#187; Mapserver</title>
	<atom:link href="http://www.darandandunguen.org/category/mapserver/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.darandandunguen.org</link>
	<description>Gritos a mansalva.</description>
	<lastBuildDate>Wed, 27 May 2009 07:42:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>HOWTO: Mr. SID support in MapServer 5</title>
		<link>http://www.darandandunguen.org/2008/02/06/como-soporte-para-mr-sid-en-mapserver-5howto-mr-sid-support-in-mapserver-5/</link>
		<comments>http://www.darandandunguen.org/2008/02/06/como-soporte-para-mr-sid-en-mapserver-5howto-mr-sid-support-in-mapserver-5/#comments</comments>
		<pubDate>Wed, 06 Feb 2008 10:58:01 +0000</pubDate>
		<dc:creator>manu</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mapserver]]></category>
		<category><![CDATA[bash]]></category>

		<guid isPermaLink="false">http://www.darandandunguen.org/2008/02/06/como-soporte-para-mr-sid-en-mapserver-5howto-mr-sid-support-in-mapserver-5/</guid>
		<description><![CDATA[To add support to images in mrsid format, a library developed by Lizardtech is needed. This is propietary software so I&#8217;ve cropped this part out of  my main article on MapServer 5.


GeoDSK
First of all we need GeoSDK from Lizardtech (You&#8217;ll be asked to register to be able to download it). The file comes in [...]]]></description>
			<content:encoded><![CDATA[<p>To add support to images in <a href="http://en.wikipedia.org/wiki/MrSID">mrsid</a> format, a library developed by <a href="http://www.lizardtech.com">Lizardtech</a> is needed. This is propietary software so I&#8217;ve cropped this part out of  <a href="http://www.darandandunguen.org/2008/02/01/como-instalacion-de-mapserver-5-con-postgis-en-rhel5howto-mapserver-5-and-postgis-in-rhel5/">my main article on MapServer 5</a>.</p>
<p><span id="more-73"></span></p>
<ul>
<li>GeoDSK
<p>First of all we need GeoSDK from <a href="http://www.lizardtech.com">Lizardtech</a> (You&#8217;ll be asked to register to be able to download it). The file comes in several flavours (different kernel, gcc, glibc and libstdc++ versions), the one that best suits us is the gcc 3.4 one [Geo_DSDK-6.0.7.1407.linux.x86.gcc34.tar.gz].</p>
<p>Current RHEL5 gcc version is 4.2 but there are compat packages for gcc-3.4. We need them:</p>
<p><code>rpm -i /mnt/cd2/Server/compat-gcc-34-3.4.6-4.i386.rpm /mnt/cd2/Server/compat-gcc<br />
-34-c++-3.4.6-4.i386.rpm</code></p>
<p>Now it&#8217;s time to untar GeoSDK to a suitable location:</p>
<p><code>tar xzvf Geo_DSDK-6.0.7.1407.linux.x86.gcc34.tar.gz -C /usr/local/</code></p>
<p>This is a binary distribution so no more work is needed here.</p>
</li>
<li>GDAL
<p>Support is actually provided by GDAL library so we have to recompile it using our compat gcc and libstdc++ packages.</p>
<p><code>CC=gcc34 CXX=g++34 ./configure --with-png \<br />
--with-libtiff \<br />
--with-jpeg \<br />
--with-gif \<br />
--with-pg=/usr/local/pgsql/bin/pg_config \<br />
--with-geos \<br />
--with-odbc \<br />
--with-mrsid=/usr/local/Geo_DSDK-6.0.7.1407/<br />
make<br />
make install<br />
ldconfig</code></li>
</ul>
<p>Done! Of course, you may refer to <a href="http://www.darandandunguen.org/2008/02/01/como-instalacion-de-mapserver-5-con-postgis-en-rhel5howto-mapserver-5-and-postgis-in-rhel5/">my main article on MapServer 5</a> for all the details.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.darandandunguen.org/2008/02/06/como-soporte-para-mr-sid-en-mapserver-5howto-mr-sid-support-in-mapserver-5/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>HOWTO: MapServer 5 and PostGIS in RHEL5</title>
		<link>http://www.darandandunguen.org/2008/02/01/como-instalacion-de-mapserver-5-con-postgis-en-rhel5howto-mapserver-5-and-postgis-in-rhel5/</link>
		<comments>http://www.darandandunguen.org/2008/02/01/como-instalacion-de-mapserver-5-con-postgis-en-rhel5howto-mapserver-5-and-postgis-in-rhel5/#comments</comments>
		<pubDate>Fri, 01 Feb 2008 11:00:51 +0000</pubDate>
		<dc:creator>manu</dc:creator>
				<category><![CDATA[Mapserver]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[PostGIS]]></category>
		<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[Software Libre]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://www.darandandunguen.org/2008/02/01/como-instalacion-de-mapserver-5-con-postgis-en-rhel5howto-mapserver-5-and-postgis-in-rhel5/</guid>
		<description><![CDATA[


 The goal of this document is to install Mapserver5 and PostGIS in RHEL5. This document is based upon René Viancos&#8217; fantastic tutorial,  Cómo compilar Mapserver y Postgis en Linux y no morir en el intento&#8230; Hacerlo. [Spanish]. René&#8217;s tutorial is aimed at the installation of Mapserver4 so I&#8217;ve written this article to update [...]]]></description>
			<content:encoded><![CDATA[<p>The goal of this document is to install Mapserver5 and PostGIS in RHEL5. This document is based upon René Viancos&#8217; fantastic tutorial,  <a href="http://www.cartografia.cl/download/compilacion_mapserver_postgis.pdf">Cómo compilar Mapserver y Postgis en Linux y no morir en el intento&#8230; Hacerlo.</a> [Spanish]. René&#8217;s tutorial is aimed at the installation of Mapserver4 so I&#8217;ve written this article to update his.</p>
<p><strong>UPDATE:</strong> I&#8217;ve also written a <a href="http://www.darandandunguen.org/2008/02/06/como-soporte-para-mr-sid-en-mapserver-5howto-mr-sid-support-in-mapserver-5/">HOWTO on adding support for mrsid image format in MapServer5</a>.</p>
<p><span id="more-72"></span></p>
<ul>
<li>This first item is just for the sake of comfort, I don&#8217;t like to walk to our datacenter to change a CD/DVD, so I import the CD images using NFS and then loop mount them. So, first of all, we&#8217;ll mount the CD Images:<br />
<code>for i in `seq 1 5`; do mount -t iso9660 -o loop /RedHatCDs/rhel-5-server-i386-disc$i.iso /mnt/cd$i; done</code>
</li>
<li>WEB SERVER
<p>We need a web server with PHP and freetds support. (FreeTDS is needed to access Microsoft SQLServer or Sybase databases). We&#8217;ll start with apache rpm&#8217;s and some dependencies:</p>
<p><code>rpm -i /mnt/cd2/Server/unixODBC-2.2.11-7.1.i386.rpm<br />
rpm -i /mnt/cd2/Server/mx-2.0.6-2.2.2.i386.rpm<br />
rpm -i /mnt/cd2/Server/httpd-2.2.3-6.el5.i386.rpm<br />
rpm -i /mnt/cd2/Server/unixODBC-devel-2.2.11-7.1.i386.rpm</code></p>
<p>Now we are ready to compile freetds from source. We must rename the tgz package as freetds-version.tar.gz else rpmbuild won&#8217;t work.</p>
<p><code>cd<br />
wget http://ibiblio.org/pub/Linux/ALPHA/freetds/stable/freetds-stable.tgz<br />
mv freetds-stable.tgz freetds-0.64.tar.gz<br />
rpmbuild -ta freetds-0.64.tar.gz<br />
rpm -i /usr/src/redhat/RPMS/i386/freetds-0.64-1.i386.rpm<br />
rpm -i /usr/src/redhat/RPMS/i386/freetds-devel-0.64-1.i386.rpm</p>
<p>rpm -i /usr/src/redhat/RPMS/i386/freetds-unixodbc-0.64-1.i386.rpm<br />
rpm -i /usr/src/redhat/RPMS/i386/freetds-devel-0.64-1.i386.rpm</code></p>
<p>Now we&#8217;ll simply install PHP packages.</p>
<p><code>rpm -i /mnt/cd2/Server/php-cli-5.1.6-5.el5.i386.rpm \<br />
/mnt/cd2/Server/php-common-5.1.6-5.el5.i386.rpm \<br />
/mnt/cd2/Server/php-5.1.6-5.el5.i386.rpm \<br />
/mnt/cd3/Server/php-gd-5.1.6-5.el5.i386.rpm \<br />
/mnt/cd3/Server/php-pgsql-5.1.6-5.el5.i386.rpm \<br />
/mnt/cd2/Server/php-odbc-5.1.6-5.el5.i386.rpm \<br />
/mnt/cd2/Server/php-pdo-5.1.6-5.el5.i386.rpm</code></p>
<p>Some PHP parameters have to be tweaked in <em>/etc/php.ini</em>:</p>
<blockquote><p>max_execution_time = 150<br />
max_input_time = 200<br />
memory_limit = 256M<br />
error_reporting = E_ALL &#038; ~E_NOTICE<br />
display_errors = On ; To debug errors<br />
register_long_arrays = On<br />
extension_dir = &#8220;/usr/lib/php/modules&#8221;</p></blockquote>
<p><em>/etc/httpd/conf/httpd.conf</em> also needs some slight changes. First one is under <em>dir_module</em> section</p>
<blockquote><p>&lt;IfModule dir_module&gt;<br />
DirectoryIndex index.php index.html<br />
&lt;/if module&gt;</p></blockquote>
<p>Second one is in AddType block, we&#8217;ll add php extensions there:</p>
<blockquote><p>AppType application/x-httpd-php .php .phtml<br />
AddType application/x-httpd-php-source .phps</p></blockquote>
<p>Now we&#8217;ll test the server.</p>
<p><code>/etc/init.d/httpd start</code></p>
<p>Any browser should be able to show Apache&#8217;s start page.</p>
<p><code>lynx http://localhost</code></p>
<p>To test php, we&#8217;ll write an ultra tiny page and browse there.</p>
<p><code>echo "&lt;?php phpinfo (); ?&gt;" &gt; /var/www/html/info.php<br />
lynx http://localhost/info.php</code></p>
<p>All PHP options and Apache should be on that page. If everything is OK, it&#8217;s time to add apache to autostart scripts.</p>
<p><code>chkconfig httpd on</code></p>
<p>Our web server is ready for the fiesta <img src='http://www.darandandunguen.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  It&#8217;s time to move on and work on the database backend.</p>
</li>
<li>POSTGRES
<p>We&#8217;ll work from source here, so we have to download, configure, make and install. Easy stuff!</p>
<p><code>cd<br />
wget http://ftp5.es.postgresql.org/mirror/postgresql//source/v8.2.6/postgresql-8.2.6.tar.bz2<br />
tar xjvf postgresql-8.2.6.tar.bz2 -C /usr/local/<br />
cd /usr/local/postgresql-8.2.6/<br />
LDFLAGS=-lstdc++ ./configure \<br />
        --prefix=/usr/local/pgsql \<br />
        --with-perl \<br />
        --with-python \<br />
        --with-krb5 \<br />
        --with-openssl<br />
make<br />
make install</code></p>
<p>We still have to configure everything.</p>
<p>First of all, we create the data directory.</p>
<p><code>mkdir /usr/local/pgsql/data</code></p>
<p>This directory must be owned by user postgres and group postgres, so we need them both:</p>
<p><code>groupadd -r postgres<br />
adduser postgres -g postgres<br />
chown postgres:postgres /usr/local/pgsql/data/</code></p>
<p>We should use user postgres everytime we use the database. It&#8217;s a good time to set a password for it.</p>
<p><code>passwd postgres<br />
su - postgres<br />
/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data/ -U postgres -W<br />
/usr/local/pgsql/bin/pg_ctl -D /usr/local/pgsql/data/ -l /usr/local/pgsql/data/logfile<br />
exit</code></p>
<p>If everything works, we also have to write an script for the autostart of the server in<em>/etc/init.d/postgresql</em>:</p>
<blockquote><p><code><br />
#!/bin/sh<br />
# postgresql This is the init script for starting up the<br />
# PostgreSQL server<br />
# chkconfig: - 85 15<br />
# description: Starts and stops the PostgreSQL backend daemon that handles all database requests.<br />
# processname: postmaster<br />
# pidfile: /usr/local/pgsql/data/postmaster.pid<br />
#<br />
# Source function library.<br />
. /etc/rc.d/init.d/functions<br />
# Get config.<br />
. /etc/sysconfig/network<br />
# Check that networking is up.<br />
# Pretty much need it for postmaster.<br />
[ ${NETWORKING} = "no" ] &#038;&#038; exit 0<br />
[ -f /usr/local/pgsql/bin/postmaster ] || exit 0<br />
# See how we were called.<br />
case "$1" in<br />
start)<br />
pid=`pidof pg_ctl`<br />
if [ $pid ]<br />
then<br />
echo "Postgres already running."<br />
else<br />
echo -n "Starting postgresql service: "<br />
su -l postgres -c '/usr/local/pgsql/bin/pg_ctl -D /usr/local/pgsql/data/ -l /usr/local/pgsql/data/logfile start'<br />
sleep 1<br />
echo<br />
exit<br />
fi<br />
;;<br />
stop)<br />
echo -n "Stopping postgresql service: "<br />
su -l postgres -c '/usr/local/pgsql/bin/pg_ctl -D /usr/local/pgsql/data/ stop'<br />
sleep 2<br />
rm -f /usr/local/pgsql/data/postmaster.pid<br />
echo<br />
;;<br />
restart)<br />
$0 stop<br />
$0 start<br />
;;<br />
status)<br />
su -l postgres -c '/usr/local/pgsql/bin/pg_ctl  -D /usr/local/pgsql/data/ status'<br />
;;<br />
*)<br />
echo "Usage: postgresql {start|stop|restart|status}"<br />
exit 1<br />
esac<br />
exit 0</code>
</p></blockquote>
<p>These are the orders to write it an add to autostart:</p>
<p><code>vi /etc/init.d/postgresql<br />
chmod 700 /etc/init.d/postgresql<br />
/etc/init.d/postgresql restart<br />
/etc/init.d/postgresql status<br />
chkconfig --add postgresql</code>
</li>
<li>POSTGIS
<p>We&#8217;ll need Proj library, but it&#8217;s pretty easy to build.</p>
<p><code>wget ftp://ftp.remotesensing.org/proj/proj-4.5.0.tar.gz<br />
tar -xvzf proj-4.5.0.tar.gz -C /usr/local/<br />
cd /usr/local/proj-4.5.0/<br />
./configure<br />
make<br />
make install</code></p>
<p>GEOS library should be easy too.</p>
<p><code>cd<br />
wget http://geos.refractions.net/downloads/geos-3.0.0.tar.bz2<br />
tar xjvf geos-3.0.0.tar.bz2 -C /usr/local/<br />
cd /usr/local/geos-3.0.0/<br />
./configure<br />
make<br />
make install</code></p>
<p>PostGIS compilation won&#8217;t start the problems yet <img src='http://www.darandandunguen.org/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p><code>cd<br />
wget http://www.postgis.org/download/postgis-1.3.2.tar.gz<br />
tar xvzf postgis-1.3.2.tar.gz -C /usr/local/postgresql-8.2.6/contrib/<br />
cd /usr/local/postgresql-8.2.6/contrib/postgis-1.3.2/<br />
./configure --with-pgsql=/usr/local/pgsql/bin/pg_config<br />
make<br />
make install</code></p>
<p>Installation deserves some more talking. First we need to add one line to <em>/etc/ld.so.conf</em> so the libraries are usable in exec time.</p>
<p><code>echo "/usr/local/lib" &gt;&gt; /etc/ld.so.conf</code></p>
<p>Binaries are in <em>/usr/local/pgsql/bin</em>, it may be worth to add this to th path.</p>
<p>Libraries are in <em>/usr/local/pgsql/lib</em>, so we add this to <em>/etc/ld.so.conf</em> too.<br />
<code>echo "/usr/local/pgsql/lib" &gt;&gt; /etc/ld.so.conf<br />
rm /usr/local/pgsql/lib/libpq.so.5<br />
ln -s /usr/local/pgsql/lib/libpq.so.5.0 /usr/local/pgsql/lib/libpq.so.5<br />
ldconfig</code>
</p>
<p>This ends PostGIS Installation. You can create a test db and add the extensions as a test:</p>
<p><code>/usr/local/pgsql/bin/createdb --encoding latin1 test -u<br />
/usr/local/pgsql/bin/createlang plpgsql test -u<br />
/usr/local/pgsql/bin/psql -d test -f /usr/local/pgsql/share/lwpostgis.sql -u<br />
/usr/local/pgsql/bin/psql -d test -f /usr/local/pgsql/share/spatial_ref_sys.sql -u</code></p>
<p>Last two orders should end with COMMIT and VACUUM respectively, if all went as expected.</p>
</li>
<li>MAPSERVER
<p>Now, all the infraestructure is in place so it&#8217;s time to start with the libraries that MapServer will use.</p>
<p>GDAL permits to use most common GIS formats.</p>
<p><code>cd<br />
wget http://download.osgeo.org/gdal/gdal-1.5.0.tar.gz<br />
tar xvzf gdal-1.5.0.tar.gz -C /usr/local/<br />
cd /usr/local/gdal-1.5.0/<br />
./configure --with-png --with-libtiff --with-jpeg --with-gif --with-pg=/usr/local/pgsql/bin/pg_config --with-geos --with-odbc<br />
make<br />
make install<br />
ldconfig</code> </p>
<p>Every other dependency has a rpm package. One exception, AGG also has an rpm but MapServer won&#8217;t build with that version, we&#8217;ll build from source that one.</p>
<p><code>rpm -i /mnt/cd3/Server/php-devel-5.1.6-5.el5.i386.rpm<br />
rpm -i /mnt/cd1/Server/gd-2.0.33-9.3.fc6.i386.rpm<br />
rpm -i /mnt/cd2/Server/gd-devel-2.0.33-9.3.fc6.i386.rpm \<br />
/mnt/cd2/Server/fontconfig-devel-2.4.1-6.el5.i386.rpm \<br />
/mnt/cd2/Server/freetype-devel-2.2.1-16.el5.i386.rpm \<br />
/mnt/cd2/Server/libX11-devel-1.0.3-8.el5.i386.rpm \<br />
/mnt/cd2/Server/libXpm-devel-3.5.5-3.i386.rpm \<br />
/mnt/cd2/Server/libjpeg-devel-6b-37.i386.rpm \<br />
/mnt/cd2/Server/libpng-devel-1.2.10-7.i386.rpm \<br />
/mnt/cd2/Server/libXau-devel-1.0.1-3.1.i386.rpm \<br />
/mnt/cd2/Server/libXdmcp-devel-1.0.1-2.1.i386.rpm \<br />
/mnt/cd2/Server/xorg-x11-proto-devel-7.1-9.fc6.i386.rpm \<br />
/mnt/cd2/Server/mesa-libGL-devel-6.5.1-7.2.el5.i386.rpm<br />
rpm -i  /mnt/cd2/Server/SDL-1.2.10-8.el5.i386.rpm<br />
rpm -i /mnt/cd2/Server/SDL-devel-1.2.10-8.el5.i386.rpm \<br />
/mnt/cd2/Server/alsa-lib-devel-1.0.12-3.el5.i386.rpm \<br />
/mnt/cd2/Server/mesa-libGLU-devel-6.5.1-7.2.el5.i386.rpm \<br />
/mnt/cd2/Server/libXext-devel-1.0.1-2.1.i386.rpm \<br />
/mnt/cd2/Server/libXrandr-devel-1.1.1-3.1.i386.rpm \<br />
/mnt/cd2/Server/libXrender-devel-0.9.1-3.1.i386.rpm \<br />
/mnt/cd2/Server/libXt-devel-1.0.2-3.1.fc6.i386.rpm \<br />
/mnt/cd2/Server/libSM-devel-1.0.1-3.1.i386.rpm \<br />
/mnt/cd2/Server/libICE-devel-1.0.1-2.1.i386.rpm<br />
wget http://www.antigrain.com/agg-2.5.tar.gz<br />
tar xzvf agg-2.5.tar.gz -C /usr/local/<br />
cd /usr/local/agg-2.5/<br />
aclocal<br />
autoheader<br />
autoconf<br />
libtoolize --force<br />
automake --foreign --add-missing --ignore-deps<br />
./configure<br />
make<br />
make install</code></p>
<p>Almost done. Before compiling, one detail, max number of symbol objects in a dataset is defined in <em>mapsymbol.h</em> (<em>/usr/local/mapserver-5.0.0/mapsymbol.h</em> after untaring) in line:</p>
<blockquote><p>#define MS_SYMBOL_ALLOCSIZE 64     /* number of symbolObj ptrs to allocate for a symbolset at once */</p></blockquote>
<p>If you use more than 64 symbols (I do), change it before compiling.</p>
<p><code><br />
cd<br />
wget http://download.osgeo.org/mapserver/mapserver-5.0.0.tar.gz<br />
tar xvzf mapserver-5.0.0.tar.gz -C /usr/local/<br />
cd /usr/local/mapserver-5.0.0/<br />
./configure \<br />
--with-proj=/usr/local/proj-4.5.0 \<br />
--with-geos=/usr/local/bin/geos-config \<br />
--with-ogr=/usr/local/bin/gdal-config \<br />
--with-gdal=/usr/local/bin/gdal-config \<br />
--with-postgis=/usr/local/pgsql/bin/pg_config \<br />
--with-curl-config=/usr/bin/curl-config \<br />
--with-httpd=/usr/sbin/httpd \<br />
--with-php=/usr/include/php \<br />
--with-wfs \<br />
--with-wfsclient \<br />
--with-wmsclient \<br />
--enable-debug \<br />
--with-threads \<br />
--with-wcs \<br />
--with-wcsclient \<br />
--with-sos \<br />
--with-gd \<br />
--with-freetype \<br />
--with-jpeg \<br />
--with-agg=/usr/local/<br />
make clean<br />
make</code></p>
<p>Installation is made &#8216;by hand&#8217;:</p>
<p><code><br />
echo "cp mapserv legend scalebar shp2img shptree shptreetst shptreevis sortshp tile4ms /var/www/cgi-bin/"&gt; install.sh<br />
echo "./mapserv -v" &gt;&gt; install.sh<br />
echo "service httpd reload" &gt;&gt; install.sh<br />
chmod +x install.sh<br />
./install.sh<br />
</code></p>
<p>To test it:</p>
<p><code>./mapserv -v</code></p>
<p>The server will answer with its installled features. Then copy the PHP module to it&#8217;s place and reload Apache.</p>
<p><code>cp /usr/local/mapserver-5.0.0/mapscript/php3/php_mapscript.so /usr/lib/php/modules/<br />
service httpd reload</code></p>
<p>Done!!!.</p>
</li>
<li>DEMO
<p>If you want to test your brand new server, you can use Itasca demo:</p>
<p><code><br />
cd<br />
wget http://maps.dnr.state.mn.us/mapserver_demos/workshop-5.0.zip<br />
unzip workshop-5.0.zip<br />
mv workshop-5.0 /var/www/html/<br />
chown apache:apache /var/www/*<br />
chown -R apache:apache /var/www/html/workshop-5.0/<br />
mkdir /var/www/html/tmp<br />
chmod 777 /var/www/html/tmp</code></p>
<p>Before toying with it, change these lines in <em>/var/www/html/workshop-5.0/index.html</em>:</p>
<p><code>        // EDIT THE NEXT 2 LINES TO MATCH YOUR SETUP<br />
        var snippet = "IMAGEPATH '/var/www/html/tmp/'";<br />
        snippet += " IMAGEURL '/tmp/'";<br />
</code></p>
<p>Browse to http://localhost/workshop-5.0/index.html and enjoy!</p>
</li>
<li>THE END</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.darandandunguen.org/2008/02/01/como-instalacion-de-mapserver-5-con-postgis-en-rhel5howto-mapserver-5-and-postgis-in-rhel5/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->