-
- 1.设置代理
- 2.取消代理
- 3.验证代理是否成功
- 4.问题
2.取消代理export http_proxy=ip地址:端口号
export https_proxy=ip地址:端口号
3.验证代理是否成功unset http_proxy
unset https_proxy
- 命令
4.问题curl cip.cc
- 提示未安装curl
sudo apt-get update
sudo apt install curl

2.取消代理export http_proxy=ip地址:端口号
export https_proxy=ip地址:端口号
3.验证代理是否成功unset http_proxy
unset https_proxy
4.问题curl cip.cc
sudo apt-get update
sudo apt install curl