https://blog.csdn.net/l1028386804/article/details/72801492?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522159002853319724839201517%2522%252C%2522scm%2522%253A%252220140713.130102334..%2522%257D&request_id=159002853319724839201517&biz_id=0&utm_medium=distribute.wap_search_result.none-task-blog-2~all~first_rank_v2~rank_v25-2-72801492.nonecase&utm_term=keepalived
yum provides ifconfig 最小化安装ifconfig无法查看网卡
yum install -y lrzsz 安装 rz
yum install vim 不安装只能使用vi编辑器
scp root@192.168.1.197:/root/jdk-8u211-linux-x64.tar.gz /root 本机复制别的服务器上的文件
修改配置文件
service keepalived start 重启服务
如果nginx宕机后,keepalived要再次重启