centos6 安装postgreSQL

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/S630730701/article/details/80870119

在postgresql官网找对最新版本:

version:10
platform:centos6
architecture:x86_64
目录:/var/lib/pgsql/10


1、Install the repository RPM:
2、Install the client packages:
yum install postgresql10
3、Optionally install the server packages:
yum install postgresql10-server
4、 Optionally initialize the database and enable automatic start:
service postgresql-10 initdb
chkconfig postgresql-10 on
service postgresql-10 start

连接测试:

使用pgadmin4进行连接测试,查看下一篇





猜你喜欢

转载自blog.csdn.net/S630730701/article/details/80870119