Created
August 3, 2015 06:08
-
-
Save fronteer-kr/41a1da209330b6c989e8 to your computer and use it in GitHub Desktop.
Apache 2.4.10 소스 설치
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /tmp | |
#------------------------------------------------------------------------ | |
# OPENSSL | |
wget http://www.openssl.org/source/openssl-1.0.1i.tar.gz | |
tar zxvf openssl-1.0.1i.tar.gz | |
cd openssl-1.0.1i/ | |
./config --prefix=/usr/local/openssl --openssldir=/usr/local/openssl | |
make; make install | |
#------------------------------------------------------------------------ | |
# APR | |
cd .. | |
wget http://www.atblog.co.kr/file/package/apr-1.5.1.tar.gz | |
tar xvfz apr-1.5.1.tar.gz | |
cd apr-1.5.1 | |
./configure --prefix=/usr/local | |
make; make install | |
#------------------------------------------------------------------------ | |
# APR-UTIL | |
cd .. | |
wget http://www.atblog.co.kr/file/package/apr-util-1.5.4.tar.gz | |
tar xvfz apr-util-1.5.4.tar.gz | |
cd apr-util-1.5.4 | |
./configure --prefix=/usr/local --with-apr=/usr/local | |
make; make install | |
#------------------------------------------------------------------------ | |
# PCRE | |
cd .. | |
wget http://www.atblog.co.kr/file/package/pcre-8.36.tar.gz | |
tar xvfz pcre-8.36.tar.gz | |
cd pcre-8.36 | |
./configure --prefix=/usr/local | |
make; make install | |
#------------------------------------------------------------------------ | |
# APACHE | |
cd .. | |
wget http://www.atblog.co.kr/file/package/httpd-2.4.10.tar.gz | |
tar xvfz httpd-2.4.10.tar.gz | |
cd httpd-2.4.10 | |
./configure --prefix=/usr/local/apache2 --with-expat=builtin --enable-mods-static=all --enable-ssl --with-ssl=/usr/local/openssl --enable-module=ssl --enable-module=so --enable-module=rewrite --enable-module=headers --with-apr=/usr/local --with-apr-util=/usr/local --with-pcre=/usr/local | |
make; make install | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment