eHow launches Android app: Get the best of eHow on the go.

How To

How to Install the Apache HTTP Server

Contributor
By Kristen Leigh Grubb
eHow Contributing Writer
(0 Ratings)

According to Netcraft's June 2009 Web Server Survey, the Apache HTTP Server is the platform for 112.2 million websites. It is open-source software that is free to download and use on many different operating systems, including Linux and Windows. It is the Web server portion of the popular LAMP (Linux, Apache, MySQL and PHP/Perl/Python) and WAMP (Windows, Apache, MySQL and PHP/Perl/Python) software stacks. The software can be downloaded from the Apache website (see Resources section below) as a source code or binary installation packages.

Difficulty: Easy
Instructions

Things You'll Need:

  • Apache 2

    Unix Source Code

  1. Step 1

    Download the latest source code from the Apache website.

  2. Step 2

    Open a terminal window. The terminal window will be found in the operating system's main "Application" menu, under either "System Tools" or "Utilities." You will be presented with a command prompt where you will type the following commands.

  3. Step 3

    Type the command "tar -zxvf httpd-<version>.tar.gz" to extract the source code. Replace <version> with the current version number.

  4. Step 4

    Type "cd httpd-<version>" to move into the source code directory.

  5. Step 5

    Type "./configure" to build the libraries.

  6. Step 6

    Type "make" to compile the source code.

  7. Step 7

    Type "su" to change to the root user.

  8. Step 8

    Type "make install" to install the binaries.

  9. Step 9

    Type "exit" to exit the root session.

  10. RPM Binaries

  11. Step 1

    Download the Apache .rpm package from the Apache website.

  12. Step 2

    Open a terminal window. The terminal window will be found in the operating system's main "Application" menu, under either "System Tools" or "Utilities." You will be presented with a command prompt where you will type the following commands.

  13. Step 3

    Type the command "su" to switch to the root user.

  14. Step 4

    Type the command "rpm -iv httpd-<version>.rpm" to install the RPM binary.

  15. Step 5

    Type "exit" to exit the root session.

  16. Windows Binary

  17. Step 1

    Download the latest Windows installer package from the Apache website.

  18. Step 2

    Double click the downloaded file to start the install process.

  19. Step 3

    Provide your network domain, server name and administrator's email address at the "Server Information" prompt.

  20. Step 4

    Select "For for All Users, on Port 80, as a Service -- Recommended" to run the software as a service.

  21. Step 5

    Select "Typical" to install the software with the default setup.

Resources
Subscribe

Post a Comment

Post a Comment

Related Ads

  • Have you done this? Click here to let us know.
I Did This
Get Free Computers Newsletters

Copyright © 1999-2009 eHow, Inc. Use of this web site constitutes acceptance of the eHow Terms of Use and Privacy Policy.   en-US Portions of this page are modifications based on work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License.

eHow Computers
eHow_eHow Technology and Electronics