• openssl,db,mysql,sasl编译安装


    yum -y install nfs-utils nfs4-acl-tools nfs-utils-lib
    yum -y install gcc gcc* libtool libtools-ltdl libtool-ltdl-devel cmake ncurses ncurses-devel
    cd openssl-1.0.2d/
    ./config shared
    make
    make test
    make install
    echo "/usr/local/ssl/lib" >> /etc/ld.so.conf
    ldconfig


    cd db-6.1.26/
    dist/configure --prefix=/usr/local/bdb
    make
    make install
    echo "/usr/local/bdb/lib" >> /etc/ld.so.conf
    mkdir /usr/include/db
    ln -s /usr/local/bdb/include/db.h /usr/include/db/db.h
    ln -s /usr/local/bdb/include/db.h /usr/include/db.h
    ldconfig

    groupadd mysql
    useradd -r -g mysql mysql
    cd mysql-5.6.22/
    cmake .
    make
    make install
    cd /usr/local/mysql/
    chown -R mysql.mysql .
    scripts/mysql_install_db --user=mysql
    chown -R root .
    chown -R mysql data/
    cp support-files/mysql.server /etc/init.d/mysqld
    service mysqld start
    service mysqld start
    bin/mysql -h 127.0.0.1


    export CPPFLAGS="-I/usr/local/mysql/include"
    cd cyrus-sasl-2.1.26/

    ./configure --enable-anon --enable-plain --enable-login --enable-sql --disable-krb4 --disable-otp --disable-cram --disable-digest --with-mysql=/usr/local/mysql/lib/ --without-pam --without-saslauthd --without-pwcheck --with-dblib=berkeley --with-bdb-libdir=/usr/local/bdb/lib --with-bdb-incdir=/usr/local/bdb/include --with-openssl=/usr/local/ssl --with-plugindir=/usr/local/lib/sasl2

    每天更新一点点,温习一点点点,进步一点点
  • 相关阅读:
    sharepoint 2013 configure my site
    格式化xml
    斗罗大陆
    spring的beans.xml的配置
    jdom学习:读取xml文件
    java中加载xml文件方法
    struts2中IOC控制反转应用
    struts2.xml的配置与技巧
    struts2中的路径问题
    struts.xml详细配置
  • 原文地址:https://www.cnblogs.com/lmgsanm/p/5055521.html
Copyright © 2020-2023  润新知