keepalived源码安装与配置

#############################

一、安装

1.安装keepalived依赖

dnf -y install openssl openssl-devel 

dnf -y install popt popt-devel
# 用于支持ipv6
dnf -y install libnl libnl-devel

 

2.下载keepalived源码包

官网地址:https://www.keepalived.org/download.html

 

 

3.解压、编译、安装

mkdir /usr/local/keepalived

tar -xzvf keepalived-2.2.7.tar.gz

cd keepalived-2.2.7/

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

make

make install

 

4.安装完成后的效果

 

二、配置

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

########################################

posted @ 2023-04-05 01:09  igoodful  阅读(196)  评论(0编辑  收藏  举报