Time for action – installing Apache Web server

To install Apache on Red Hat Enterprise Linux, CentOS, or Fedora, we can use yum, the default package manager for these distributions, for example:

$ yum install httpd

To install Apache Ubuntu or Debian, we can use the aptitude package manager, as shown in the following example:

$ aptitude install apache2

For installing Apache on other operating systems, please check the package installation manual of the operating system.

What just happened?

We learned to install the very popular open source Web server, Apache, using the package manager for our operating system. This will help us in getting the web interface for the cache manager up and running.

Configuring Apache for providing the cache manager web ...

Get Squid Proxy Server 3.1 Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.