/etc/init.d/tomcat란 이름으로 쉘파일을 생성vi /etc/init.d/tomcat 내용은 아래의 내용을 삽입#!/bin/sh # # Startup script for Tomcat, the Apache Servlet Engine # # chkconfig: - 85 15 # description: Start Tomcat # # processname: tomcat # # Source function library. export JAVA_HOME=/usr/lib/jvm/jdk1.6 export CATALINA_HOME=/usr/local/tomcat6 export PATH=$PATH:$JAVA_HOME/bin:$CATALINA_HOME/bin # See how we were called. case..