清华镜像下载Anaconda3镜像文件,使用root身份安装anaconda3。可到清华镜像查看最新版本的ananconda
https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/
sudo wget https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/Anaconda3-5.3.1-Linux-x86_64.sh
发现报错:
--2021-10-28 21:06:37-- https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/Anaconda3-5.3.1-Linux-x86_64.sh
Resolving mirrors.tuna.tsinghua.edu.cn (mirrors.tuna.tsinghua.edu.cn)... 101.6.15.130, 2402:f000:1:400::2
Connecting to mirrors.tuna.tsinghua.edu.cn (mirrors.tuna.tsinghua.edu.cn)|101.6.15.130|:443... connected.
ERROR: cannot verify mirrors.tuna.tsinghua.edu.cn's certificate, issued by ‘/C=US/O=Let's Encrypt/CN=R3’:
Issued certificate has expired.
To connect to mirrors.tuna.tsinghua.edu.cn insecurely, use `--no-check-certificate'.
发现 是我们的服务器上的CA证书没有更新
Let’s Encrypt 根证书过期,导致pip使用清华镜像不信任 - 教程资源|网络资源 - 如有乐享
yum update ca-certificates -y
安装
bash Anaconda3-5.0.1-Linux-x86_64.sh
输如yes一直等待安装完成,最后会询问你是否装vscode,由于服务器没有图形界面,一般选择不安装。