How to solve the problem that Meteor installation must climb over the wall and be slow

  node.js, question

UseMeteorThe official installation method to install:

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

Installation often fails

图片描述

Later, I knew that I had to climb over the wall to install it. However, the installation speed is still slow and unstable. Is there any way to install it quickly?

Open installationmeteorThe source code instructions, found the problem 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 turned over to access.

Coincidentally, a domain name allowing direct access to the mainland network was found:

https://d3sqy0vbqsdhku.cloudfront.net

Therefore, modify the installation URL slightly:

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 becurlVisit, here is my personal link.

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

DirectshellJust do it