Installation of the AB (Apache Benchmark) test tool

Source: Internet
Author: User
Tags benchmark

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.