1.官网下载 keepalived-2.2.2.tar.gz
移动到 /usr/soft/keepalived
然后进行解压
tar -zxvf keepalived-2.2.2.tar.gz
2.配置
进入目录
[root@localhost keepalived]# cd /usr/soft/keepalived/keepalived-2.2.2 [root@localhost keepalived-2.2.2]# ./configure
成功如上图
3. 编译安装
make make install
4. 配置成服务
cp /usr/soft/keepalived/keepalived-2.2.2/keepalived/etc/init.d/keepalived /etc/init.d/ mkdir /etc/keepalived cp /usr/local/etc/keepalived/keepalived.conf /etc/keepalived/
/usr/soft/keepalived/keepalived-2.2.2/keepalived/etc/init.d 换成自己的安装位置
单条完成执行后
启动
service keepalived start
标签:tar,soft,keepalived,etc,usr,2.2,安装,Liunx From: https://www.cnblogs.com/kkds/p/17843878.html