安装官方文档(地址:https://dbench.samba.org/web/download.html)
下载安装过程如下:
DBENCH is hosted as a git repository at samba.org so you must make sure you have the git tool installed.
Download
Use git to create a local branch of the official git repository for git and download the tree.
git clone git://git.samba.org/sahlberg/dbench.git dbench
This creates a local subdirectory "dbench" which is a branch of the master repository.
Later when you want to update your branch and resynchronize with the official branch you can use a "git pull" to download all the changes since you branched and resynchronize your local branch with the latest versions of the sources.
git pull
Compiling
Now you need to compile and install DBENCH.
cd dbench ./autogen.sh ./configure make make install
And that should be it. You should now have dbench installed on your system.
但直接安装上述过程会出错,
在运行./sutogen.sh之前,需要安装autoconf:
apt-get install autoconf
./configure之前安装gcc
apt-get install gcc
./make之前安装 libpopt-dev
apt-get install libpopt-dev

本文提供了一个详细的DBench安装流程,包括使用git下载源代码、安装必要的依赖包如autoconf、gcc及libpopt-dev等,并提供了编译和安装的具体步骤。
2016

被折叠的 条评论
为什么被折叠?



