如何只安裝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