使用 Meteor
官方的安装方法来安装:
curl https://install.meteor.com/ | sh
安装常常失败
后来知道要翻墙才能安装。但是 安装速度 还是 慢的可以,而且断断续续不稳定。有什么办法可以快速安装呢?
PHPz2017-04-17 14:40:21
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.com
This 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