CentOS7 Server Configuration

CentOS7 Server Configuration

1. Replace the yum software source

Download Ali Source

cd /etc/yum.repos.d
sudo wget -nc http://mirrors.aliyun.com/repo/Centos-7.repo

Changing Ali yum source as the default source

Centos-7.repo may depend on the specific server's file name

sudo mv Centos-7.repo CentOS-Base.repo

Yum update the local cache

# 全部清除
sudo yum clean all
# 更新列表
sudo yum list
# 缓存yum包信息到本机,提高搜索速度
sudo yum makecache

2. Install Anaconda3

Tsinghua mirror source download

2.1 replacement conda source

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --set show_channel_urls yes

image.png

2.2 pip replacement source

https://blog.csdn.net/dapanbest/article/details/81096241

Guess you like

Origin www.cnblogs.com/JustNo/p/11964535.html