# 在环境变量中添加代理服务器配置
export http_proxy="http://<proxy_server_ip>:<proxy_server_port>"
export https_proxy="http://<proxy_server_ip>:<proxy_server_port>"
# 使用curl命令测试代理设置
curl ipinfo.io
Linux终端设置代理服务器
最新推荐文章于 2024-04-26 16:31:32 发布
# 在环境变量中添加代理服务器配置
export http_proxy="http://<proxy_server_ip>:<proxy_server_port>"
export https_proxy="http://<proxy_server_ip>:<proxy_server_port>"
# 使用curl命令测试代理设置
curl ipinfo.io