修改系统的环境变量文件
vi /etc/profile
在最后添加下面两行代码
export http_proxy=http://PROXY_SERVER:PORT
export https_proxy=http://PROXY_SERVER:PORT
更新环境变量文件即可
source /etc/profile
修改系统的环境变量文件
vi /etc/profile
在最后添加下面两行代码
export http_proxy=http://PROXY_SERVER:PORT
export https_proxy=http://PROXY_SERVER:PORT
更新环境变量文件即可
source /etc/profile