========================================================= => APACHE: ========================================================= # wget http://apache.matrixau.net/httpd/apache_1.3.33.tar.gz tar -xzvf apache_1.3.33.tar.gz cd apache_1.3.33/ ./configure --enable-module=so make make install ========================================================= => LIBPNG: ========================================================= wget ftp://ftp.pbone.net/mirror/www-ccrma.stanford.edu/planetccrma/mirror/fedora/linux/core/updates/1/i386/libpng-devel-1.2.5-4.i386.rpm rpm -Uvh libpng-devel-1.2.5-4.i386.rpm ========================================================= => LIBFREETYPE: ========================================================= wget ftp://mirror.pacific.net.au/linux/redhat/redhat/linux/fedora/1/i386/os/Fedora/RPMS/freetype-devel-2.1.4-5.i386.rpm rpm -Uvh freetype-devel-2.1.4-5.i386.rpm ========================================================= => LIBICONV: ========================================================= wget http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.9.1.tar.gz tar -xzvf libiconv-1.9.1.tar.gz cd libiconv-1.9.1 ./configure make make install ========================================================= => LIBJPEG: ========================================================= wget ftp://mirror.pacific.net.au/linux/redhat/redhat/linux/fedora/1/i386/os/Fedora/RPMS/libjpeg-devel-6b-29.i386.rpm rpm -Uvh libjpeg-devel-6b-29.i386.rpm ========================================================= => GD: ========================================================= wget http://www.boutell.com/gd/http/gd-2.0.33.tar.gz tar -xzvf gd-2.0.33.tar.gz cd gd-2.0.33 ./configure \ --without-xpm \ --with-jpeg=/usr \ --with-libiconv=/usr/local \ --with-freetype=/usr \ --with-zlib=/usr \ --with-png=/usr/local make make install ========================================================= => POSTGRESQL: ========================================================= wget ftp://ftp3.ca.postgresql.org/pub/source/v7.4.6/postgresql-7.4.6.tar.bz2 tar -xjvf postgresql-7.4.6.tar.bz2 cd postgresql-7.4.6 ./configure make make install useradd -u 31 postgres mkdir /home/postgres chown postgres /home/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/postmaster -D /usr/local/pgsql/data >logfile 2>&1 & /usr/local/pgsql/bin/createdb test /usr/local/pgsql/bin/psql test exit cp contrib/start-scripts/linux /etc/init.d/postgres chmod u+x /etc/init.d/postgres ========================================================= => PROJ4: ========================================================= wget ftp://ftp.remotesensing.org/pub/proj/proj-4.4.9.tar.gz tar -xzvf proj-4.4.9.tar.gz cd proj-4.4.9 ./configure make make install ========================================================= => GEOS: ========================================================= wget http://geos.refractions.net/geos-2.1.0.tar.bz2 tar -xjvf geos-2.1.0.tar.bz2 cd geos-2.1.0 ./configure make make install ========================================================= => POSTGIS: ========================================================= wget http://postgis.refractions.net/postgis-0.9.0.tar.gz tar -xzvf postgis-0.9.0.tar.gz mv postgis-0.9.0 postgresql-7.4.6/contrib/postgis cd postgresql-7.4.6/contrib/postgis vi Makefile //Hay que buscar y cambiar la siguiente línea: USE_GEOS=0 //Debe quedar: USE_GEOS=1 make make install ========================================================= => MYSQL: ========================================================= wget http://dev.mysql.com/get/Downloads/MySQL-4.1/mysql-standard-4.1.7-pc-linux-i686.tar.gz/from/http://mysql.mirrored.ca/ tar -xzvf mysql-standard-4.1.7-pc-linux-i686.tar.gz groupadd -g 33 mysql useradd -u 33 -g mysql mysql mv mysql-standard-4.1.7-pc-linux-i686 /usr/local/mysql cd /usr/local/mysql scripts/mysql_install_db chown -R root . chown -R mysql data chgrp -R mysql . bin/mysqld_safe --user=mysql & bin/mysqladmin -u root password 'shizuka' cp support-files/mysql.server /etc/init.d/mysql ========================================================= => PHP5 COMO MÓDULO DeL APACHE: ========================================================= wget http://ca3.php.net/get/php-5.0.2.tar.bz2/from/this/mirror tar -xjvf php-5.0.2.tar.bz2 cd php-5.0.2 ./configure \ --with-config-file-path=/etc \ --with-gd=/usr/local \ --with-jpeg-dir=/usr \ --with-png-dir=/usr/local \ --with-freetype-dir=/usr \ --with-iconv-dir=/usr/local \ --with-zlib-dir=/usr \ --without-ttf \ --with-pgsql \ --with-mysql=/usr/local/mysql \ --with-regex=system \ --enable-dbase \ --enable-dbx \ --enable-versioning \ --enable-cli \ --with-apxs=/usr/local/apache/bin/apxs \ --enable-ftp make make install make install-cli ========================================================= => GDAL: ========================================================= wget http://gdal.org/dl/gdal-1.2.5.tar.gz tar -xzvf gdal-1.2.5.tar.gz cd gdal-1.2.5 ./configure \ --with-geos \ --with-pg=/usr/local/pgsql/bin/pg_config \ --with-libz=/usr \ --with-png=/usr \ --with-jpeg=/usr make make install ========================================================= => MAPSERVER: ========================================================= wget http://cvs.gis.umn.edu/dist/mapserver-4.4.0-beta3.tar.gz tar -xzvf mapserver-4.4.0-beta3.tar.gz cd mapserver-4.4.0-beta3 ./configure \ --without-tiff \ --without-eppl \ --with-jpeg=/usr \ --with-threads \ --with-proj \ --with-gdal=/usr/local/bin \ --with-gd=/usr/local \ --with-png=/usr \ --with-freetype=/usr \ --with-ogr \ --with-gdal \ --with-php=../php-5.0.2 \ --with-postgis=/usr/local/pgsql/bin/pg_config make cp mapscript/php3/php_mapscript.so /usr/local/php/extensions/