
65
Chapter 3, Remotely Monitor a Pet
In Red Hat 9.2, follow these steps:
1. Run
redhat-config-packages and
respond to any prompts that
appear.
2. Within Servers, select the Web
Server package (Figure 3-11) if
it’s not already installed.
3. Click Update. When prompted,
click Continue, and respond to
any other prompts that appear.
4. Update Apache
Now, launch up2date, /usr/sbin/
MandrakeUpdate, or your distribu-
tion’s update tool, and install any
updates available for Apache. This
may seem a bit redundant since you
just installed updates, but the new
software almost certainly requires
Figure 3-11. Using Red Hat’s Web Server
package to install Apache.
some patches. Check your version of Apache using either the command
/usr/sbin/apachectl extendedstatus or /usr/sbin/apachectl -v. Then, visit
http://httpd.apache.org and verify that you do indeed have the most recent
version.
5. Configure Apache
The vast majority of web servers use TCP port 80, so worms that prey on
web servers traditionally search for vulnerable hosts by querying that default
port. If you’re running a web server that the general public needs to be able
to find, you basically need to use that port as well. However, the projects
in this book are intended for only certain people to access, so you should
change this default port number. This will prevent the average worm from
fi ...