1.首先安装依赖
yum install mariadb-devel
yum install automake libtool –y
2.下载安装包
wget https://github.com/akopytov/sysbench/archive/1.0.zip -O "sysbench-1.0.zip" unzip sysbench-1.0.zip cd sysbench-1.0
3. 编译安装
./autogen.sh ./configure make make install
4.检查是否安装成功
sysbench --version