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

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
主站蜘蛛池模板: 怀柔区| 安新县| 措美县| 凤阳县| 宝清县| 湾仔区| 温泉县| 沙田区| 淮滨县| 荥阳市| 永安市| 海淀区| 资源县| 安溪县| 榆林市| 清原| 襄樊市| 乌审旗| 达孜县| 平乡县| 鄱阳县| 盐津县| 江城| 霍林郭勒市| 延庆县| 高安市| 辉县市| 新郑市| 神农架林区| 扶绥县| 凤阳县| 进贤县| 偏关县| 白城市| 鄄城县| 正阳县| 宁国市| 哈尔滨市| 黄浦区| 武乡县| 四子王旗|