sudo apt-get install libssl-dev sudo apt-get install openssl sudo apt-get install libpopt-dev sudo apt-get install keepalived
文件所在位置:etc/keepalived/keepalived.conf
etc/keepalived/keepalived.conf
配置完毕后:sudo service keepalived restart
sudo service keepalived restart