shell命令

-Olink
bash ./Miniconda3-latest-Linux-x86_64.sh
conda init
proxy

.bashrc内容

export HF_ENDPOINT=https://hf-mirror.com
proxy_on() {
export https_proxy=http://172.27.48.26:1180 http_proxy=http://172.27.48.26:1180 all_proxy=http://172.27.48.26:1180
echo "proxy on"
}

proxy_off() {
unset https_proxy http_proxy all_proxy
echo "proxy off"
}
proxy_off