How do I use cygwin behind the corporate firewall

后端 未结 5 975
北恋
北恋 2020-12-12 16:19

I\'m in a Microsoft IE environment, but I want to use cygwin for a number of quick scripting tasks.

How would I configure it to use my windows proxy information? Ru

5条回答
  •  悲哀的现实
    2020-12-12 16:45

    Most applications check one of the following environment variables (gem even checks both), so try putting this code in your .bashrc:

    proxy=http://host.com:port/
    export http_proxy=$proxy
    export HTTP_PROXY=$proxy
    

提交回复
热议问题