安裝LVS

若是ls /usr/src/kernels/爲空:linux

yum install kernel-develios

[root@nagios_server ~]# ls /usr/src/kernels/ide

2.6.32-696.6.3.el6.x86_64server

 ln -s /usr/src/kernels/2.6.32-696.6.3.el6.x86_64/ /usr/src/linux ip

cd  /root/toolget


wget http://www.linuxvirtualserver.org/software/kernel-2.6/ipvsadm-1.26.tar.gzit

yum install libnl* popt* -yio

tar zvf ipvsadm-1.26class

cd ipvsadm-1.26grep

make 

make install

/sbin/ipvsadm

lsmod | grep ip_vs

相關文章
相關標籤/搜索