目录

​​Keepalived 官网​​

​​安装​​

​​下载命令​​

​​解压命令​​

​​进入该目录​​

​​安装命令​​

​​遇到的问题​​

​​一、:缺少libnl/libnl-3​​


 

Keepalived 官网

​https://www.keepalived.org/​

​https://github.com/acassen/keepalived​

 

安装

下载命令

wget https://www.keepalived.org/software/keepalived-2.0.20.tar.gz

 

解压命令

tar -zxvf keepalived-2.0.20.tar.gz

 

进入该目录

cd keepalived-2.0.20/

 

安装命令

./configure --prefix=/usr/local/keepalived --sysconf=/etc

--prefix=安装目录

--sysconf 核心配置文件

 

make && make install

 

查看是否安装上

whereis keepalived

【架构】高可用集群架构 Keepalived 安装_vim

 

配置Keepalived

vim /etc/keepalived/keepalived.conf

【架构】高可用集群架构 Keepalived 安装_解决方法_02

 

 

 

 

 

 

 

遇到的问题

一、:缺少libnl/libnl-3

*** WARNING - this build will not support IPVS with IPv6. Please install libnl/libnl-3 dev libraries to support IPv6 with IPVS.

解决方法 安装libnl/libnl-3

yum -y install libnl libnl-devel