下载
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
tar
[root@yoon export]# cd keepalived-1.1.20
[root@yoon keepalived-1.1.20]# ls
AUTHOR
bin
[root@yoon keepalived-1.1.20]# make &&
[root@yoon keepalived-1.1.20]# mkdir
[root@yoon keepalived-1.1.20]# mkdir
[root@yoon keepalived-1.1.20]# cp
[root@yoon keepalived-1.1.20]# cp
[root@yoon keepalived-1.1.20]# cp
[root@yoon keepalived-1.1.20]# cp
[root@yoon keepalived-1.1.20]#service keepalived