我如何使用http://yum.postgresql.org中的rpm安装postgres
我遵循了以下步骤:
从Live DVD安装Centos 6.5:
http://vault.centos.org/6.5/isos/x86_64
I google:在Centos 6.5上安装Postgres 9.5
我运行两个shell命令:
wget https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-6-x86_64/pgdg-centos95-9.5-2.noarch.rpm
yum install pgdg-centos95-9.5-2.noarch.rpm我不知道下一步该做什么。
我看到这个页面:
http://yum.postgresql.org/repopackages.php
页面顶部有一个链接:“Yum Howto”
我单击该链接,然后会看到这个页面:
http://yum.postgresql.org/howtoyum.php
第一个链接是这样的:
http://yum.postgresql.org/repopackages.php
所以我看到的是循环文档,而不是有用的文档。
我看到一个指向pdf的链接:
http://yum.postgresql.org/files/PostgreSQL-RPM-Installation-PGDG.pdf
我打开pdf,它列出了可用的包。
我猜想我需要这些包:
postgresql-libs、postgresql和postgresql-server
它没有说他们在哪里。
问题:
PostgreSQL-RPM-Installation-PGDG.pdf中列出的包在哪里?
假设我要安装: postgresql-libs,postgresql和postgresql-server,如何安装?
在postgresql.org上,我看到了这个rpm : pgdg-centos95-9.5-2.noarch.rpm
pgdg-centos95-9.5-2.noarch.rpm的用途是什么?
https://stackoverflow.com/questions/38232476
复制相似问题