keepalived 高可用配置
下载地址:http://www.keepalived.org/software/keepalived-1.2.12.tar.gzht
安装方法:
1. ./configure
可能出现的错误
!!! OpenSSL is not properly installed on your system. !!!
!!! Can not include OpenSSL headers files.
运行keepalived的 ./configure时,ubuntu报错:OpenSSL is not properly installed on your system.此时需要安装OpenSSL组件,执行命令如下:
sudo apt-get install libssl-dev
2. make
The program 'make' can be found in the following packages:
* make
* make-guile
Try: apt install <selected package>
apt-get install make
3. make install
默认安装到 /usr/local/sbin
#make install
4. 修改配置文件
/usr/local/etc/keepalived/keepalived.conf
5. 如果要开启发送邮件,请安装并启动sendmail服务