ITPub博客

首页 > 数据库 > MySQL > 部署keepalived

部署keepalived

原创 MySQL 作者:haoge0205 时间:2015-09-24 16:56:53 0 删除 编辑
下载 keepalived-1.1.20.tar.gz


tar  -xvf  keepalived-1.1.20.tar.gz


[root@yoon export]# cd keepalived-1.1.20

[root@yoon keepalived-1.1.20]# ls
AUTHOR  ChangeLog   config.status  configure.in  COPYING  genhash  install-sh  keepalived.spec     lib       Makefile.in  TODO
bin     config.log  configure      CONTRIBUTORS  doc      INSTALL  keepalived  keepalived.spec.in  Makefile  README       VERSION


[root@yoon keepalived-1.1.20]# make &&  make install 


[root@yoon keepalived-1.1.20]# mkdir  -p  /etc/sysconfig


[root@yoon keepalived-1.1.20]# mkdir  -p  /etc/keepalived


[root@yoon keepalived-1.1.20]# cp   /usr/local/etc/rc.d/init.d/keepalived     /etc/rc.d/init.d/


[root@yoon keepalived-1.1.20]# cp   /usr/local/etc/sysconfig/keepalived     /etc/sysconfig/


[root@yoon keepalived-1.1.20]# cp   /usr/local/etc/keepalived/keepalived.conf   /etc/keepalived/


[root@yoon keepalived-1.1.20]# cp   /usr/local/sbin/keepalived      /usr/sbin/


[root@yoon keepalived-1.1.20]#service keepalived  start

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/28939273/viewspace-1808369/,如需转载,请注明出处,否则将追究法律责任。

上一篇: Mongodb 备份脚本
请登录后发表评论 登录
全部评论

注册时间:2013-11-28

  • 博文量
    252
  • 访问量
    1669443