SOURCE Installation Apache

Source: Internet
Author: User

Target: Source installation Apache

Dependency packages: Apr, Apr-util, and Pcre. The Pcre regular library to install first, Apr and Apr-util (extracted) can be copied to Apache under the repository srclib .

Install Pcre:

Decompression Pcre****.tar.bz2:tar ZXVF pcre****.tar.bz2

1, precompiled: Into the Pcre directory execution./configure--prefix=/usr/local/pcre (directory to be installed)

2, compile: Make the process may be wrong, hint gcc-c++ and so on, you can directly yum-y install GCC gcc-c++(direct installation of two packages)

Conditions: Must be guaranteed to be networked (because there is no internet, it took more than a few hours)

3. Install: Make install can be installed to the specified directory after completion.

Install Apache:

Unzip the apache*.tar.bz2, APR*.TAR.BZ2, and apr-util*.tar.bz2 three files separately. Tar zxvf ****.tar.bz2. and copy the two dependencies to Apache under the repository Srclib, with the names Apr and Apr-until, respectively.

1, precompiled: Into the Apache directory execution ./configure--prefix=/usr/local/apache (Installation directory)--with-pcre=/usr/local/pcre/(dependent package directory)

2. Compiling: Make

3. Install: Make install can be installed to the specified directory after completion.

Installation Services:

  Copy Apache execution script./bin/apachectl to/ETC/INIT.D under rename Apache

  Execute Chkconfig--add Apache

Set Chkconfi--levels Apache on

Source Installation 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.