I love short and consist install instructions. I know this is a MySQL blog but our good friend PostGreSQL has a great GIS library. This is what I learned upgrading our PostGIS system to GIS 1.5. Much thanks to Jeremy Tunnell for give this document it’s start.
Start with CentOS 5.6 x86_64 basic install.
Add the PostgreSQL Yum repository to your system.
$ wget http://yum.pgrpms.org/reporpms/9.0/pgdg-centos-9.0-2.noarch.rpm $ rpm -i pgdg-centos-9.0-2.noarch.rpm
Another location for these is DAG. I have to tried these so your results may very.
You will need to exclude the packages CentOS provide by added two lines to the BASE and UPDATE sections of /etc/yum.repos.d/CentOS-Base.repo. They are:
exclude=postgresql* exclude=geos*
You you are ready to install the needed packages. This includes proj version 4 and geos version 3.
$ yum install postgresql90-contrib.x86_64 $ yum …[Read more]