Administrator
发布于 2024-11-29 / 13 阅读
0
0

Linux系统设置全局代理(http代理,socks代理)

临时

export http_proxy=http://ip:port
export https_proxy=http://ip:port

永久

vim /etc/profile
http_proxy=http://127.0.0.1:9666 #代理程序地址
https_proxy=http://127.0.0.1:9666
ftp_proxy=http://127.0.0.1:9666
export http_proxy
export ftp_proxy
export https_proxy

评论