• centos 安装sysbench


    安装sysbench

    下载并且解压

    shell> wget https://github.com/akopytov/sysbench/archive/1.0.zip -O "sysbench-1.0.zip"
    shell> unzip sysbench-1.0.zip
    shell> cd sysbench-1.0

    安装依赖
    shell> yum install automake libtool -y

    开始安装
    ./configure --prefix=/usr/sysbench/ --with-mysql-includes=/usr/local/mysql/include --with-mysql-libs=/usr/local/mysql/lib && make && make install

    安装环境变量
    export PATH="$PATH:/usr/local/redis/bin:/usr/local/php/bin:/usr/sysbench/bin"

    重启profile
    source /etc/profile

    测试命令
    sysbench --version

     sysbench --help
     


     
  • 相关阅读:
    2015多校.Zero Escape (dp减枝 && 滚动数组)
    UVa-11809
    UVa-1588 Kickdown
    UVa-1587
    UVa-10340
    UVa-202
    UVa-1368
    UVa-232 Crossword Answers
    UVa-227
    UVa-455 Periodic Strings
  • 原文地址:https://www.cnblogs.com/matengfei123/p/7880854.html
Copyright © 2020-2023  润新知