一、基础环境搭建
2.1 配置yum
1、添加yum源
#一定注意版本 #curl 下载阿里镜像源 curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo #rpm 安装官方-EPEL源 rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm #更新 yum clean all && yum makecache yum update && yum upgrade
2、安装yum辅助工具
yum install -y yum-utils device-mapper-persistent-data lvm2