标签:shel cal get oca lib yum安装 tar zhang http
1 #!/bin/bash 2 #by zhangjia 3 #2019年2月24日14:20:57 4 #shell_name:keepalived_auto_install.sh 5 ########################################## 6 #yum安装 7 #yum install -y keepalived* 8 set -e 9 SERVER="keepalived" 10 SERVER_VER="keepalived-1.3.5" 11 INSTALL_DIR="/usr/local/${SERVER}" 12 13 yum install -y wget vim openssl openssl-devel libnl libnl-devel libnfnetlink-devel 14 cd /usr/src 15 wget -c http://www.keepalived.org/software/${SERVER_VER}.tar.gz 16 [ $? -eq 0 ] && tar -xzvf ${SERVER_VER}.tar.gz && cd ${SERVER_VER} 17 ./configure --prefix=${INSTALL_DIR} && make && make install
keepalived_auto_install
标签:shel cal get oca lib yum安装 tar zhang http
原文地址:https://www.cnblogs.com/zhj5551/p/11198268.html