使用Keepalived实现高可用


使用Keepalived实现高可用


yum install -y gcc make wget openssl openssl-devel
# apt-get install gcc make wget openssl libssl-dev

wget http://www.keepalived.org/software/keepalived-1.2.20.tar.gz

tar zxvf keepalived-1.2.20.tar.gz
cd keepalived-1.2.20
./configure --prefix=/usr/local/keepalived
make && make install