三 把keepalived注册成系统服务

1.打开安装目录

keepalived-2.0.18/keepalived/etc

2.把下面两个文件复制到linux系统服务中

cp init.d/keepalived /etc/init.d/
cp sysconfig/keepalived /etc/sysconfig/

3.重新加载系统服务

systemctl daemon-reload

4.打开keepalived

systemctl start keepalived.service
posted @ 2020-10-16 18:11  橙宝技术  阅读(192)  评论(0编辑  收藏  举报