首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Citus安装在GCP上失败

Citus安装在GCP上失败
EN

Stack Overflow用户
提问于 2021-09-30 07:26:25
回答 1查看 140关注 0票数 1

在GCP上安装postgresql(13)之后,我尝试使用以下命令安装citus:

代码语言:javascript
复制
curl https://install.citusdata.com/community/rpm.sh | sudo bash

但是,我遇到了以下错误。任何指导/建议都是有帮助的。

代码语言:javascript
复制
[tony_stark@host]$ curl https://install.citusdata.com/community/rpm.sh | sudo bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  8667  100  8667    0     0  21791      0 --:--:-- --:--:-- --:--:-- 21831
Detected operating system as centos/7.
Checking for curl...
Detected curl...
Checking for postgresql13-server...
Detected postgresql13-server...
Checking for EPEL repositories...
Detected EPEL repoitories
Downloading repository file: https://repos.citusdata.com/community/config_file.repo?os=centos&dist=7&source=script... 
curl: (7) Failed to connect to 
Network is unreachable
Unable to run: 
    curl https://repos.citusdata.com/community/config_file.repo?os=centos&dist=7&source=script

不过,链接curl https://repos.citusdata.com/community/config_file.repo?os=centos&dist=7&source=script可以在我的浏览器上工作。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2021-09-30 09:49:09

看起来像是存储库方面的一个临时问题。我刚试过,效果很好:

代码语言:javascript
复制
[sergiusz@host ~]$ curl https://install.citusdata.com/community/rpm.sh | sudo bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  8667  100  8667    0     0  25686      0 --:--:-- --:--:-- --:--:-- 25718
Detected operating system as centos/7.
Checking for curl...
Detected curl...
Checking for postgresql13-server...
Installing pgdg13 repo... done.
Checking for EPEL repositories...
Detected EPEL repoitories
Downloading repository file: https://repos.citusdata.com/community/config_file.repo?os=centos&dist=7&source=script.
.. done.
Installing pygpgme to verify GPG signatures... done.
Installing yum-utils... done.
Generating yum cache for citusdata_community... done.
The repository is set up! You can now install packages.

编辑:

还可以手动下载该文件:

curl "https://repos.citusdata.com/community/config_file.repo?os=centos&dist=7&source=script" -o /etc/yum.repos.d/citusdata_community.repo

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/69387939

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档