yum 下载安装包

yumdownloader mysql-server --resolve --destdir=/data/mysql/ 

 查看文件

[root@redis-node1 mysql]# ll
total 133772
-rw-r--r-- 1 root root 40375748 Jan  9 22:28 mysql-community-client-5.6.47-2.el7.x86_64.rpm
-rw-r--r-- 1 root root   295668 Jan  9 22:28 mysql-community-common-5.6.47-2.el7.x86_64.rpm
-rw-r--r-- 1 root root  4256572 Jan  9 22:29 mysql-community-libs-5.6.47-2.el7.x86_64.rpm
-rw-r--r-- 1 root root 90368380 Jan  9 22:29 mysql-community-server-5.6.47-2.el7.x86_64.rpm
-rw-r--r-- 1 root root   315144 Oct  2  2019 ncurses-compat-libs-6.0-8.20170212.amzn2.1.3.x86_64.rpm
-rw-r--r-- 1 root root    33240 Sep 22  2018 perl-Compress-Raw-Bzip2-2.061-3.amzn2.0.2.x86_64.rpm
-rw-r--r-- 1 root root    59148 Sep 22  2018 perl-Compress-Raw-Zlib-2.061-4.amzn2.0.2.x86_64.rpm
-rw-r--r-- 1 root root    49028 Sep 22  2018 perl-Data-Dumper-2.145-3.amzn2.0.2.x86_64.rpm
-rw-r--r-- 1 root root   823240 Sep 22  2018 perl-DBI-1.627-4.amzn2.0.2.x86_64.rpm
-rw-r--r-- 1 root root   266124 Jun 21  2018 perl-IO-Compress-2.061-2.amzn2.noarch.rpm
-rw-r--r-- 1 root root    52160 Jun 21  2018 perl-Net-Daemon-0.48-5.amzn2.noarch.rpm
-rw-r--r-- 1 root root    36680 Jun 21  2018 perl-PlRPC-0.2020-14.amzn2.noarch.rpm

 补充mysql源

 wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm
rpm -ivh mysql-community-release-el7-5.noarch.rpm
yum install yum-utils

安装

[root@redis-node1 mysql]# rpm -Uvh *.rpm
warning: mysql-community-client-5.6.47-2.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
Preparing...                          ################################# [100%]
Updating / installing...
   1:perl-Data-Dumper-2.145-3.amzn2.0.################################# [  8%]
   2:mysql-community-common-5.6.47-2.e################################# [ 15%]
   3:mysql-community-libs-5.6.47-2.el7################################# [ 23%]
   4:perl-Net-Daemon-0.48-5.amzn2     ################################# [ 31%]
   5:perl-Compress-Raw-Zlib-1:2.061-4.################################# [ 38%]
   6:perl-Compress-Raw-Bzip2-2.061-3.a################################# [ 46%]
   7:perl-IO-Compress-2.061-2.amzn2   ################################# [ 54%]
   8:perl-PlRPC-0.2020-14.amzn2       ################################# [ 62%]
   9:perl-DBI-1.627-4.amzn2.0.2       ################################# [ 69%]
  10:ncurses-compat-libs-6.0-8.2017021################################# [ 77%]
  11:mysql-community-client-5.6.47-2.e################################# [ 85%]
  12:mysql-community-server-5.6.47-2.e################################# [ 92%]
Cleaning up / removing...
  13:mariadb-libs-1:5.5.64-1.amzn2    ################################# [100%]

  

 

上一篇:Qt - 双击运行exe时报错:无法定位程序输入点_ZdlPvj于动态链接库


下一篇:perl 参数传递值为数字