04 2020 档案

摘要:1. 备份原来的yum源 $sudo cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo-backup 2.设置aliyun的yum源 $sudo wget -O /etc/yum.repos.d/CentOS 阅读全文
posted @ 2020-04-20 17:46 Zero116 阅读(379) 评论(0) 推荐(0)
摘要:将pip的源换为国内的。 1.新建目录及文件~/.pip/pip.conf 2.内容为: [global]index-url = https://pypi.tuna.tsinghua.edu.cn/simple [install]trusted-host=mirrors.aliyun.com 阅读全文
posted @ 2020-04-17 17:49 Zero116 阅读(1018) 评论(0) 推荐(0)