在/etc/profile文件
    export proxy=”xxxxxx:xxx”
    export http_proxy=$proxy
    export https_proxy=$proxy
    export ftp_proxy=$proxy
    取消代理
    unset http_proxy
    unset https_proxy
    unset ftp_proxy
    unset no_proxy