Installing the Right Packages

Installing Apache on SUSE Linux Enterprise Server is easy; just make sure it is selected upon installation, or select the Web Server software category later (check Chapter 9 for more details on that). Its core components are in six RPM packages:

apache2-2-2*.rpm: This is the core of the Apache web server. It contains all the basic web server software you need to run Apache.

apache2-prefork-2.2*.rpm: This package offers you, as an administrator, more flexibility in using Apache in a multiprocessing environment.

apache2-example-pages*.rpm: This is where you find some HTML pages that will be offered by Apache by default. This allows you to easily test whether your web server is up and running.

apache2-doc*.rpm: This contains the Apache documentation files that are installed in /usr/ share/doc/packages.

apache2-mod_php5*.rpm: This Apache module allows you to use PHP 5 scripts when working with Apache.

apache-mod_python*.rpm: This Apache module offers you the possibility of using Python scripts from the Apache web server.

As you can see in Figure 22-1, many other packages are available as well. Most of these packages allow you to add some extra functionality to your web server environment. For example, the mod_mono package allows you to run .NET applications from your Apache environment. In general, it is not the best idea to install them all by default; I recommend installing them only if you really need them. Installing unnecessary and unused modules makes your server more difficult to manage and especially more difficult to secure.

Figure 22-1. Many Apache add-on packages are available from YaST.

Was this article helpful?

0 0

Post a comment