$ export http_proxy=socks5://127.0.0.1:1080 # 配置http访问的 $ export https_proxy=socks5://127.0.0.1:1080 # 配置https $ export all_proxy=socks5://127.0.0.1:1080 # 配置http和https访问