2009년 5월 14일 목요일

APM 세팅

1. APM 버젼 확인
A - 2.0.55
p - 4.4.2
m - 3.23.58
zend - 2.6.2

2. APM 경로 확인
apache -/web/apache
mysql - /web/mysql
php - /web/php
zend - /web/zend


3. APM 백업


4. mysql , apache stop


5. ssl 설치.

./configure --prefix=/web/mysql --localstatedir=/web/mysql/data --with-charset=euc_kr --with-mysql-user=mysql

6. apache 컴파일
./configure --prefix=/web/apache --with-mpm=worker --enable-mods-shared=all

7. php 컴파일
./configure --prefix=/web/php --with-apxs2=/web/apache/bin/apxs --with-mysql=/web/mysql --with-language=korean --with-charset=euc_kr --with-xml --disable-debug --with-zend-multibyte --with-regex=php --with-mod_charset --with-iconv --with-dbx --with-gdbm --with-tiff-dir=/usr/lib --with-gd --with-jpeg-dir=/usr/local --with-png-dir=/usr/local --with-gif-dir=/usr/local --with-freetype-dir=/usr/local --with-zlib=/usr/local --with-openssl --with-config-file-path=/etc --enable-mbstring --enable-mbregex --enable-sigchild --enable-ftp --enable-dba --enable-sockets --enable-saft-mode --enable-inline-optimization --enable-magic-quotes --enable-track-vars --enable-debugger --enable-sysvsem --enable-sysvshm



8.zend 컴파일


8.



MYSQL_3_X_CONF="--prefix=/usr/local/mysql --localstatedir=$MYSQL_DATA_DIR --with-charset=euc_kr --with-mysql-user=mysql"


APACHE2_CONF="--prefix=/usr/local/apache --with-mpm=worker --enable-mods-shared=all"

댓글 없음:

댓글 쓰기