Prev | Current Page 1192 | Next

Christopher Negus

"Linux Bible, 2008 Edition: Boot up to Ubuntu, Fedora, KNOPPIX, Debian, openSUSE, and 11 Other Distributions"

You may choose to set up a server on a system
that has been configured using the layout and software packages intended for a workstation.
However, that??™s not recommended unless you are providing services for only a very small number
of users whom you know well and trust. In fact, many systems administrators don't even like to
have the X Window System and other GUI components installed on a server.
651
Running a Linux, Apache, MySQL, and PHP (LAMP) Server 24
Installing Apache
The next step toward a functioning LAMP server is to install the Apache HTTP server, which can
be found in the apache package. Use APT to retrieve and install the package:
# apt-get install apache
During the configuration process, you are asked whether you want to enable the suexec mechanism.
The suexec feature increases the security of CGI applications and is generally recommended. You
can change your selection later using debconf to reconfigure the apache package. More information
about debconf can be found in Chapter 9.
As of this writing, the latest version of Apache is 2.2.6. The installation process in this
chapter installs Apache version 1.3, and all the configuration examples here have been
tested against it. If you would rather install Apache 2.x, it is available in the apache2-mpm-prefork
package and uses libapache2-mod-php4.


Pages:
1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204