标签 "centos7.3" 下的文章

1.首先来看一下系统版本

[[email protected] ~]# cat /etc/redhat-release 
CentOS Linux release 7.6.1810 (Core)

2.更新一下yum源,yum源我这里用的都是阿里云的源

[[email protected] ~]# cd /etc/yum.repos.d/
[[email protected] yum.repos.d]# mkdir bak
[[email protected] yum.repos.d]# mv * bak
[[email protected] yum.repos.d]# wget http://mirrors.aliyun.com/repo/Centos-7.repo
[[email protected] yum.repos.d]# wget http://mirrors.aliyun.com/repo/epel-7.repo

阅读全文