1. 程式人生 > >安裝 Keepalived

安裝 Keepalived

安裝 centos mas 環境 ase build pro proc keep

安裝環境

[[email protected] ~]# cat /etc/redhat-release
CentOS Linux release 7.1.1503 (Core) 
[[email protected] ~]# cat /proc/version 
Linux version 3.10.0-229.el7.x86_64 ([email protected]) (gcc version 4.8.2 20140120 (Red Hat 4.8.2-16) (GCC) ) #1 SMP Fri Mar 6 11:36:42 UTC 2015

主機IP

10.0.0.20  MASTER
10.0.0.21 BACKUP

安裝

[[email protected] ~]# yum -y install keepalived

查看版本

[[email protected] ~]# keepalived -v

配置 10.0.0.20 MASTER

安裝 Keepalived