zoukankan      html  css  js  c++  java
  • linux keepalived源码安装

    cd /usr/local/src
    wget http://www.keepalived.org/software/keepalived-2.0.8.tar.gz
    tar -zxvf keepalived-2.0.8.tar.gz
    cd keepalived-2.0.8

    yum -y install openssl
    yum -y install openssl-devel

    ./configure --prefix=/usr/local/src/keepalived-2.0.8
    #注意:可能需要安装gcc 如果你是最小化安装linux
    #yum -y install gcc

    make && make install

    mkdir -p /etc/keepalived/
    cp /usr/local/src/keepalived-2.0.8/etc/keepalived/keepalived.conf /etc/keepalived/
    #重新配置
    cp /usr/local/src/keepalived-2.0.8/keepalived/keepalived /etc/rc.d

    ---------------------------------------------

    ./configure --prefix生成makefile。

    make根据makefile生成.so .a 与执行文件。

    make install把二进制执行文件放至/usr/local/bin等目录下

  • 相关阅读:
    Bresenham画线算法
    DDA算法
    GL_LINES & GL_LINE_STRIP & GL_LINE_LOOP
    贝塞尔曲线
    弱引用
    Lambert模型
    ShadowVolume
    Phong Shading
    求反射向量
    Vertex Modifier of Surface Shader
  • 原文地址:https://www.cnblogs.com/l-h-h/p/10313523.html
Copyright © 2011-2022 走看看