码迷,mamicode.com
首页 > 其他好文 > 详细

源码编译安装keepalived

时间:2017-04-12 04:41:13      阅读:463      评论:0      收藏:0      [点我收藏+]

标签:nload   img   1.3   config   style   host   make   keepalive   ***   

首先到官网下载需要的包:http://www.keepalived.org/download.html

 
[root@localhost local]# tar -zxvf /tmp/keepalived-1.3.5.tar.gz

[root@localhost local]# cd keepalived-1.3.5/

[root@localhost keepalived-1.3.5]# ./configure --prefix=/usr/local/keepalived

然后系统出现警告:

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

[root@localhost keepalived-1.3.5]# yum -y install libnl libnl-devel

安装完以后重新执行configure

这次出现错误:

configure: error: libnfnetlink headers missing

[root@localhost keepalived-1.3.5]# yum install -y libnfnetlink-devel

重新执行configure

技术分享

 

现在进行编译:

[root@localhost keepalived-1.3.5]# make && make install

到这里就安装完成了!

 

源码编译安装keepalived

标签:nload   img   1.3   config   style   host   make   keepalive   ***   

原文地址:http://www.cnblogs.com/succeed/p/6697185.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!