【问题标题】:Trouble installing Meteor on Ubuntu 14.04在 Ubuntu 14.04 上安装 Meteor 时遇到问题
【发布时间】:2015-05-14 08:52:52
【问题描述】:

我在 Ubuntu 14.04 上安装 Meteor 时遇到问题。我搜索了以前的答案,但没有一个与我遇到的问题相同。

当我运行流星网站上给出的命令时:

sudo curl https://install.meteor.com/ | sh

我收到以下消息:

 % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  6121    0  6121    0     0   6571      0 --:--:-- --:--:-- --:--:--  6567
Downloading Meteor distribution

curl: (77) error setting certificate verify locations:
  CAfile: /etc/pki/tls/certs/ca-bundle.crt
  CApath: none

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Installation failed.enter code here

我已经确保 curl 已安装并运行 sudo update-ca-certificatessudo apt-get updatesudo apt-get upgrade,所有这些都对以前的海报有所帮助。我也试过wget https://install.meteor.com/,它给了我:

--2015-05-10 10:05:11--  https://install.meteor.com/
Resolving install.meteor.com (install.meteor.com)... 54.243.218.35, 54.83.1.203, 107.21.116.12, ...
Connecting to install.meteor.com (install.meteor.com)|54.243.218.35|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/plain]
Saving to: ‘index.html.1’

    [ <=>                                   ] 6,121       --.-K/s   in 0s      

2015-05-10 10:05:13 (153 MB/s) - ‘index.html.1’ saved [6121]

知道这里发生了什么吗?

【问题讨论】:

    标签: ubuntu curl meteor


    【解决方案1】:

    您可以尝试使用--insecure 选项进行安装

    curl --insecure https://install.meteor.com/ | sh
    

    您也不需要以 root 身份安装流星。如果您想以普通用户身份使用它,只需安装即可。当流星将启动脚本安装到/usr/local/bin/meteor时,您将自动得到sudo的提示

    祝你好运 汤姆

    编辑:如果这也不起作用:

    # check your environment
    echo $(test -d /etc/pki/tls/certs)$?
    

    如果结果是“1”,那么您的系统中就缺少该结果。尝试解决:

    # create missing directory
    sudo mkdir -p /etc/pki/tls/certs
    
    # link ca-certificates 
    sudo ln -s /etc/ssl/certs/ca-certificates.crt /etc/pki/tls/certs/ca-bundle.crt
    

    然后尝试按照文档安装流星

    # install
    curl https://install.meteor.com/ | sh
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2023-03-26
      • 1970-01-01
      • 1970-01-01
      • 2023-04-01
      • 2015-08-03
      • 1970-01-01
      • 2012-08-27
      • 2015-07-26
      相关资源
      最近更新 更多