keepalived安装
wget http://www.keepalived.org/software/keepalived-1.2.7.tar.gz
tar zxvf keepalived-1.2.7.tar.gz
cd cd keepalived-1.2.7安装前先安装 gcc openssl poptyum install -y gcc openssl-devel popt-devel 由于服务器以前都装过了Loaded plugins: rhnplugin, security
This system is not registered with ULN.
ULN support will be disabled.
5ASU7-dvd-Cluster | 1.1 kB 00:00
5ASU7-dvd-Cluster/primary | 4.0 kB 00:00
5ASU7-dvd-Cluster 9/9
5ASU7-dvd-ClusterStorage | 1.1 kB 00:00
5ASU7-dvd-ClusterStorage/primary | 6.4 kB 00:00
5ASU7-dvd- ClusterStorage 16/16
5ASU7-dvd- Server | 1.1 kB 00:00
5ASU7-dvd- Server/primary | 1.4 MB 00:00
5ASU7-dvd- Server 3275/3275
5ASU7-dvd- VT | 1.1 kB 00:00
5ASU7-dvd- VT/primary | 17 kB 00:00
5ASU7-dvd- VT 34/34
5ASU7-upda tes | 1.1 kB 00:00
5ASU7-upda tes/primary | 38 kB 00:00
5ASU7-upda tes 168/168
Setting up Install Process
Package gc c-4.1.2-51.el5.x86_64 already installed and latest version
Package op enssl-devel-0.9.8e-20.el5.x86_64 already installed and latest version
Package openssl-devel-0.9.8e-20.el5.i386 already installed and latest version
No package popt-devel available.
Nothing to do接下来安装keepalived执行./configure最后显示Keepalived configuration
------------------------
Keepalived version : 1.2.7
Compiler : gcc
Compiler flags : -g -O2 -DETHERTYPE_IPV6=0x86dd
Extra Lib : -lpopt -lssl -lcrypto
Use IPVS Framework : Yes
IPVS sync daemon support : Yes
IPVS use libnl : No
Use VRRP Framework : Yes
Use VRRP VMAC : No
SNMP support : No
Use Debug flags : No执行make && make install安装完成!