首先安装wget
yum install -y wget
使用wget获取mysql官网的rpm包
wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm
利用rpm来进行安装
rpm -ivh mysql-community-release-el7-5.noarch.rpm
然后就可以直接利用yum 来安装mysql mysql-server 等软件。
首先安装wget
yum install -y wget
使用wget获取mysql官网的rpm包
wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm
利用rpm来进行安装
rpm -ivh mysql-community-release-el7-5.noarch.rpm
然后就可以直接利用yum 来安装mysql mysql-server 等软件。