# APR
- cd /home/childeye/src
- wget http://ftp.kaist.ac.kr/Apache/apr/apr-1.4.6.tar.gz
- tar xvfz apr-1.4.6.tar.gz
- cd apr-1.4.6
- ./configure --prefix=/home/childeye/install/apr
- make && make install
# APR Util
- cd /home/childeye/src
- wget http://ftp.kaist.ac.kr/Apache/apr/apr-util-1.4.1.tar.gz
- tar xvfz apr-util-1.4.1.tar.gz
- cd apr-util-1.4.1
- ./configure --with-apr=/home/childeye/install/apr --prefix=/home/childeye/install/apr-util
- make && make install
# Apache
- cp -R /home/childeye/src/apr-1.4.6 /home/childeye/install/httpd/srclib/apr
- cp -R /home/childeye/src/apr-util-1.4.1 /home/childeye/install/httpd/srclib/apr-util
- cd /home/childeye/src
- wget http://ftp.daum.net/apache/httpd/httpd-2.4.1.tar.gz
- tar xvfz httpd-2.4.1.tar.gz
- cd httpd-2.4.1
- ./configure --prefix=/home/childeye/install/httpd --enable-so --enable-auth-dbm --enable-auth-digest --enable-ssl --enable-rewrite --with-ssl=/usr/local/openssl --enable-headers --enable-dav --enable-dav-fs --with-apr=/home/childeye/install/apr --with-apr-util=/home/childeye/install/apr-util --with-included-apr
- make && make install
# PHP
cd /home/childeye/src
wget http://kr2.php.net/get/php-5.3.6.tar.gz/from/kr.php.net/mirror
tar xvfz php-5.3.6.tar.gz
cd php-5.3.6
./configure --prefix=/home/childeye/install/php --exec-prefix=/home/childeye/install/php --with-apxs2=/home/childeye/install/httpd/bin/apxs --with-config-file-path=/home/childeye/install/httpd/conf --with-openssl --enable-sockets --with-dbm --enable-mbstring --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-gd
/usr/bin/mysqld_safe -user=mysql
ln -s /var/lib/mysql/mysql.sock mysql.sock
'OS > Linux' 카테고리의 다른 글
[CentOS] svn 설치. (1) | 2015.06.16 |
---|---|
소스에서 한글로 된 주석 찾기 (0) | 2015.05.13 |
awk 예제. (2) | 2014.03.24 |
vi 단축키 모음 (0) | 2014.03.24 |
쉘 스크립트(shell script) - 표준 입출력 (2) | 2014.03.24 |