Are you looking for an easy way for Apache Benchmark Install in Ubuntu?
Apache Bench (ab) is a tool for measuring the performance of HTTP servers in Linux. It is a stand-alone application.
At Bobcares, we often get requests on Apache Benchmark, as a part of our Server Management Services.
Today, let’s see how our Support Engineers install Apache Benchmark in Ubuntu and how they handle some related errors.
Explore about Apache Benchmark
Apache Benchmark is a tool used for benchmarking Apache Hypertext Transfer Protocol server.
It shows the number of requests per second Apache installation is capable of serving. It can be used not only for Apache but also for testing any web server.
Also, It can run multiple instances of ab on machines having multiple processor cores.
Apache Benchmark Install Ubuntu – How we do it?
Recently, one of our customers approached us with a request that he is getting error while trying to install Apache BenchMark in Ubuntu. So, he wanted us to install Apache Benchmark for him. Then, our Support Engineers did the following steps
1. Firstly, we updated the package database.
apt-get update
2. Next, we Installed apache2 utils package in order to get access to Apache Bench.
apt-get install apache2-utils
3. After that, we verified the installation by:
ab -V
The command above produced an output as shown below:
The above output implies, we successfully installed the Apache Benchmark.
Finally, we tested using the website of Apache organization and the result is as shown:
We also handled a situation in which a customer approached us saying that he is getting an error as shown below while he is trying to install Apache Benchmark.
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
On checking, we found that a process was causing this error. Hence, we killed that process and tried installing the benchmark again using the command ‘apt-get install apache2-utils’ and we successfully installed.
[Having trouble in installing Apache Benchmark? – Our Experts are available 24/7.]
Conclusion
In Short, we’ve discussed in detail on Apache Benchmark. Also, we saw how our Support Engineers installed Apache Benchmark in Ubuntu server.
0 Comments