开始前换源
1.软件应用源更换,我这里举例的是centos8换成阿里的源,提升安装软件的下载速度
至于应用源怎么换可以去这里找到对应的系统,,按照他的方法更换就行了
https://developer.aliyun.com/mirror/
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak
wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-8.repo
sed -i -e '/mirrors.cloud.aliyuncs.com/d' -e '/mirrors.aliyuncs.com/d' /etc/yum.repos.d/CentOS-Base.repo
yum clean all
yum makecache
2.换换python的源
mkdir ~/.pip
touch ~/.pip/pip.conf
echo "[global]
index-url = https://mirrors.aliyun.com/pypi/simple/
[install]
trusted-host=mirrors.aliyun.com" >> ~/.pip/pip.conf
然后再安装插件和seafile速度会快上好多好多,我之前不换源,下载只有几K,换完几M,速度直接提升了上千倍