1. 發現上班時間公司的網絡幾乎不可用 還是得找時間下載好離線包才可以。
找了一個最簡單的辦法
地址
https://yum.postgresql.org/
選擇版本 這次我選擇最新的
繼續之后繼續選擇下一步
然后選擇rpms或者是 srpms 進入到一個具體的下載界面
比如
地址為:
https://yum.postgresql.org/13/redhat/rhel-7-x86_64/repoview/
下一步的地址為:
https://yum.postgresql.org/13/redhat/rhel-7-x86_64/repoview/postgresqldbserver13.group.html 其實看下圖 非常有用了。 注意需要下這四個rpm包 直接點連接進去下載就可以 可以選擇多個操作系統的版本 下載多個
- postgresql13 - PostgreSQL client programs and libraries
- postgresql13-contrib - Contributed source and binaries distributed with PostgreSQL
- postgresql13-libs - The shared libraries required for any PostgreSQL clients
- postgresql13-server - The programs needed to create and run a PostgreSQL server
下一步直接下載就好
比如我這邊下載好了
下載好的所有的 文件為: