This chapter describes how to install Apache HTTP Server systems. You can install Apache HTTP Server on the same machine that will host WebLogic and WebCenter Sites, or you can install and use it on a separate host.
This chapter contains the following sections:
Apache HTTP Server can come pre-installed on UNIX-based platforms such as Solaris and Linux. Determine whether Apache is installed on the environment(s) on which you plan to run it.
Note:
If Apache Web Server is already installed, ensure the installed version matches the minimum version supported in the Oracle WebCenter Sites Certification Matrix. If Apache Web Server exists and is supported, then you can skip the installation of Apache Web Server. However, if the version installed on your environment is out of date, you are required to compile a new version.If Apache is already installed, continue with Section 8.3, "Documenting Your Apache Parameters." If Apache is not installed, continue to Section 8.2, "Installation Options."
To install Apache Web Server, you can do one of the following:
Install it from your source medium.
Download it from the Internet.
Build it from source; that is, select the modules and compile the Apache executable yourself, as described in this section. For detailed instructions, refer to the information that the Apache Foundation makes available at http://www.apache.org/
.
To build Apache Web Server 2.2 from source
Extract, compile, and install Apache 2.2.x as follows:
tar xvfjp httpd-2.2.x.tar.bz2
./configure --enable-so --enable-mods-shared="proxy cache ssl all" --prefix=<
PATH_TO_APACHE_HOME
> --with-included-apr
make
make install
Set the variable $APACHE2_HOME
to the directory in which Apache 2.2.x was installed.
To build Apache Web Server 2.4.x from source
Download APR
, APR-util
(Apache Portable Runtime), PCRE
(Perl-Compatible Regular Expressions Library), and Apache HTTP 2.4.x.
Unpack Apache HTTP 2.4.x. Under the srclib
directory (located in the root folder), create an apr
, apr-util
, and pcre
directory.
Unpack APR
, APR-util
, and PCRE
into their respective directories (created in step 2).
Build Apache 2.4.x
./configure --enable-so --enable-mods-shared="proxy cache ssl all" --prefix=<APACHE_HTTPD_HOME> --with-included-apr --with-pcre
We strongly recommend that you document the details of your Apache installation as mentioned in Table 8-1.
Parameter | Description / Your Value |
---|---|
Web Server Version (WebVersion) |
The version of Apache that the host is running. Note that you must use a version that WebCenter Sites supports. Your Value: |
Web Host Name (WebHost) |
The name by which the Apache host machine is known on the network. Your Value: |
Web Host IP Address (WebIP) |
The numeric Internet Protocol address assigned to the Apache host machine. Your Value: |
Web Server Port (WebPort) |
The port number assigned for Apache communications. By default, it has the value 80. Your Value: |
Apache Root Directory (ApacheRoot) |
The top-level directory in which Apache is installed. Immediate subdirectories of ApacheRoot include Your Value: |
In this step, you will start Apache and verify that it is running properly. For verification instructions, see the Apache web site (http://www.apache.org
).
Configure Apache to run with WebLogic and WebCenter Sites. For instructions, see the Oracle Fusion Middleware WebCenter Sites Installation Guide.