请问env中的变量在什么配置文件里
Tofloor
poster avatar
hhzhaoheng
deepin
2018-03-14 00:00
Author
请问env中的变量在什么配置文件里,找了半天,比如 http_proxy,https_proxy,一直没有找到
Reply Favorite View the author
All Replies
avatar
hhzhaoheng
deepin
2018-03-14 00:02
#1
        Fetch failed: unable to access 'https://gitee.com/': Failed to connect to 127.0.0.1 port 46535: Connection refused

下午4:01        Update canceled
这是我用git时候遇到的,然后就开始去代理,结果不成功
Reply View the author
avatar
justforlxz
deepin
2018-03-14 00:25
#2
https://bbs.deepin.org/post/154166
Fetch failed: unable to access 'https://gitee.com/': Failed to connect to 127.0.0.1 port 46535: Con ...

直接在当前的shell里面对http_proxy和https_proxy进行赋值,当前的shell里就可以用了。如果想设置默认值,可以通过控制中心的网络代理来设置。如果只希望设置git的,https://gist.github.com/laispace/666dd7b27e9116faece6
Reply View the author
avatar
hhzhaoheng
deepin
2018-03-14 00:35
#3
https://bbs.deepin.org/post/154166
直接在当前的shell里面对http_proxy和https_proxy进行赋值,当前的shell里就可以用了。如果想设置默认值 ...

谢谢,按照你的方法,我在shell去掉系统代理 unset https_proxy和http_proxy,然后能提交了。网络中心那个没有试成功。不知道lantern是怎么设置的,不开lantern不行。
Reply View the author
avatar
justforlxz
deepin
2018-03-14 02:34
#4
https://bbs.deepin.org/post/154166
谢谢,按照你的方法,我在shell去掉系统代理 unset https_proxy和http_proxy,然后能提交了。网络中心那个 ...

蓝灯就是通过修改系统的环境变量来做的。
Reply View the author