Ian*_*edy 7 ubuntu curl meteor
我在Ubuntu 14.04上安装Meteor时遇到问题.我搜索了之前的答案,但没有一个问题与我有相同的问题.
当我运行meteor网站上给出的命令时:
sudo curl https://install.meteor.com/ | sh
Run Code Online (Sandbox Code Playgroud)
我收到以下消息:
% 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
Run Code Online (Sandbox Code Playgroud)
我已经确保已安装卷曲跑sudo update-ca-certificates,sudo apt-get update和sudo 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]
Run Code Online (Sandbox Code Playgroud)
知道这里发生了什么吗?
Tom*_*erg 13
您可以尝试使用--insecure选项进行安装
curl --insecure https://install.meteor.com/ | sh
Run Code Online (Sandbox Code Playgroud)
您也不需要以root身份安装meteor.如果您想以普通用户身份使用它,只需安装即可.sudo当meteor安装启动脚本时,您将自动获得提示/usr/local/bin/meteor
好运汤姆
编辑:如果这不起作用:
# check your environment
echo $(test -d /etc/pki/tls/certs)$?
Run Code Online (Sandbox Code Playgroud)
如果结果为"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
Run Code Online (Sandbox Code Playgroud)
之后,只需尝试按照文档安装meteor
# install
curl https://install.meteor.com/ | sh
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1032 次 |
| 最近记录: |