User Tools

Site Tools


documentazione_tecnica_server:gasistafelice.befair.it:migrazione_a_wheezy

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
documentazione_tecnica_server:gasistafelice.befair.it:migrazione_a_wheezy [2014/01/17 22:58] kobedocumentazione_tecnica_server:gasistafelice.befair.it:migrazione_a_wheezy [2014/01/17 23:00] kobe
Line 2: Line 2:
  
 Obiettivo:  installazione di test per Orlando su Debian Wheezy con Postgres 9.1 Obiettivo:  installazione di test per Orlando su Debian Wheezy con Postgres 9.1
 +
 Chi:  Luca e Antonio Chi:  Luca e Antonio
 +
 Luogo/data:  casa di Luca, 17 gennaio 2014 Luogo/data:  casa di Luca, 17 gennaio 2014
  
Line 40: Line 42:
  
  
-Postgres 9.1 +Crea il database nuovo su Postgres 9.1
-  su - postgres + 
-  psql+  su - postgres 
 +  psql
   =# CREATE ROLE gasdeploy WITH LOGIN PASSWORD 'mypassword';   =# CREATE ROLE gasdeploy WITH LOGIN PASSWORD 'mypassword';
   =# CREATE DATABASE gf_deploy OWNER gasdeploy;   =# CREATE DATABASE gf_deploy OWNER gasdeploy;
-  + 
 +Importa il vecchio database: 
   # psql gf_deploy < /var/lib/postgresql/gf_deploy_20140117_before_wheezy_update.sql   # psql gf_deploy < /var/lib/postgresql/gf_deploy_20140117_before_wheezy_update.sql
  
Line 56: Line 61:
  
   # dpkg-reconfigure tzdata   # dpkg-reconfigure tzdata
-