Install apache AB separately in Linux

Source: Internet
Author: User

In Linux, the separate installation of apache AB Apache service comes with the tool AB (ApacheBench) that should be used for stress testing. Corresponding to some simple stress tests, it is fully competent. This article describes how to obtain and install AB without installing apache in Centos. The AB operation depends on the apr-util package. The installation command is: yum install apr-util to download the apache rpm package. You can directly download it from the official website. Of course, you can also run the command yumdownloader, yumdownloader is under the yum-utils package. If yum-utils is not installed, install it first. When extracting the apache rpm package, the etc, var, and usr directories are generated under the current directory. Therefore, we recommend that you create a temporary directory with the command: mkdir ~ /Abtmp cd ~ /Abtmp yumdownloader httpd rpm2cpio httpd-*. rpm | after the above command is successful, you can ~ In usr/bin under/abtmp, a file named AB is displayed, and copied to the system PATH. Cp ~ /Abtmp/usr/bin/AB/usr/bin

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.