wget -O - http://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc | apt-key add -
echo deb http://apt.postgresql.org/pub/repos/apt/ squeeze-pgdg main >> /etc/apt/sources.list
echo deb http://backports.debian.org/debian-backports squeeze-backports main >> /etc/apt/sources.list
apt-get update
apt-get -t squeeze-backports install libpq5 postgresql-common
apt-get install postgresql-9.2
apt-get install postgresql-client-9.2
su postgres
psql
alter user postgres with password 'nova_senha';
\q
Nenhum comentário:
Postar um comentário