1. 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=euckr
make && make install
groupadd mysql
useradd -M mysql
script/mysqld_install_db
chown -R /usr/local/mysql
create database DB_name;
grant all on ID.* TO ID@localhost identified by 'password';
grant all on ID.* TO ID@'%' IDENTIFIED by 'password';
flush privileges;
2. Apache
./configure --enable-layout=RedHat --enable-rule=SHARED_CORE --enable-modules=most \
--enable-so
make && make install
highperformance-std.conf-->highperformance.conf httpd-std.conf-->httpd.conf ssl-std.conf-->ssl.conf
3. PHP
./configure --prefix=/usr/local/php --with-apxs2=/usr/sbin/apxs --with-mysql=/usr/local/mysql --enable-track-vars=yes --with-config-file-path=/etc/httpd/conf --with-zlib --with-gd --with-mod-charset --with-language=korean --with-charset=euc_kr
make && make install
cp php.ini-dist /etc/php.ini
vi /etc/httpd/conf/httpd.conf
LoadModule php4_module lib/apache/libphp4.so
AddType application/x-httpd-php .php .phtml .html .htm .php3
AddType application/s-httpd-php-source .phps
DirectoryIndex index.html index.html.var index.php index.phtml
4. Zend
5. Tomcat
./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=euckr
make && make install
groupadd mysql
useradd -M mysql
script/mysqld_install_db
chown -R /usr/local/mysql
create database DB_name;
grant all on ID.* TO ID@localhost identified by 'password';
grant all on ID.* TO ID@'%' IDENTIFIED by 'password';
flush privileges;
2. Apache
./configure --enable-layout=RedHat --enable-rule=SHARED_CORE --enable-modules=most \
--enable-so
make && make install
highperformance-std.conf-->highperformance.conf httpd-std.conf-->httpd.conf ssl-std.conf-->ssl.conf
3. PHP
./configure --prefix=/usr/local/php --with-apxs2=/usr/sbin/apxs --with-mysql=/usr/local/mysql --enable-track-vars=yes --with-config-file-path=/etc/httpd/conf --with-zlib --with-gd --with-mod-charset --with-language=korean --with-charset=euc_kr
make && make install
cp php.ini-dist /etc/php.ini
vi /etc/httpd/conf/httpd.conf
LoadModule php4_module lib/apache/libphp4.so
AddType application/x-httpd-php .php .phtml .html .htm .php3
AddType application/s-httpd-php-source .phps
DirectoryIndex index.html index.html.var index.php index.phtml
4. Zend
5. Tomcat
'linux > Install' 카테고리의 다른 글
nagios 설치 -- 임시 (0) | 2007.03.15 |
---|---|
apm-임시 (0) | 2007.03.15 |
vsftpd 설치 (0) | 2007.03.15 |
MRTG (0) | 2007.03.15 |
net-snmp setting (0) | 2007.03.15 |