编译安装keepalived 1.2.16

1、官网下载地址:

http://www.keepalived.org/download.html   #截止目前最新版本为1.2.16

2、解压安装包:

[[email protected] ~]# tar xvf keepalived-1.2.16.tar.gz

3、进入安装目录:

[[email protected] ~]# cd keepalived-1.2.16

4、安装

解决依赖:

[[email protected] keepalived-1.2.16]# yum install ipvsadm

安装keepalived:

[[email protected] keepalived-1.2.16]# ./configure

[[email protected] keepalived-1.2.16]# make && make install

5、复制脚本和文件:

[[email protected] keepalived-1.2.16]# cp  /usr/local/etc/rc.d/init.d/keepalived  /etc/rc.d/init.d/

[[email protected] keepalived-1.2.16]# cp /usr/local/etc/sysconfig/keepalived  /etc/sysconfig/

[[email protected] keepalived-1.2.16]# mkdir /etc/keepalived

[[email protected] keepalived-1.2.16]# cp /usr/local/etc/keepalived/keepalived.conf  /etc/keepalived/

[[email protected] keepalived-1.2.16]# cp /usr/local/sbin/keepalived  /usr/sbin/

6、启动服务:

[[email protected] keepalived-1.2.16]# /etc/init.d/keepalived   restart

Stopping keepalived:                                       [FAILED]

Starting keepalived:                                       [  OK  ]

时间: 2024-10-10 09:33:57

编译安装keepalived 1.2.16的相关文章

CentOS 6.4下编译安装MySQL 5.6.16

一.卸载旧版本MySql 1.rpm卸载: 1> 检查安装包: rpm -qa | grep mysql 2> 普通删除: rpm -e mysql-5.6.16.rpm 3> 强力删除.如果使用上面命令删除时,提示有依赖的其他文件,则使用该命令可以对其进行强力删除. rpm -e --nodeps mysql-5.6.16.rpm 2.tar卸载: 1> 删除临时文件: make clean 2> 卸载 make uninstall 3> 删除解压文件 rm  -rf

Linux CentOS6.5下编译安装MySQL 5.6.16【给力详细教程】

一.编译安装MySQL前的准备工作 安装编译源码所需的工具和库 [sql] view plaincopy yum install gcc gcc-c++ ncurses-devel perl 安装cmake,从http://www.cmake.org下载源码并编译安装 [sql] view plaincopy wget http://www.cmake.org/files/v2.8/cmake-2.8.10.2.tar.gz tar -xzvf cmake-2.8.10.2.tar.gz cd 

Linux CentOS6.5下 源码编译安装MySQL 5.6.16【给力详细教程】

一.编译安装MySQL前的准备工作 安装编译源码所需的工具和库 yum install gcc gcc-c++ ncurses-devel perl 安装cmake,从http://www.cmake.org下载源码并编译安装 wget http://www.cmake.org/files/v2.8/cmake-2.8.10.2.tar.gz tar -xzvf cmake-2.8.10.2.tar.gz cd cmake-2.8.10.2 ./bootstrap ; make ; make i

Linux CentOS6.6下编译安装MySQL 5.6.16 详细教程(亲测成功)

一.编译安装MySQL前的准备工作 安装编译源码所需的工具和库 [sql] view plain copy yum install gcc gcc-c++ ncurses-devel perl 安装cmake 官方:http://www.cmake.org下载源码并编译安装 csdn下载地址:http://download.csdn.net/detail/chun8416/9514242 [sql] view plain copy wget http://www.cmake.org/files/

源码编译安装keepalived

首先到官网下载需要的包:http://www.keepalived.org/download.html [[email protected] local]# tar -zxvf /tmp/keepalived-1.3.5.tar.gz [[email protected] local]# cd keepalived-1.3.5/ [[email protected] keepalived-1.3.5]# ./configure --prefix=/usr/local/keepalived 然后系

Percona-XtraDB-Cluster+haproxy+keepalived 编译安装

系统:centos7 192.168.1.55 mysql 端口3306 Percona-XtraDB-Cluster 主节点 192.168.1.56 mysql端口3307 Percona-XtraDB-Cluster+haproxy+keepalived 192.168.1.57 MySQL端口3307 Percona-XtraDB-Cluster+haproxy+keepalived 192.168.4.58/21 vip ip 软件版本:Percona-XtraDB-Cluster-5

keepalived编译安装

编译安装keepalived 使用源码先安装keepalived 1.2.6 cd/usr/local/src wget http://www.keepalived.org/software/keepalived-1.2.6.tar.gz tarzxf keepalived-1.2.6.tar.gz cdkeepalived-1.2.6 ./configure--prefix=/usr/local/keepalived make makeinstall 所设keepalived安装到/usr/l

centos 7.5 1804编译安装nginx 1.16.0

1.安装依赖组件yum install -y gcc gcc-c++ pcre pcre-devel zlib zlib-devel openssl openssl-devel 2. 下载安装包wget https://nginx.org/download/nginx-1.16.0.tar.gz 3.编译安装tar zxvf nginx-1.16.0.tar.gzcd nginx-1.16.0./configure --prefix=/usr/local/nginxmake && make

编译安装LAMP环境:httpd-2.4+mysql5.6+php5.5

本文大纲: 1.安装前准备 2.编译安装Apache 3.安装Mysql数据库 4.编译安装PHP 5.配置httpd服务,使其支持php 6.安装Xcache加速器 7.启用服务器状态页面 8.PHP连接Mysql测试 所有软件包的网站下载地址: apr和apr-util:http://apr.apache.org/ httpd:http://httpd.apache.org/ 三条主线:2.0/2.2/2.4/ mysql:http://dev.mysql.com/downloads/mys