今天看啥  ›  专栏  ›  iOSDevLog

iTerm2 科学上网

iOSDevLog  · 简书  ·  · 2018-08-03 09:52

最近学习机器学习,有一些数据需要科学上网,而且是终端运行。

配置 iTerm2 使其可以翻墙。

proxy.png

找到 网络代理。

$ alias
alias disable_proxy='unset http_proxy https_proxy'
alias enable_lantern_proxy='export http_proxy=http://127.0.0.1:57416 https_proxy=http://127.0.0.1:57416'
alias enable_xxx_proxy='export http_proxy=http://127.0.0.1:xxx https_proxy=http://127.0.0.1:xxx'

测试一下,用 google 搜索 iosdevlog

google.png
iosdevlog.png



原文地址:访问原文地址
快照地址: 访问文章快照