Introduction
Cet aticle va esssayer de synthétiser une méthodologie efficace et simple pour mettre en place :
- PostgresSQL
- PHPPGAdmin
Installation
On cherche donc à installer plusieurs choses :
- PostgresSQL 8.1 : le serveur et un client
- La librairie PostGres pour PHP5</li<
- phpPGAdmin
Pour cela, APT is my geïcha ;)
sudo apt-get install postgresql-8.1 php5-pgsql
Pour phpPGAdmin, inutile de l'APTiser :
cd ~
wget http://switch.dl.sourceforge.net/sourceforge/phppgadmin/phpP(...)
tar -xvzf phpPgAdmin-4.0.1.tar.bz2
rm phpPgAdmin-4.0.1.tar.bz2
mv phpPgAdmin-4.0.1 /var/www/votresite..homeip.net/admin/db/phpPgAdmin
chown -R www-data:www-data /var/www/votresite..homeip.net/admin/db/phpPgAdmin
Configuration