If I just use what Vlax and Mohsen Nosratinia suggested ( export http_proxy=http://yourusername:yourpassword@host:port/ ), it will work only half of the programs (some of them will work, but not all) for my company .
Adding one more line, it will work for everyone (possibly the majority), at least in my situation.
export http_proxy=http://yourusername:yourpassword@host:port/ export https_proxy=$http_proxy
ian0411 Feb 25 '16 at 17:50 2016-02-25 17:50
source share