在RHEL5.5上安装PostgreSql92

RHEL5.5默认的源里没有postgresql9的包,需要下载源。下载地址 :http://yum.postgresql.org/9.2/redhat/rhel-5-x86_64/pgdg-redhat92-9.2-7.noarch.rpm

然后安装源

rpm -ivh pgdg-redhat92-9.2-7.noarch.rpm 

最后安装postgresql92

yum install postgresql92 postgresql92-server postgresql92-devel 

初始化数据库

service postgresql-9.2 initdb Initializing database:                                     [  OK  ]

启动数据库

/etc/init.d/postgresql-9.2 start Starting postgresql-9.2 service:                           [  OK  ]

查看数据状态

netstat -nutlap | grep post tcp        0      0 127.0.0.1:5432              0.0.0.0:*                   LISTEN      21627/postmaster     udp        0      0 127.0.0.1:12823             127.0.0.1:12823             ESTABLISHED 21627/postmaster 

posted on 2013-04-09 15:55 kuuyee 阅读(1713) 评论(0)  编辑  收藏 所属分类: Linux数据库系统管理


只有注册用户登录后才能发表评论。


网站导航:
 

导航

<2013年4月>
31123456
78910111213
14151617181920
21222324252627
2829301234
567891011

统计

随笔分类(139)

Linux内核

搜索

积分与排名

最新评论

阅读排行榜