Linux installation configuration Apache

Source: Internet
Author: User

1. Get the Software: http://httpd.apache.org/httpd-2.2.21.tar.gz

wget http://apache.fayea.com//httpd/httpd-2.2.31.tar.gz

2. Installation steps:

Unzip the source file:


2 CD httpd-2.2.21

4 Make
5 Make Install

Run the./configure command to compile the source code,

--PREFIX=/USR/LOCAL/APACH2 is to set the system directory to which the compilation is installed.

The--enable-s parameter is to enable the HTTPD service to dynamically load the module function,

--enable-rewrite is a feature that enables the HTTPD service to have page address rewriting.

3. Launch Apache:

/usr/local/apache2/bin/apachectl start

Transferred from: http://www.cnblogs.com/fly1988happy/archive/2011/12/14/2288064.html

Linux installation configuration Apache

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.