CENTOS安装postgreSQL9

流夜未央 posted @ 2011年3月29日 14:23 in 未分类 , 2301 阅读

1.wget http://yum.pgrpms.org/reporpms/9.0/pgdg-centos-9.0-2.noarch.rpm

2.rpm -i pgdg-centos-9.0-2.noarch.rpm

3.编辑CentOS-Base.repo,在末尾加入exclude=postgresql*

4.yum install postgresql90-server

5.service postgresql-9.0 initdb

6.service postgresql-9.0 start

P.S.加入hstore支持

安装yum install postgreSQL9.0-contrib

执行psql -d DB_NAME -f /usr/pgsql-9.0/share/contrib/hstore.sql

OVER

Avatar_small
seo service london 说:
2024年1月14日 18:15

You have performed a great job on this article. It’s very precise and highly qualitative. You have even managed to make it readable and easy to read. You have some real writing talent. Thank you so muc


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter