内容如下:
yum install kernel-* gcc make openssl-*# 下载keepalived-1.2.19.tar.gzwget http://www.keepalived.org/software/keepalived-1.2.19.tar.gz# 解压tar xvzf keepalived-1.2.19.tar.gz cd keepalived-1.2.19# 配置文档./configure --sysconfdir=/etc --with-kernel-dir=/usr/src/kernels/2.6.32-504.el6.x86_64# 编译并安装make && make install# 查看keepalived版本,验证安装成功keepalived -v# 设置开机自启动chkconfig keepalived on
End:结束