Keepalived

Install

make rpm on centos6.4

set rpmbuild env

#mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
#echo '%_topdir %(echo $HOME)/rpmbuild' > ~/.rpmmacros
#wget http://www.keepalived.org/software/keepalived-1.2.7.tar.gz
#tar -zxvf keepalived-1.2.7.tar.gz
#cd keepalived-1.2.7
#./configure --enable-snmp
#make

#sed -i 's/1.2.2/1.2.7/' keepalived.spec
#sed -i 's/1.2.2/1.2.7/' keepalived.spec.in
#cp /usr/include/linux/ip_vs.h /usr/include/net/
#chgrp root keepalived.spec
#make rpm

[root@- ~]# tree rpmbuild/RPMS/
rpmbuild/RPMS/
└── x86_64
    ├── ipvsadm-1.26-1.x86_64.rpm
    └── ipvsadm-debuginfo-1.26-1.x86_64.rpm
/var/lib/openshift/bccd8eac1968476490eaee9ced33c7bf/app-root/runtime/repo/php/data/pages/keepalived.txt · 最后更改: 2013/05/13 14:46 由 admin
到顶部
CC Attribution-Noncommercial-Share Alike 3.0 Unported
chimeric.de = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0