第一步.下载安装包。(这里地址选择github)
wget https://github.com/akopytov/sysbench/archive/0.5.zip
unzip 0.5.zip
第三步.configure报错,安装依赖包
[root@localhost sysbench-0.5]# ./autogen.sh
libtoolize 1.4+ wasn't found, exiting
[root@localhost sysbench-0.5]# yum install libtool
第四步,configure
[root@localhost db]# ./configure --with-mysql-includes=/usr/local/mysql/include/ --with-mysql-libs=/usr/local/mysql/lib/
第五步:make && make install
第六步:执行报错,增加软连接