在CentOS 6.5上安装PostgreSQL时出错

时间:2016-07-25 07:29:45

标签: postgresql centos6.5

我正尝试使用以下命令在PostgreSQL 9.3上安装CentOS 6.5

rpm -i https://download.postgresql.org/pub/repos/yum/9.3/redhat/rhel-6-x86_64/pgdg-centos93-9.3-2.noarch.rpm

但是我收到了一条错误消息:

curl: (35) SSL connect error
error: skipping https://download.postgresql.org/pub/repos/yum/9.3/redhat/rhel-6-x86_64/pgdg-centos93-9.3-2.noarch.rpm - transfer failed

请帮忙!

1 个答案:

答案 0 :(得分:0)

请同时遵循以下步骤:

1-首次下载rpm文件:

wget https://download.postgresql.org/pub/repos/yum/9.3/redhat/rhel-6-x86_64/pgdg-centos93-9.3-2.noarch.rpm

2-然后安装它:

rpm -ivh pgdg-centos93-9.3-2.noarch.rpm

这些命令的结果是什么?