¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¥µ¡¼¥Ð¡¼Tomcat¤òÍøÍѤ·¤Æ¥µ¡¼¥Ö¥ì¥Ã¥È¤ÈJSP(JavaServer Pages)¤òÍøÍѤǤ¤ë¤è¤¦¤Ë¤¹¤ë ɬÍפʤâ¤Î †RedHat¥µ¡¼¥Ð¡¼ JDK¤Î¥¤¥ó¥¹¥È¡¼¥ë †RedHat¤Ï¥¤¥ó¥¹¥È¡¼¥ëºÑ¤ß¤ÇApache¤Ï¥½¡¼¥¹¤«¤é1.3.26¤òÆþ¤ì¤Æ¤¤¤ë¤â¤Î¤È¤¹¤ë Java2SDK Standard Edition¤òŬÅö¤Ê¥Õ¥©¥ë¥À¤Ë¥À¥¦¥ó¥í¡¼¥É¤¹¤ë j2sdk-1_4_0_01-linux-i586-rpm.bin # chmod a+x j2sdk-1_4_0_01-linux-i586-rpm.bin # ./j2sdk-1_4_0_01-linux-i586-rpm.bin ¥é¥¤¥»¥ó¥¹¾ò·ï¤¬¤º¤é¤º¤é¤Èɽ¼¨¤µ¤ì¡¢ Do you agree to the above license terms? [yes or no] ¤Èʹ¤¤¤Æ¤¯¤ë¤Î¤Ç yes ¤È¡¢rpm¥Õ¥¡¥¤¥ë¤¬ºîÀ®¤µ¤ì¤ë¤Î¤Ç¥¤¥ó¥¹¥È¡¼¥ë # rpm -ivh j2sdk-1_4_0_01-fcs-linux-i386.rpm Tomcat¤Î¥¤¥ó¥¹¥È¡¼¥ë †¥Ð¥¤¥Ê¥êÈǤò¥À¥¦¥ó¥í¡¼¥É¤¹¤ë http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3.1/bin/ jakarta-tomcat-3.3.1.tar.gz # tar xvzf jakarta-tomcat-3.3.1.tar.gz -C /usr/local Apache¤«¤éTomcat¤òÍøÍѤǤ¤ë¤è¤¦¤Ë mod_jk.so ¤ò¥Ó¥ë¥É # cd /usr/local/jakarta-tomcat-3.3.1/native/mod_jk/apache1.3 # ./build-unix.sh httpd.conf¤Ë°Ê²¼¤Î°ì¹Ô¤òÄɲà Include "/usr/local/jakarta-tomcat-3.3.1/conf/auto/mod_jk.conf" ¥í¥°¤¬É¸½à½ÐÎϤµ¤ì¤ë¤Î¤Ç°Ê²¼¤Î¤è¤¦¤Ë /usr/local/jakarta-tomcat-3.3.1/conf/server.xml ¥Õ¥¡¥¤¥ë¤òÊѹ¹¤·¤Æ¥Õ¥¡¥¤¥ë¤Ë½ñ¤½Ð¤¹¤è¤¦¤Ë¤¹¤ë <LogSetter name="tc_log" timestamps="true" verbosityLevel="INFORMATION" path="logs/tomcat.log" /> ¥æ¡¼¥¶¡¼¥Ç¥£¥ì¥¯¥È¥ê /home/user ¤ÎÊý¤Ç¤âÆ°¤«¤·¤¿¤¤¾ì¹ç¤Ï°Ê²¼¤Î¤è¤¦¤ËÄɲ乤ë ContextManager workDir="work" > ¤Î²¼¤Ë <Context path="/user" docBase="/home/user/java" crossContext="false" debug="0" reloadable="true" /> ¤³¤ì¤Ç http://home:8080/user/ ¤Ë¥¢¥¯¥»¥¹¤Ç¤¤ë¤è¤¦¤Ë¤Ê¤ë Java¤Ø¤Î¥Ñ¥¹¤òÄ̤¹¤¿¤á .bashrc ¤ËÄɲä·¤ÆTomcat¤ò¥¹¥¿¡¼¥È # vi /root/.bashrc export JAVA_HOME=/usr/java/j2sdk1.4.0_01 # source ~/.bashrc # /usr/local/jakarta-tomcat-3.3.1/bin/startup.sh -jkconf # /usr/local/jakarta-tomcat-3.3.1/bin/startup.sh |