Como todos recuerdan para instalar postgresql en Linux sólo tenemos que abrir un terminal o consola como root y teclear el siguiente comando:
Código: Seleccionar todo
aptitude install postgresql
Para instalar pgAdmin3 en linux sólo tenemos que abrir un terminal o consola como root y teclear el siguiente comando:
Código: Seleccionar todo
aptitude install pgadmin3
1- Abrir consola o terminal como super-usuario (root)
2- Escribir el siguiente comando
Código: Seleccionar todo
su postgres -c psql postgres
Escribe lo siguiente:
Código: Seleccionar todo
alter user postgres with password 'mi_nueva_contraseña';
Código: Seleccionar todo
postgres=# alter user postgres with password 'root';
\q
Finalmente reinicia los servicios de postgresql (desde tu terminal como root)
Código: Seleccionar todo
/etc/init.d/postgresql restart