marshan 发表于 2013-1-30 01:23:43

ubuntu postgresql

PostgreSQL is pronounced Post-Gres-Q-L.
 
sudo apt-get install postgresql-9.1
 
sudo gedit /etc/postgresql/9.1/main/postgresql.conf
sudo gedit /etc/postgresql/9.1/main/pg_hba.conf
local   all             postgres                                peer
->
local   all             postgres                                trust
 
重新启动postgresql进程服务
sudo/etc/init.d/postgresql restart
 
psql -U postgres
alter user postgres with password 'root';
\q
 
pgAdminIII
http://dl.iteye.com/upload/picture/pic/119604/cc9c5747-6d9c-3a4d-870b-e6aa87e85ba1.png
 
 
页: [1]
查看完整版本: ubuntu postgresql