使用 Meteor 官方的安装方法来安装:
Meteor
curl https://install.meteor.com/ | sh
安装常常失败
后来知道要翻墙才能安装。但是 安装速度 还是 慢的可以,而且断断续续不稳定。有什么办法可以快速安装呢?
学习是最好的投资!
Open the source code instructions for installing meteor and find that the problem lies in this line:
meteor
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.
https://meteorinstall-4168.kxcdn.com
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
curl http://jafeney.com:9999/file/meter.sh | sh
Just shell execute it
shell
Open the source code instructions for installing
meteor
and find that the problem lies in this line: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:
So the installation URL is slightly modified:
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 linkJust
shell
execute it