Linux IPVSADM Installation

Source: Internet
Author: User

cd/usr/src/

wget http://www.linuxvirtualserver.org/software/kernel-2.6/ipvsadm-1.24-6.src.rpm
RPM-IVH ipvsadm-1.24-6.src.rpm #会有Header V3 DSA signature:nokey, key ID warning, ignore it is, directory it automatically can not become the words to help it build

Yum redhat-rpm-config rpm-build kernel-utils #这个不安就无法执行rpmbuild
Cd/usr/src/redhat/specs
rpmbuild-bp–target=i686 Kernel-2.6.spec #rpmbuild这个完了之后就会生成内核的目录

Cp-a/USR/SRC/REDHAT/BUILD/KERNEL-2.6.9/LINUX-2.6.9/USR/SRC
Ln-s/usr/src/linux-2.6.9/usr/src/linux #没有ln这个目录的话下面编译会报make [1]: * * [LIBIPVS.O] Error 1 errors

wget http://www.linuxvirtualserver.org/software/kernel-2.6/ipvsadm-1.24.tar.gz
Tar zxvf ipvsadm-1.24.tar.gz
CD ipvsadmin-1.24
Make && Makeinstall

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.