Enterprise Linux GIS : Utiliser des logiciels libres de SIG sur Red Hat Enterprise Linux (RHEL), CentOS and Scientific Linux
http://yum.postgresql.org/repopackages.php
rpm -ivh chemin_vers_le_depot_correspondant_a_ma_version_de_centos.rpm
yum install postgis91.x86_64 postgis91-docs.x86_64 postgis91-utils.x86_64 postgresql91.x86_64 postgresql91-contrib.x86_64 postgresql91-plpython.x86_64 postgresql91-server.x86_64 service postgresql-9.1 initdb chkconfig postgresql-9.1 on
\i /usr/pgsql-9.1/share/contrib/postgis-1.5/postgis.sql \i /usr/pgsql-9.1/share/contrib/postgis-1.5/spatial_ref_sys.sql
CREATE EXTENSION dblink;
<note></note>
yum install mod_wsgi.x86_64
yum install php.x86_64 php-pgsql.x86_64 phpPgAdmin.noarch
rpm -Uvh http://download.fedora.redhat.com/pub/epel/6/x86_64/epel-release-6-5.noarch.rpm rpm -Uvh http://elgis.argeo.org/repos/6/elgis-release-6-6_0.noarch.rpm
getsebool httpd_can_network_connect_db on
→ httpd_can_network_connect_db –> off
setsebool -P httpd_can_network_connect_db on
→ httpd_can_network_connect_db –> on
getsebool httpd_can_sendmail
→ httpd_can_sendmail –> off
setsebool -P httpd_can_sendmail on
→ httpd_can_sendmail –> on
l'option -P rend la modification persistante