Created
August 10, 2018 01:54
-
-
Save fxp/fe42cdbc07790bbad220e3825d2d230f to your computer and use it in GitHub Desktop.
通过APT-GET安装nodejs被墙
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 问题 | |
有时候会链接不到deb.nodesource.com,造成无法通过包管理安装nodejs。用Lantern的全局流量代理好像无法重定向apt-get的流量。 | |
# 解决方案 | |
sudo http_proxy="http://127.0.0.1:xxxx" apt-get install nodejs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment