1.2. Changes made to the system

We should quickly examine some of the changes have been made to the system by the installation of these packages. Between then, apache2 and apache2-prefork packages have installed a web server (in /usr/sbin/) but they have also installed files in other locations.

Locations added or changed by the installation:

In addition, the directory /srv/www was created by the base SLES install and provides the default location for files served by the web server. In particular, the htdocs subdirectory, which is initially empty, is the basic website. Anything put here will appear on the website. See Section 1.3 for how to get a web site up and running as quickly as possible. Other subdirectories of /srv/www support software that we won't be covering in this course.

Note that the /srv/www directory tree is owned by root. Any changes to the website as the system currently stands need to be done by root

Programs included with the web server

The '2' on the end of the names of these programs is a feature of SLES's packaging of Apache - it would allow Apache 1 and Apache 2 packages to coexist on the same server. In many other installations the commands will not have the additional '2'. They may also be in different locations, for example some may be in /usr/bin/ rather than /usr/sbin/.