1.pgdg-Centos96-9.6-3.noarch.rpmpostgresql 9.6--》CentOS 7 - x86_64下载链接:https://yum.postgresql.org/repop
1.pgdg-Centos96-9.6-3.noarch.rpm
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
--结束END--
本文标题: postgresql 9.6 rpm包安装 CentOS 7.2 X64
本文链接: https://www.lsjlt.com/news/40253.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
下载Word文档到电脑,方便收藏和打印~
2024-05-03
2024-05-03
2024-05-03
2024-05-03
2024-05-03
2024-05-03
2024-05-03
2024-05-03
2024-05-03
2024-05-03
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0