标签:keepalived
在CentOS上可以通过yum直接安装Keepalvied
yum install keepalived
这里我们使用源码安装Keepalvied
wget http://www.keepalived.org/software/keepalived-1.2.15.tar.gz
tar zxvf keepalived-1.2.15.tar.gz
源码安装任何一个软件都要养成查看源码包文档的习惯,比如INSTALL,README,doc等文档,可以获得很多有用的信息
安装Keepalived前需要安装popt和openssl
yum -y install popt openssl openssl-devel
mkdir -p /data/app_platform/keepalived/
cd keepalived-1.2.15
./configure --prefix=/data/app_platform/keepalived/
make
make install
mkdir -p /data/app_platform/keepalived/conf
参考文档:
http://www.keepalived.org/download.html
本文出自 “Linux SA John” 博客,请务必保留此出处http://john88wang.blog.51cto.com/2165294/1616038
标签:keepalived
原文地址:http://john88wang.blog.51cto.com/2165294/1616038