?一次性
export http_proxy="http://192.168.0.188:7890"
export https_proxy="http://192.168.0.188:7890"
一直生效
寫入 ~/.bashrc
(或 ~/.bash_profile
)
nano ~/.bashrc
?加入這一行:
export http_proxy="http://192.168.0.188:7890"
export https_proxy="http://192.168.0.188:7890"
保存后,執行一次:
source ~/.bashrc