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
推薦閱讀
- Securing Blockchain Networks like Ethereum and Hyperledger Fabric
- 可信計算3.0工程初步
- 黑客攻防與電腦安全從新手到高手(微視頻+火力升級版)
- 信息安全導論(第2版)
- End to End GUI Development with Qt5
- 數字政府網絡安全合規性建設指南:密碼應用與數據安全
- 白話零信任
- Mastering Metasploit
- Android Application Security Essentials
- 云計算安全:關鍵技術、原理及應用
- 數字銀行安全體系構建
- 云計算安全技術與應用
- 黑客攻防入門
- 安全網絡構建
- Instant OSSEC Host-based Intrusion Detection System