keepalived编译安装

keepalived编译安装

1.wget http://www.keepalived.org/software/keepalived-1.2.16.tar.gz

2.yum install popt-devel popt-static libnl-devel openssl-devel iptraf gcc   net-snmp.x86_64 net-snmp-devel.x86_64 -y

3.tar zxvf keepalived-1.2.16.tar.gz

4. ./configure --sysconfdir=/etc --sbindir=/usr/sbin --enable-snmp --enable-sha1
5. make && make install

启动:service keepalived start

停用:service keepalived stop

{start|stop|reload|restart|condrestart|status}

你可能感兴趣的:(keepalived编译安装)