!!!!!!!!!!!!!!!!!!!!!!!!!!!!
注意:
一般安装之前都没有wget命令。需要先安装wget
yum install -y wget
1、打开centos的yum文件夹
输入命令cd /etc/yum.repos.d/
2、用wget下载repo文件
输入命令wget http://mirrors.aliyun.com/repo/Centos-7.repo
如果wget命令不生效&
一般安装之前都没有wget命令。需要先安装wget
yum install -y wget
1、打开centos的yum文件夹
输入命令cd /etc/yum.repos.d/
2、用wget下载repo文件
输入命令wget http://mirrors.aliyun.com/repo/Centos-7.repo
如果wget命令不生效&