navigation
Home
admin
|
PostGreSQL
October 18th, 2016
|
| Installation / configuration de PostGreSQL |  |
récuperation des sources :
ftp://ftp.fr.postgresql.org/source/v7.3.4
postgresql-7.3.4.tar.gz
utilise readline dispo chez solaris freewares
installation
./configure --prefix=/export/elmer/postgreSQL --with-java
gmake
gmake install
gmake install-all-headers |
configuration
utilisateur sweep
mkdir /iup/donnees/data_postgreSQL
chown -R sweep /iup/donnees/postgreSQL
setenv LD_LIBRARY_PATH /export/elmer/postgreSQL/lib:/usr/local/lib
/export/elmer/postgreSQL/bin/initdb -D /iup/donnees/postgreSQL --username=root --pwprompt
mkdir /export/elmer/postgreSQL/logs%% chown -R sweep /export/elmer/postgreSQL/logs |
lancement
start :
/export/elmer/postgreSQL/bin/pg_ctl -D /iup/donnees/postgreSQL -l /export/elmer/postgreSQL/logs/postgreSQL.log start |
stop :
/export/elmer/postgreSQL/bin/pg_ctl -D /iup/donnees/postgreSQL stop |
en root, on peut faire
./createdb test
./createuser --adduser --no-createdb --pwprompt --encrypted bruno |
|
|
Dernières modifs
|
|---|
Mysql (October 18th, 2016) PostGreSQL (October 18th, 2016) |
Contact
|
|---|
Pour m'envoyer un mail, Pour me laisser un commentaire :richard.brunooo chez gmail.com |  |
|
|