临时代理设置export HTTP_PROXY=http://192.168.0.74:10809/
export HTTPS_PROXY=https://192.168.0.74:10809/
取消unset HTTP_PROXY
unset HTTP_PROXY
查看代理:env | grep xxx
要使代理服务器永久生效,可以修改 /etc/profile文件 ,在profile 中添加或者删除。
临时代理设置export HTTP_PROXY=http://192.168.0.74:10809/
export HTTPS_PROXY=https://192.168.0.74:10809/
取消unset HTTP_PROXY
unset HTTP_PROXY
查看代理:env | grep xxx
要使代理服务器永久生效,可以修改 /etc/profile文件 ,在profile 中添加或者删除。