温馨提示×

centos怎么用wget安装mysql

养鱼的猫咪
438
2021-03-17 18:12:09
栏目: 云计算

centos怎么用wget安装mysql

在centos中使用wget命令安装mysql,具体方法如下:

1.首先,在centos命令行中使用yum安装wget命令;

yum install wget

2.wget命令安装好后,使用wget命令下载mysql的repo源,并安装;

wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm

sudo rpm -ivh mysql-community-release-el7-5.noarch.rpm

3.repo源安装好后,继续在命令行中执行以下命令即可安装mysql;

sudo yum install mysql-server

0