Feedback
Did this article resolve your question/issue?

   

Article

How to install Apache HTTP Server on Linux?

Information

 
TitleHow to install Apache HTTP Server on Linux?
URL NameHow-to-install-Apache-HTTP-Server-on-Linux
Article Number000176180
EnvironmentProduct: Rollbase Private Cloud
Version: All Supported Versions
Platform: Linux Centos 6.3
Other Products: Apache HTTP Server 2.4.16, Apache APR 1.5.2, Apache APR Util 1.5.4, PCRE 8.36
Question/Problem Description
How to install Apache HTTP Server on Linux?
Steps to Reproduce
Clarifying Information
Some additional libraries may be needed:
gcc
gcc-c++
libpcre
Error Message
Defect Number
Enhancement Number
Cause
Resolution
Follow the steps below to install Apache HTTP Server:

Step 1:
  1. Download Apache HTTP Server version 2.4.16 from Apache Website - (httpd.apache.org)
  2. Unzip the file httpd-2.4.16.tar.gz into /tmp directory (/tmp/httpd-2.4.16)
  3. Download Apache APR and Apache APR Utility (https://apr.apache.org)
  4. Unzip the file apr-1.5.2.tar.gz and rename the directory to apr
  5. Unzip the file apr-util-1.5.4.tar.gz and rename the directory to apr-util
  6. Move apr and apr-util directories into /tmp/httpd-2.4.16/srclib  (/tmp/httpd-2.4.16/srclib/apr  and /tmp/httpd-2.4.16/srclib/apr-util)
Step 2:
  1. Navigate to directory /tmp/httpd-2.4.16
  2. Run the command ./configure
  3. If an error message is thrown requesting PCRE, jump to Step 3
  4. Run the command make
  5. Run the command make install
 Step 3: (only necessary if an error message is thrown requesting PCRE when installing Apache)
  1. Download PCRE (Perl Compatible Regular Expressions) version 8.36  (http://pcre.org)
  2. Run the command ./configure
  3. Run the command make
  4. Run the command make install
  5. Repeat Step 2
The default Apache installation: /usr/local/apache2

Step 4:
  1. Navigate to directory /usr/local/apache2/bin
  2. Run the command ./apachectl start
  3. Open a Web browser and type the machine IP in the address bar and hit Enter
The message "It works!" should be seen.
 
Workaround
Notes
References to Other Documentation:

Progress Article(s):
000063199, How to install mod_jk module in Apache HTTP Server?
000063200, How to configure mod_jk in Apache HTTP Server?
Last Modified Date7/14/2021 12:45 PM
Attachment 
Files
Disclaimer The origins of the information on this site may be internal or external to Progress Software Corporation (“Progress”). Progress Software Corporation makes all reasonable efforts to verify this information. However, the information provided is for your information only. Progress Software Corporation makes no explicit or implied claims to the validity of this information.

Any sample code provided on this site is not supported under any Progress support program or service. The sample code is provided on an "AS IS" basis. Progress makes no warranties, express or implied, and disclaims all implied warranties including, without limitation, the implied warranties of merchantability or of fitness for a particular purpose. The entire risk arising out of the use or performance of the sample code is borne by the user. In no event shall Progress, its employees, or anyone else involved in the creation, production, or delivery of the code be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the sample code, even if Progress has been advised of the possibility of such damages.