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

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
主站蜘蛛池模板: 贡嘎县| 盐津县| 响水县| 南丰县| 肥乡县| 玉门市| 婺源县| 辰溪县| 甘泉县| 彭水| 泰顺县| 中江县| 陵水| 东城区| 石屏县| 奇台县| 朝阳区| 广宗县| 福海县| 合阳县| 托里县| 谢通门县| 策勒县| 名山县| 将乐县| 丹东市| 油尖旺区| 渝北区| 肥东县| 抚松县| 永福县| 齐河县| 许昌县| 呼和浩特市| 平泉县| 北海市| 同德县| 祁东县| 富阳市| 东兰县| 隆林|