Fedora18 -- Apache2.4 manual Installation

Source: Internet
Author: User
You can also use yum for installation, but if you want to manually install Fedora18desktop, refer to: examples (download links for the following breads can be found in the above link) h

You can also install it using yum, but you want to manually install it on Fedora 18 desktop.

Reference: http://httpd.apache.org/docs/2.4/install.html

An error occurred during installation:

Configure: error: APR not found

So I downloaded and installed all the dependent packages by referring to the install guide.

Download (download links of the lower bread can be found in the above link)

Httpd-2.4.3.tar.gz

Apr-util-1.5.1.tar.gz

Apr-1.4.6.tar.gz

Pcre-8.32.tar.gz

Decompress and compile

[Root @ localhost pkgs] # cd/root/pkgs

[Root @ localhost pkgs] # tar-xzvf httpd-2.4.3.tar.gz

[Root @ localhost pkgs] # tar-xzvf apr-1.4.6.tar.gz

[Root @ localhost pkgs] # tar-xzvf apr-util-1.5.1.tar.gz

Then, mv apr and apr-util to the following locations respectively.

/Root/pkgs/httpd-2.4.3/srclib/apr/root/pkgs/httpd-2.4.3/srclib/apr-util

Note that no version is available

[Root @ localhost pkgs] # tar-xzvf pcre-8.32.tar.gz

[Root @ localhost pkgs] # cd pcre-8.32 &./configure & make install

[Root @ localhost pkgs] # cd httpd-2.4.3/&./configure & make install

Start and Test

[Root @ localhost ~] # Cd/usr/local/apache2/bin

[Root @ localhost bin] #./apachectl-k start

Related Article

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.