Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

大家好。
我无法从pivotal下载greenplum Redhat下的客户端,无论是client还是loader,比如我用wget执行:

wget -O "greenplum-loaders-4.3.8.2-build-1-RHEL5-x86_64.zip"
--post-data="" --header="Authorization: Token <MyToken>" "https://network.pivotal.io/api/v2/products/pivotal-gpdb/releases/4540/product_files/4617/download"

结果如下,总是提示403 Forbidden,不知道是为什么,也不知道具体该怎么解决?我的Token肯定是正确的,因为我可以下载Windows的Client,但就是不能下载Linux下的Client。哪位大神告知如何解决,非常感谢!!!

--2017-03-23 11:20:04-- "https://network.pivotal.io/api/v2/products/pivotal-gpdb/releases/4540/product_files/4617/download"

Resolving network.pivotal.io (network.pivotal.io)... 107.23.170.203, 52.72.132.140
Connecting to network.pivotal.io (network.pivotal.io)|107.23.170.203|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: "https://d13k9s5899twdr.cloudfront.net/product_files/Pivotal-Greenplum/5a145983-5655-4851-9695-5819937fe5d0?Expires=1490239231&Signature=jnsBS4QZDLLqAwVoGuDkjqg1MP5eyKBYi7Aw3%7EdCbOHbBcbj2rDyf9Rs6lR9vlcVPzb1q7aYYUyE5njIi%7EwbUl668aPyOlgPJkSdv4NQ1kwFO-a9uB0zWcpByal%7Ea4Aw7DHgcD%7E0eXg1XbGk-cvRj94pox-88K29tU4w1-TPWSLcM4XzdMvCyxooZPHWNLI9ikHq9yQ6xha5%7EXeCZwBjRc2SjUQ1Afe83mWWQc%7EYDQ6Uc7rPSHcC-KSkntv44lsXplDYrTk0ZMeTgC0GcKyqZ%7Ez-hL0QSivEMyLRUdVnDlSaeeItEM4cCLtqADE8hA9XkgophQuwwEXJPcP1Pk1mlg__&Key-Pair-Id=APKAIXHUNWNBZWMQSZHA&filename=5a145983-5655-4851-9695-5819937fe5d0" [following]

--2017-03-23 11:20:11-- "https://d13k9s5899twdr.cloudfront.net/product_files/Pivotal-Greenplum/5a145983-5655-4851-9695-5819937fe5d0?Expires=1490239231&Signature=jnsBS4QZDLLqAwVoGuDkjqg1MP5eyKBYi7Aw3%7EdCbOHbBcbj2rDyf9Rs6lR9vlcVPzb1q7aYYUyE5njIi%7EwbUl668aPyOlgPJkSdv4NQ1kwFO-a9uB0zWcpByal%7Ea4Aw7DHgcD%7E0eXg1XbGk-cvRj94pox-88K29tU4w1-TPWSLcM4XzdMvCyxooZPHWNLI9ikHq9yQ6xha5%7EXeCZwBjRc2SjUQ1Afe83mWWQc%7EYDQ6Uc7rPSHcC-KSkntv44lsXplDYrTk0ZMeTgC0GcKyqZ%7Ez-hL0QSivEMyLRUdVnDlSaeeItEM4cCLtqADE8hA9XkgophQuwwEXJPcP1Pk1mlg__&Key-Pair-Id=APKAIXHUNWNBZWMQSZHA&filename=5a145983-5655-4851-9695-5819937fe5d0"

Resolving d13k9s5899twdr.cloudfront.net (d13k9s5899twdr.cloudfront.net)... 52.85.151.25, 52.85.151.182, 52.85.151.246, ...
Connecting to d13k9s5899twdr.cloudfront.net (d13k9s5899twdr.cloudfront.net)|52.85.151.25|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2017-03-23 11:20:37 ERROR 403: Forbidden.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
319 views
Welcome To Ask or Share your Answers For Others

1 Answer

下载应该是需要先登录的,不登录用下载工具会报错。我是先下载到自己的机器上后,然后上传到服务器上,稍微有点麻烦。

如果你只需要客户端的话,安装Postgresql,使用PSQL就可以了。如果要用Load的话,是需要安装GP的.

yum install postgresql-server

详见:https://www.postgresql.org/do...


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...