HP (Hewlett-Packard) 5991-5565 Network Card User Manual


 
# rpm q apache2 apache2-prefork apache2mod_perl apache2mod_python \
apache2mod_php5 webalizer
If any of these packages are not installed, locate the RPM package on the Linux distribution
media, and install the missing package.
NOTE: By default, the installation enables the iptables firewall, which prevents external
systems from accessing ports below 1024. See “Appendix B: Frequently Asked Questions”
(page 53) and verify the firewall is disabled or the appropriate rules are set to allow the Apache
and Tomcat connection. The system verification steps described later in this document will not
work if the iptables firewall is improperly configured.
Installing, Configuring, and Managing Web Server Middleware Stack
Components
This section explains how to install, configure, and manage the Web Server middleware stack
components not included in the Linux distribution along with other related components. All
components are distributed as RPM packages or binaries, therefore, you can install and remove
all the components separately. Table 1 (page 12) lists the appropriate version and additional
information. You must install the following components separately:
SUN JDK
Tomcat
Configuring the Basic Apache HTTP Server
Use the following procedure to configure a basic Apache HTTP Server.
1. Start Apache by entering the following:
# /etc/init.d/apache2 start
2. Verify that Apache starts successfully by ensuring that messages similar to the following
appear in the log file /var/log/apache2/error_log:
[Sat Feb 03 12:41:21 2007] [notice] Apache/2.2.0 (Linux/SUSE) configured -- resuming normal operations
3. Create a file named /srv/www/htdocs/apache.html and add the following lines:
<HTML>
<HEAD>
</HEAD>
<BODY DIR="LTR">
<P ALIGN=CENTER STYLE="margin-bottom: 0cm">
<FONT FACE="Times New Roman, serif">
<FONT SIZE=6>Apache http server worked !</FONT>
</FONT></P>
</BODY>
</HTML>
Verify the Apache installation by opening a browser and entering the following website:
http://<YOUR_WEB_SERVER_IP>/apache.html
The following message appears:
Apache HTTP server worked !
Installing and Configuring Sun JDK on an HP Proliant System
For an HP Proliant system, the following procedure to install and configure a Sun Java
Development Kit (JDK):
Installing, Configuring, and Managing Web Server Middleware Stack Components 15