官术网_书友最值得收藏!

Linux or macOS X

To use a proxy on the Linux command line, the environment variables http_proxy, https_proxy, or ftp_proxy have to be set, depending on the traffic type.

To do this effectively, the following commands have to be run:

$ export http_proxy=http://127.0.0.1:8080
$ export https_proxy="https:// 127.0.0.1:8080"
$ export ftp_proxy="http:// 127.0.0.1:8080"

You can check the current proxy settings via the env command:

env | grep -i proxy
主站蜘蛛池模板: 曲松县| 鄂托克前旗| 剑河县| 盖州市| 庄河市| 会宁县| 新邵县| 蓬莱市| 张北县| 甘洛县| 金乡县| 彝良县| 德兴市| 广宁县| 绍兴县| 乐至县| 兴化市| 梅州市| 兴化市| 任丘市| 晋城| 扶沟县| 衡东县| 汉寿县| 临清市| 南汇区| 临潭县| 年辖:市辖区| 福贡县| 兴安县| 浑源县| 嘉鱼县| 都昌县| 林州市| 高清| 内乡县| 纳雍县| 河东区| 盐边县| 临高县| 色达县|