1. 安装yum-utils
`yum install -y yum-utils`
2. 获取rpm软件包路径
yumdownloader --urls RPM-NAME
3. 下载
/home
office lens
:
### 安装MySQL
1. 安装MySQL官方仓库
`yum install 'https://repo.mysql.com//mysql57-community-release-el7-11.noarch.rpm'
`
2. 安装MySQL软件包
`yum install mysql mysql-server`
:
service mysqld start