1.首先进入root(使用su -或su root)

2.检查是否安装wget

3.使用(curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo)出现这些就算完成

4.使用yum安装,出现ok选择y

5.检查一下(上面的那检查也可以)

1.首先进入root(使用su -或su root)

2.检查是否安装wget

3.使用(curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo)出现这些就算完成

4.使用yum安装,出现ok选择y

5.检查一下(上面的那检查也可以)
