postgresql9.6rpm包安装CentOS7.2X64

1.pgdg-centos96-9.6-3.noarch.rpm

创新互联建站从2013年成立,是专业互联网技术服务公司,拥有项目成都做网站、成都网站制作网站策划,项目实施与项目整合能力。我们以让每一个梦想脱颖而出为使命,1280元达坂城做网站,已为上家服务,为达坂城各地企业和个人服务,联系电话:18980820575

PostgreSQL 9.6--》CentOS 7 - x86_64

下载链接:

https://yum.postgresql.org/repopackages.php

rpm -ivh pgdg-centos96-9.6-3.noarch.rpm

2.postgresql96-server

# yum install -y postgresql96-server

# yum install -y postgresql96-contrib

3.检查安装

# rpm -qa|grep postgres

postgresql96-9.6.1-1PGDG.rhel7.x86_64

postgresql96-libs-9.6.1-1PGDG.rhel7.x86_64

postgresql96-server-9.6.1-1PGDG.rhel7.x86_64

postgresql96-contrib-9.6.1-1PGDG.rhel7.x86_64

4.初始化数据库

# /usr/pgsql-9.6/bin/postgresql96-setup initdb

5.添加服务

# systemctl enable postgresql-9.6.service

6.启动服务

# systemctl start postgresql-9.6.service

# su - postgres

psql


当前标题:postgresql9.6rpm包安装CentOS7.2X64
URL网址:http://myzitong.com/article/pgdoes.html