¸®´ª½º °ü·Ã °Ô½ÃÆÇ

2011/08/18(11:22) from 210.119.45.105
ÀÛ¼ºÀÚ : ÁÖÀÎÀå Á¶È¸¼ö : 7123 , ÁÙ¼ö : 25
[Linux] apache, mysql, tomcat ºÎÆýà ÀÚµ¿½ÇÇà
$ cd /etc/rc.d
$ ls
init.d  rc  rc0.d  rc1.d  rc2.d  rc3.d  rc4.d  rc5.d  rc6.d  rc.local  rc.sysinit

$ vi rc.local
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.

touch /var/lock/subsys/local

#
# for app
#
/usr/local/apache2/bin/apachectl start
sleep 5;

/usr/local/mysql/bin/mysqld_safe --user=mysql &
sleep 5;

export JAVA_HOME=/usr/local/java6
/usr/local/tomcat/bin/startup.sh
sleep 5;

Modify Delete Post Reply Backward Forward List
Powered by Kang Jul Ki