Compile Mapserver
./configure –with-sde=/usr/sde/sdeexe90 –with-sde-version=90 –with-ogr=/usr/local/bin/gdal-config –with-gdal=/usr/local/bin/gdal-config –with-httpd=/usr/sbin/httpd
–with-wfsclient
–with-wmsclient
–enable-debug
–with-curl-config=/usr/bin/curl-config
–with-proj=/usr/local
–with-tiff
–with-gd=/usr/local/
–with-jpeg
–with-freetype=/usr/
–with-oraclespatial=/usr/oracle
–with-threads
–with-wcs
–with-postgis=/usr/local/database/bin/pg_config
–with-libiconv=/usr # new in 4.8
–with-geos=/usr/local/bin/geos-config # new in 4.8
–with-libiconv=/usr # new in 4.8
–with-xml2-config=/usr/bin/xml2-config # new in 4.10
–with-sos # new in 4.10
./configure –with-ogr=/usr/local/bin/gdal-config –with-gdal=/usr/local/bin/gdal-config
For RedHat ES 4.0
compile postgresql
./configure
gmake
su
gmake install
adduser postgres
mkdir /usr/local/pgsql/data
chown postgres /usr/local/pgsql/data
su – postgres
/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
/usr/local/pgsql/bin/postgres -D /usr/local/pgsql/data >logfile 2>&1 &
/usr/local/pgsql/bin/createdb test
/usr/local/pgsql/bin/psql test
/usr/local/pgsql/bin/pg_ctl start -l logfile -D /usr/local/pgsql/data
createlang plpgsql [yourdatabase]
psql -d [yourdatabase] -f lwpostgis.sql
psql -d [yourdatabase] -f spatial_ref_sys.sql
For Ubuntu 6.06
Compile PostgreSQL 8.2.3
/usr/lib/postgresql/8.1/bin/initdb -D /usr/local/pgsql/data
/usr/lib/postgresql/8.1/bin/postgres -D /usr/local/pgsql/data >logfile 2>&1 &
/usr/lib/postgresql/8.1/bin/createdb test
/usr/lib/postgresql/8.1/bin/psql test
start server : /usr/lib/postgresql/8.1/bin/pg_ctl -D /usr/local/pgsql/data start
Edit postgresql.conf
listen_addresses = ‘*’
Edit pg_hba.conf
# “local” is for Unix domain socket connections only
local all all trust
# IPv4 local connections:
host all all 127.0.0.1/32 trust
# IPv6 local connections:
host all all ::1/128 trust
host all all 0.0.0.0 0.0.0.0 trust
redhat ES 4.0
compile geos
./configure
make
make install
compile proj
./configure
make
make install
compile postgis
./configure –with-proj=/usr/local/ –with-geos=/usr/local/bin/geos-config –with-pgsql=/usr/local/pgsql/bin/pg_config
make
make install
compile PDFLib-Lite 7
./configure
make
make install
compile gdal
apache
./configure –prefix=/wwwroot –enable-so
make
make install
compile php with
pdf
curl –with-curl[=DIR] /usr/local/bin
freetype –with-freetype-dir[=DIR] /usr/local/lib
gd –with-gd
gdal
geos
libpng –with-png-dir[=DIR] /usr/local/lib
libxml –with-libxml-dir[=DIR] /usr/local/lib
postgresql –with-pgsql[=DIR] pg_config /usr/local/pgsql/bin
proj
qt
#zlib –with-zlib[=DIR] Include ZLIB support (requires zlib >= 1.0.9) /usr/lib
# –with-zlib-dir=<DIR> Define the location of zlib install directory /usr/lib
–with-pear=/usr/local/bin
enable
–enable-debug
–enable-dbase
–enable-ftp
./configure –prefix=/usr/local/apache2/php –with-apxs2=/usr/local/apache2/bin/apxs –without-pear –with-config-file-path=/wwwroot/php –with-gd –with-curl=/usr/local/bin –with-freetype-dir=/usr/local/lib -with-png-dir=/usr/local/lib –with-libxml-dir=/usr/local/lib –with-pgsql=/usr/local/pgsql/bin –enable-debug –enable-dbase –enable-ftp
make
make install
!@#$%%^&*()
Share on Facebook
halo bro,, nama gw amir sekarang gw lagi skripsi tentang GIS,, pake framework Pmapper bisa bantuin ga konfigurasinya kalo pake peta lain,, kalo pake pmapper demo data sis yang peta eropa bisa, cuma kalo peta shape file yang lain ga bisa,, kalo ada tutorialnya tolong dikirim ke e-mail gw ya,, gw harap lo bisa bantu,, gw pake pmapper yang ynder windows,, ni e-mail gw
amirrachman@yahoo.com
amirrachman@gmail.com
thanx