Fedora安裝PostgreSQL 8.4.11過程簡記:
1.下載postgresql8.4.11 rpm安裝包
2.切換到root安裝,可能會缺libtcl8.4.so,需要安裝tcl-8.4.9-3tr RPM for i586,下載地址
免費下載地址在 http://linux.linuxidc.com/
用戶名與密碼都是www.linuxidc.com
具體下載目錄在 /2012年資料/5月/20日/Fedora安裝PostgreSQL 8.4.11/
3.添加postgres用戶,useradd postgres
4.默認安裝到/opt/postgres/8.4,執行/opt/postgres/8.4/bin/postgres-8.4-openscg start啟動數據庫
5修改/opt/postgres/8.4/data/pg_hba.conf中全部的md5為trust,重啟,否則連不上數據庫
6.執行/opt/postgres/8.4/bin/psql輸入密碼即可連入
更多Fedora相關信息見Fedora 專題頁面 http://www.linuxidc.com/topicnews.aspx?tid=5