Help us understand the problem. What is going on with this article?

CentOS6.3でApache2.4.6をソースからインストール

More than 5 years have passed since last update.

CentOS6.3でApache2.4.6をソースからインストール

環境

# uname -a
Linux ttakahashi 2.6.32-279.el6.x86_64 #1 SMP Fri Jun 22 12:19:21 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
# cat /etc/redhat-release 
CentOS release 6.3 (Final)

1.ソースファイルのダウンロード

# cd /usr/local/src
# wget http://ftp.jaist.ac.jp/pub/apache//httpd/httpd-2.4.6.tar.gz
# wget http://ftp.jaist.ac.jp/pub/apache//apr/apr-1.4.8.tar.gz
# wget http://ftp.jaist.ac.jp/pub/apache//apr/apr-util-1.5.2.tar.gz
# wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.33.tar.gz

2.PCRE をインストールする

# tar xvfz pcre-8.33.tar.gz
# cd pcre-8.33
# ./configure
# make
# make install

3.Apacheインストール

# tar xvfz httpd-2.4.6.tar.gz
# tar xvfz apr-1.4.6.tar.gz
# tar xvfz apr-util-1.5.2.tar.gz
# mv apr-1.4.6 httpd-2.4.6/srclib/
# mv apr-util-1.5.2 httpd-2.4.6/srclib/
# ./configure --with-included-apr
# make
# make install

4.apache起動

# /usr/local/apache2/bin/apachectl start
# curl xxx.xxx.xxx.xxx
<html><body><h1>It works!</h1></body></html>
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away