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