2.安装keepalived详细过程
1.下载地址:
keepalived-2.3.1 keepalived-2.1.2 keepalived-2.0.18 三个版本tar包
2.keepalived安装详细过程
(1) 解压keepalived tar包
tar -zxvf keepalived-2.0.18.tar.gz
(2)进入keepalived目录然后配置
#进入keepalived目录
cd keepalived-2.0.18/
#配置keepalived[配置安装位置:/usr/local/keepalived; 配置文件位置:/etc,必须是etc目录不然启动会报错 ]
./configure --prefix=/usr/local/keepalived --sysconf