首页 > 代码库 > 源码编译安装keepalived
源码编译安装keepalived
首先到官网下载需要的包: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
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。