一、基本安装
1、基本环境:
CentOS7
keepalived-1.3.4.tar.gz
2、安装前需要的环境:
wget、gcc、pcre、openssl、zlib
在之前的Nginx安装教程中已指明怎么安装这些环境。在此不在赘述。
3、正式安装
进入下载目录:cd /usr/local/src
①下载keepalived:
wget http://www.keepalived.org/software/keepalived-1.3.4.tar.gz
②解压缩:
tar -zxvf keepalived-1.3.4.tar.gz
③进行configure配置,指定安装目录:
cd keepalived-1.3.4 && ./configure --prefix=/usr/local/keepalived-1.3.4