Skip to content

Instantly share code, notes, and snippets.

@wfxr
Last active July 21, 2016 14:28
Show Gist options
  • Save wfxr/e973db5ed4fabde6069ddd99fbd20e76 to your computer and use it in GitHub Desktop.
Save wfxr/e973db5ed4fabde6069ddd99fbd20e76 to your computer and use it in GitHub Desktop.

##设置git使用代理

git config --global http.proxy http://localhost:8087

##配置ca-certificates

sudo cp ~/Goagent/local/CA.crt /usr/share/ca-certificates/goagent.crt
sudo chmod a+r /usr/share/ca-certificates/goagent.crt
sudo dpkg-reconfigure ca-certificates

其中第一行的CA.crt的路径视你goagent的安装地址而定。

最后一个命令会打开图形界面,使用空格键勾选goagent就可以了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment