如题所示,在Linux上编译安装Keepalived的时候遇到报错;
具体如下:

原因:
编译所需的软件包不全

解决:
安装需要的软件包:
yum install curl gcc openssl-devel libnl3-devel net-snmp-devel libnfnetlink-devel -y

然后,再次编译,就没有问题了:

可以看到,问题已解决。

最后,make与make install之后,就可以运行测试了:
查看一下keepalived的版本信息:


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

隐藏
变装