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

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
主站蜘蛛池模板: 盘锦市| 霸州市| 枣强县| 宜兴市| 安陆市| 嵩明县| 英德市| 钟祥市| 临沂市| 萝北县| 休宁县| 成安县| 阿图什市| 乌拉特中旗| 长岭县| 海城市| 葫芦岛市| 泰来县| 泾川县| 上栗县| 酉阳| 隆德县| 隆安县| 吴江市| 武功县| 泸州市| 孙吴县| 普洱| 柳州市| 大埔区| 鸡东县| 铜陵市| 英山县| 昭平县| 观塘区| 海城市| 九寨沟县| 奇台县| 漾濞| 肃北| 榆社县|