欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

安装keepalive

程序员文章站 2022-07-13 12:18:58
...
#安装 popt
yum -y install popt popt-devel

cd /home/mytest
wget http://www.keepalived.org/software/keepalived-1.2.8.tar.gz
tar -zxf keepalived-1.2.8.tar.gz
cd keepalived-1.2.8
./configure --prefix=/usr/local/keepalived --sysconf=/etc
make
make install

cp /usr/local/keepalived/sbin/keepalived  /bin/


启动
/etc/init.d/keepalived start
停止
/etc/init.d/keepalived stop

提示ok 表示成功
相关标签: keepalive