下载系统已经安装的rpm包

下载系统已经安装的rpm包

yum -y install yum-utils 安装yum下载工具

yumdownloader mysql 用yum下载到当前目录

实例:
查询mysql安装包
[root@localhost ~]# rpm -qa | grep mysql
mysql-community-libs-5.6.28-2.el6.x86_64
mysql-community-server-5.6.28-2.el6.x86_64
mysql-community-client-5.6.28-2.el6.x86_64
mysql57-community-release-el6-7.noarch
mysql-community-common-5.6.28-2.el6.x86_64

安装工具
yum -y install yum-utils

下载rpm包
yumdownloader mysql-community-libs
yumdownloader mysql-community-server
yumdownloader mysql-community-client
yumdownloader mysql57-community-release
yumdownloader mysql-community-common

安装到其他服务器上
yum -y install localinstall ./*

上一篇:了解innodb_support_xa(分布式事务)


下一篇:easyui Datagrid+searchbox 实现搜索功能