美文网首页
[KBEngine] Centos7服务器环境配置命令

[KBEngine] Centos7服务器环境配置命令

作者: m969 | 来源:发表于2019-06-29 14:57 被阅读0次

    wget https://dev.mysql.com/get/mysql80-community-release-el7-3.noarch.rpm

    yum localinstall mysql80-community-release-el7-3.noarch.rpm

    yum install mysql-community-server

    systemctl start/stop/restart/status mysqld.service

    sudo grep 'temporary password' /var/log/mysqld.log

    mysql -uroot -p

    alter user 'root'@'localhost' identified by 'New_password';

    yum install -y openssl-devel gcc gcc-c++ kernel-devel mysql-devel autoconf GNU libtool

    kbengine是支持MySQL5.7的,如果是MySQL8.0的会找不到头文件,所以得移动MySQL8.0的头文件

    cp /usr/include/mysql/mysql/udf_registration_types.h /usr/include/mysql/udf_registration_types.h

    cd到src文件夹下

    chmod -R 777 .
    make

    编译成功之后配置好kbengine.xml的ip参数和数据库参数就行了

    相关文章

      网友评论

          本文标题:[KBEngine] Centos7服务器环境配置命令

          本文链接:https://www.haomeiwen.com/subject/nmxpcctx.html