时间:2021-07-01 10:21:17 帮助过:5人阅读
解压缩、编译、安装,过程中提示缺什么库就安装什么库,然后再重新编译安装。
# tar -zxf keepalived-2.0.0.tar.gz # cd keepalived-2.0.0 # ./configure --prefix=/usr/local/keepalived # make && make install # echo $? 0 # # cp /usr/local/keepalived/sbin/keepalived /usr/sbin/ # cp /usr/local/keepalived/etc/sysconfig/keepalived /etc/sysconfig/ # cp ./keepalived/etc/init.d/keepalived /etc/init.d/
# mkdir /etc/keepalived
# cp /usr/local/keepalived/etc/keepalived/keepalived.conf /etc/keepalived/
Mysql+keepalive高可用自动切换
标签:col get ip绑定 文件 target fine 切换 app 压缩