<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Installation</title><link>https://sourceforge.net/p/henryii/wiki/Installation/</link><description>Recent changes to Installation</description><atom:link href="https://sourceforge.net/p/henryii/wiki/Installation/feed" rel="self"/><language>en</language><lastBuildDate>Wed, 24 Oct 2012 13:56:15 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/henryii/wiki/Installation/feed" rel="self" type="application/rss+xml"/><item><title>WikiPage Installation modified by Sarah</title><link>https://sourceforge.net/p/henryii/wiki/Installation/</link><description>PAQUETS NÉCESSAIRES
===

Paquets nécessaires à l'installation du logiciel : 

* postgresql
* postgresql-client
* postgresql-client-common
* postgresql-common
* python-pygresql


CONFIGURATION DE POSTGRES
===

Création du rôle
---
Pour une première utilisation de postgresql :

    $ sudo -i -u postgres

Lancer postgresql et créer un rôle pain :

    $ psql
    postgres=# CREATE USER pain;
    postgres=# ALTER ROLE pain WITH CREATEDB;

(ou ubuntu ? à tester avec LOGIN, SUPERUSER, REPLICATION)

Édition de pg_hba.conf
---
Éditer le fichier /etc/postgresql/x.x/main/pg_hba.conf, x.x étant le numéro de version de postgresql.

Après la ligne :
  local   all             postgres                                peer

Ajouter :
  local   all             pain                                    trust

Redémarrer postgresql
---
    $ sudo /etc/init.d/postgresql restart

INSTALLATION
===

Depuis un terminal, aller dans le répertoire de travail bin
puis lancer la commande :

    ./install.py
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sarah</dc:creator><pubDate>Wed, 24 Oct 2012 13:56:15 -0000</pubDate><guid>https://sourceforge.netf520307d02f0176f32445db4cda312b8c5e0d775</guid></item></channel></rss>