在CentOS 6.3 下安装 ipvsadm 1.26.1 & keepalived 1.2.5

本文介绍了如何在Linux内核中实现IPVS (IP Virtual Server),一种第4层交换技术,用于在网络中进行负载均衡。文章详细说明了从获取软件包到安装所需的步骤,并提供了在遇到Keepalived安装错误时的解决办法。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

 

IPVS (IP Virtual Server) implements transport-layer load balancing inside the Linux kernel, so called Layer-4 switching. IPVS running on a host acts as a load balancer at the front of a cluster of real servers, it can direct requests for TCP/UDP based services to the real servers, and makes services of the real servers to appear as a virtual service on a single IP address.


 

 

1:get ipvsadm   from http://www.linuxvirtualserver.org/software/ipvs.html#kernel-2.6

 

2:   install kernel-devel ,ln -s /usr/src/kernel/xxxxx /usr/src/linux

 

3:  popt-devel , libnl-devel, popt-static

 

4:   install ipvsadm make && make install

 

or 

    yum install ipvsadm

 

detail info : http://kb.linuxvirtualserver.org/wiki/Compiling_ipvsadm_on_different_Linux_distributions

 

在 安装 keepalived出错时,同样需要执行【2、3】

 

 

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值