A(1.3.31)P(4.0)M(3.xx) setting

apm setting  

######################
mysql
######################

./configure --prefix=/usr/local/mysql --localstatedir=/usr/local/mysql/data --disable-shared --enable-assembler --with-thread-safe-client --with-mysqld-user="mysql" --with-client-ldflags=-all-static --with-mysqld-ldflags=-all-static --with-readline --without-debug --without-docs --without-bench --with-charset=euc_kr
make && make install
cp /tmp/mysql-3.23.58/support-files/my-medium.cnf /etc/my.cnf
/tmp/mysql-3.23.58/scripts/mysql_install_db
groupadd mysql
useradd -M -g mysql -s /bin/false mysql
mkdir /usr/local/mysql/data
chown -R mysql /usr/local/mysql/


######################
apache pre-config
######################
./configure --prefix=/usr/local/apache


######################
php
######################

./configure --prefix=/usr/local/php --with-mysql=/usr/local/mysql --with-apache=/tmp/apm/apache --enable-track-vars=yes --with-config-file-path=/usr/local/apache/conf --with-exec-dir=/usr/local/apache/bin
make && make install

cp php.ini-dist /usr/local/apache/conf


#######################
apache
#######################
./configure --prefix=/usr/local/apache --activate-module=src/modules/php4/libphp4.a --enable-module=so --enable-so
make
make install


#######################
Zend
#######################

./install.sh

'linux > Install' 카테고리의 다른 글

A(2.0.54)P(5.0.4)M(4.1.18)++Zend+Tomcat  (0) 2007.03.15
vsftpd 설치  (0) 2007.03.15
MRTG  (0) 2007.03.15
net-snmp setting  (0) 2007.03.15
webalizer setting  (0) 2007.03.15
Posted by efrit
,