如何只安装Postgresql client(以9.4 为例)


 

 Install the repository RPM:

yum install https://download.postgresql.org/pub/repos/yum/9.4/redhat/rhel-7-x86_64/pgdg-redhat94-9.4-3.noarch.rpm


Install the client packages:
yum install postgresql94


  1. Optionally install the server packages:
    yum install postgresql94-server
  2. Optionally initialize the database and enable automatic start:
    /usr/pgsql-9.4/bin/postgresql94-setup initdb
    systemctl enable postgresql-9.4
    systemctl start postgresql-9.4


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM