安装keepalived 1.3.5
所需rpm包以及安装顺序如下
1. rpm -ivh net-snmp-libs-5.7.2-38.el7_6.2.x86_64.rpm
2. rpm -ivh perl-Data-Dumper-2.145-3.el7.x86_64.rpm
3. rpm -ivh net-snmp-agent-libs-5.7.2-38.el7_6.2.x86_64.rpm
4. rpm -ivh keepalived-1.3.5-8.el7_6.5.x86_64.rpm
rpm包下载地址: https://download.csdn.net/download/xiangjai/11869256
安装包出现conflicts with file from package xxx
rpm -ivh --replacefiles xxxx.rpm
离线下载rpm包方式
1. 下载downloadonly
yum install yum-plugin-downloadonly
2. 下载所需的rpm包到指定目录
yum install --downloadonly --downloaddir=/data/rpm xxx