node.js - 如何解决Meteor安装必须翻墙且缓慢的问题
PHPz
PHPz 2017-04-17 14:38:21
0
1
577

使用 Meteor 官方的安装方法来安装:

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

安装常常失败

后来知道要翻墙才能安装。但是 安装速度 还是 慢的可以,而且断断续续不稳定。有什么办法可以快速安装呢?

PHPz
PHPz

学习是最好的投资!

reply all(1)
PHPzhong

Open the source code instructions for installing meteor and find that the problem lies in this line:

TARBALL_URL="https://meteorinstall-4168.kxcdn.com/packages-bootstrap/${RELEASE}/meteor-bootstrap-${PLATFORM}.tar.gz"

https://meteorinstall-4168.kxcdn.comThis domain name needs to be bypassed to access it.

Coincidentally, I found a domain name that allows direct access from mainland China:

https://d3sqy0vbqsdhku.cloudfront.net

So the installation URL is slightly modified:

TARBALL_URL="https://d3sqy0vbqsdhku.cloudfront.net/packages-bootstrap/${RELEASE}/meteor-bootstrap-${PLATFORM}.tar.gz"

Note: The modified source code instruction file needs to be placed on the server before it can be accessed by curl. Here is my private link

curl http://jafeney.com:9999/file/meter.sh | sh

Just shell execute it

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template