如何在ubuntu 7.10 安裝postgres 8.2
How To Installing Postgres 8.2 on Ubuntu 7.10
$ sudo apt-get install postgresql postgresql-client postgresql-contrib
$ sudo apt-get install pgadmin3
postgres default password is unknown so after your first installation you will need to change it
postgres使用者密碼安裝後的密碼是不可考的 所以安裝後要直接用query改掉
$ sudo su postgres -c psql template1
template1=# ALTER USER postgres WITH PASSWORD 'password';
template1=# \q
$ sudo passwd -d postgres
$ sudo su postgres -c passwd
http://hocuspokus.net/2007/11/05/install-postgresql-on-ubuntu-710/
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言