keepalived 高可用配置
Posted 不断积累,必然飞跃,突破随之!
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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服务
以上是关于keepalived 高可用配置的主要内容,如果未能解决你的问题,请参考以下文章