转载请注明出处:http://blog.csdn.net/l1028386804/article/details/76383367
我们在安装Keepalived的时候,可能会出现一些异常情况,比如,我们按照以下命令在安装Keepalived时
# tar xzf keepalived-1.3.4.tar.gz可能会出现如下异常:
# cd keepalived-1.3.4
# ./configure --prefix=/usr/local/keepalived/
# make && make install
Tips 1:安装过程中提示:*** WARNING – this build will not support IPVS with IPv6. Please install libnl/libnl-3 dev libraries to support IPv6 with IPVS.
解决方案为:
# yum install -y libnl3.x86_64Tips 2:configure: error: !!! Please install libnfnetlink headers. !!!
# yum install -y libnl3-devel.x86_64
解决方案为:
# yum install -y libnfnetlink.x86_64之后,我们就可以正确安装Keepalived,没有任何异常了。
# yum install -y libnfnetlink-devel.x86_64