2011年5月11日 星期三

ubuntu / 掛proxy更新套件

在環境變數中


export http_proxy=http://192.168.1.6:8080


臨時設定的話直接在shell中下指令也行


使用apt-get 安裝時自己會偵測是否有設定proxy


超easy的啦!


沒有留言:

張貼留言

如何在 golang 裡面引用 gitlab private repo

參考文章:https://stackoverflow.com/questions/27500861/whats-the-proper-way-to-go-get-a-private-repository 原文是用 gitlab.company.com 當範例,這邊改成一般帳號...