1) httpd 설치
1.
CFLAGS=" -DHARD_SERVER_LIMIT=1024 -DDEFAULT_SERVER_LIMIT=1024 -DHARD_SERVER_LIMIT=1024 -DDEFAULT_SERVER_LIMIT=1024"; export CFLAGS
2. ./configure
--prefix=/usr/local/apache2 --enable-expires --enable-rewrite --enable-mods-shared=most --enable-module=so --with-included-apr $@
2) mysql
CFLAGS="-O3 -mpentiumpro" CXX=gcc CXXFLAGS="-O3 -mpentiumpro -felide-constructors -fno-exceptions -fno-rtti"
./configure --prefix=/usr/local/mysql --localstatedir=/usr/local/mysql/data --with-charset=utf8 --with-extra-charsets=all --enable-thread-safe-client
ma
# php 설치를 위한 라이브러리
yum install flex
yum install openssl*
yum install libxml2-devel
3) php
./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs --enable-mod-charset --with-config-file-path=/usr/local/apache2/conf --enable-safe-mode --enable-sigchild --enable-magic-quotes --with-libxml-dir --with-openssl --with-zlib --with-zlib-dir --with-bz2 --enable-calendar --with-curl --enable-dba --with-gdbm --enable-exif --enable-ftp --with-gd --with-jpeg-dir --with-png-dir --with-ttf --with-freetype-dir --enable-gd-native-ttf --with-gettext --with-imap --with-imap-ssl --with-kerberos --enable-mbstring --with-mhash --with-mysql=/usr/local/mysql --enable-sockets --with-regex=php --enable-sysvmsg --enable-sysvsem --enable-sysvshm --enable-wddx --enable-zend-multibyte
'리눅스' 카테고리의 다른 글
| APM 설치 (1) | 2008/12/13 |
|---|---|
| 한글 폰트 쓰기 (0) | 2008/09/21 |
| 우분투 서버 - 완벽 가이드 (0) | 2008/09/19 |
| 우분투 오늘도 같이 놀다 - vmware 포기 Virtual Box 로... (1) | 2008/09/16 |
| 삼성 센스 R20과 우분투의 짝짓기 놀이 (0) | 2008/09/15 |
| 노트북에 윈도우 XP + CENTOS 5.2 + 솔라리스 10 설치 (1) | 2008/09/12 |


