今天下午无聊特地来写一遍博客。
# test 好的 yum install kernel-* gcc make openssl-* # 下载 keepalived-1.2.19.tar.gz wget 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