Installing the Apache HTTP server 2.2.22

This is the very first hands-on section of this book. Let's install the latest release of the Apache HTTP server, which is the 2.2.22. You can get it run by simply invoking the following command:

sudo apt-get install apache2

We will not dig deep into the details of the classical installation. This book tackles the optimization of such servers with the assumption that they are already running.


To execute the command, you need to own root access to your server.

Before optimization

The following is the result of our test against an out-of-the-box Apache2 server:

Document Path:          /magento/index.php/furniture/living-room.html
Document Length:        36634 bytes
Concurrency Level:      5
Time taken for tests:   53.697 seconds

Get Magento Site Performance Optimization now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.