- 打开profile文件
sudo vim /etc/profile - 文件添加
export http_proxy=http://ip:port或export https_proxy=http://ip:port - 保存
Esc :q - 生效
source /etc/profile
最后修改:2021 年 09 月 19 日 11 : 11 AM
© 允许规范转载
sudo vim /etc/profileexport http_proxy=http://ip:port 或 export https_proxy=http://ip:portEsc :qsource /etc/profile