Download AB (Apache Benchmark)
The AB pressure test tool was released with Apache HTTP.
Apache HTTP official website Download: https://www.apache.org/dyn/closer.cgi
You can choose this link to download
Find httpd, click to enter
Download a comparison of the new GZ package.
This time if you start the installation directly (the first step, of course, is./configure), the following error may be reported:
Configure:error:APR not found. Please read the documentation.
Then you need to install the Apache Portable Runtime Library first.
In fact, when you install the APR OK, the following error may be reported when you continue to install HTTP:
Configure:error:apr-util not found. Please read the documentation.
Then you need to install the apr-util.
Install APR (Apache Portable Runtime Library)
Download APR (cannot use wget, can also download links directly using other download tools)
wget http://archive.apache.org/dist/apr/apr-1.4.5.tar.gz
Installation
./configure & make & make Install
Install to the default path/usr/local (can./configure--help view default path)
After installing the APR, install HTTP to try it, sure enough to install Apr-util (Apache portable Runtime Utility Library)
Install Apr-util (Apache portable Runtime Utility Library) /c4>
Download Apr-util
wget http://archive.apache.org/dist/apr/apr-util-1.3.12.tar.gz
Installation (you need to specify the build path for APR, note that it is not the installation path, or the path that the APR package generates)
./configure--with-apr=/data/software_package/apr-1.4.5
Then make & make Install
APR and Apr-util are installed OK, now you can install the HTTP service.
After installation, the AB test tool is/bin below the default installation path for HTTPD.
Mine is under the/usr/local/apache2/bin.
Installation of the AB (Apache Benchmark) test tool