如何在RedHat 6.9上安裝Posgresql 10


隨著PostgreSQL的演進,越來越多人加入這個大家族,也趁這機會分享新版PostgreSQL 安裝在RedHat 的方法,希望對各位有幫助!!

步驟一:安裝Repository RPM
#yum install https://download.postgresql.org/pub/repos/yum/10/redhat/rhel-6-x86_64/pgdg-redhat10-10-2.noarch.rpm





















步驟二:安裝Client Package
#yum install postgresql10





















步驟三:安裝Server Package
#yum install postgresql10-server






















步驟四:初始化DB
#service postgresql-10 initdb


步驟五:設定自動啟動DB
#chkconfig postgresql-10 on

#service postgresql-10 start



































步驟六:安裝第三方提供相關套件

#yum install postgresql10-contrib.x86_64




















安裝完成

留言

這個網誌中的熱門文章

MSSQL 瘦身 : 壓縮資料庫

[SAP] 什麼是SAP? R/3 and S/4 是什麼意思? 差別在哪? (勿轉臉書)

InTrust 自動幫您蒐集 AD 帳號的登入/登出紀錄,長時間保存並保護