在要求输入邮箱的文本域,请填写真实的邮件地址。非真实邮件地址,将收不到回复信息。

2020年02月27日的内容

IT相关

Linux Centos 7更换国内源

由于Linux Centos 官方的源在国外服务器, 使用官方源速度慢的出奇,所以要更换为国内的源,于是有了以下内容。 首先备份原有Linux Centos 7的源/etc/yum.repos.d/CentOS-Base.repo。 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo 某些Centos镜像安装后可能没有wget,可以尝试curl 进行操作,如下 curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.al...

4年前 (2020-02-27) 448℃ 0评论 0喜欢