개인적으로 쓰는, 웹서버 세팅시 옵션들....
*필요 라이브러리들 설치
#yum update
#yum install gcc gcc-c++ termcap libtermcap libtermcap-devel gdbm-devel zlib* libxml* freetype* libpng* libjpeg*
*MySQL 설치
#./configure --prefix=/usr/local/mysql/ --localstatedir=/usr/local/mysql/db --with-charset=utf8 --sysconfdir=/etc
# make
# make install
*MySQL 세팅
#cp support-files/my-medium.cnf /etc/my.cnf
#useradd mysql
#/usr/local/mysql/bin/mysql_install_db
#chown mysql.mysql /usr/local/mysql/db -R
#ln -s /usr/local/mysql/bin/mysql /usr/bin/mysql
#/usr/local/mysql/share/mysql/mysql.server start
#/usr/local/mysql/bin/mysql -uroot mysql
>update user set password=password('암호암호') where user='root';
>create database 데이터베이스;
>GRANT ALL PRIVILEGES ON 데이터베이스.* TO 아이디@localhost IDENTIFIED BY '암호암호' WITH GRANT OPTION;
#/usr/local/mysql/bin/mysqladmin -uroot reload
*Apache 설치
server/mpm/prefork/prefork.c [256 -> 2048 (8배)]
server/mpm/worker/worker.c [16 -> 256 (8배)]
#./configure --prefix=/usr/local/apache --enable-mods-shared=all --enable-rewrite --enable-so
#make
#make install
#ln -s /usr/local/apache/bin/apachectl /usr/bin/apachectl
*PHP 설치
#./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql --with-libxml-dir --with-iconv --with-gd --with-jpeg-dir --with-freetype-dir --enable-ftp --enable-sockets
#make
#make install
#cp php.ini-dist /usr/local/lib/php.ini
*Zend설치
#./install
#httpd.conf 추가
*PHP관련
AddType application/x-httpd-php .html .htm .php .php3 .php4 .php5 .phtml .cgi .inc
AddType application/x-httpd-php-source .phps
*Index 파일관련
DirectoryIndex index.html index.htm index.php index.php3
*Rewrite 모듈관련
AllowOverride all



