shell install



#!/bin/sh
LIST_OF_APPS="keepalived ipvsadm"

#aptitude update
echo "********************************************************"
echo "***  start install keepalived ipvsadm                ***"
echo "********************************************************"

yum install -y $LIST_OF_APPS
cp keepalived.conf /etc/keepalived/
cp keepalived /etc/sysconfig/
#./bond.sh
#systemctl restart keepalived.service


echo "********************************************************"
echo "**       End install keepalived ipvsadm              *** "
echo "********************************************************"

留言

熱門文章