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