linux/Install
A(1.3.31)P(4.0)M(3.xx) setting
efrit
2007. 3. 15. 21:54
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
######################
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