Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

linuxÏÂtomcat6.0Óëjdk°²×°Ïêϸ²½Öè

°²×°Tomcat6.0ºÍJDK1.6
ÔÚlinuxϵͳÉÏ°²×°tomcatºÍjdkÓ¦¸Ã˵ÊÇÎÒѧϰlinux֪ʶµÄµÚÒ»¿ÎÁË£¬Ö®Ç°Ö»
ÊÇÌý˵¹ý£¬´Óû½Ó´¥¹ý£¬µ«ÎÒÃǹ«Ë¾ÏîÄ¿¶¼ÊDz¿ÊðÔÚlinuxϵͳÉϵģ¬ÄÇÌìÉÏ˾ͻ
È»¸øÎÒ·¢Á˼¸¸öÎĵµ£¬ÈÃÎÒ¿´Ò»Ï£¬È»ºóÔÚÕýʽµÄ·þÎñÆ÷ÉÏ£¬°²×°jdkºÍtomcat£¬Ò»¿ªÊ¼Óеã¶ù»Å£¬ÏÈÔÚ±¾»ú×°Á˸öÐéÄâ»ú£¬·´¸´ÃþË÷²âÊÔÁ˼¸±é£¬Óöµ½¼¸¸öСÎÊÌ⣬Çë½Ìͬʺ󣬺ܿì¾Í½â¾öÁË£¬²Å·¢ÏÖ
ÎÊÌâûÓÐÏëÏóµÄÄÇô¿ÉÅÂ,Ö»ÒªÓÐÐÅÐÄ£¬²»¶Ï³¢ÊÔ£¬ÍêÈ«¿ÉÒÔ½â¾ö¡£
²½ÖèÈçÏ£º
 
1¡¢ ÉÏ´«apache-tomcat-6.0.24.tar.gzºÍjdk-6u13-linux-i586.binÖÁ/usr/local
¸øÕâÁ½¸öÎļþÌí¼Ó¿ÉÖ´ÐеÄȨÏÞ
# chmod +x apache-tomcat-6.0.24.tar.gz  jdk-6u13-linux-i586.bin
2¡¢Ö´ÐÐÈçÏÂÃüÁî°²×°tomcat£º
#cd /usr/local
#tar zxvf apache-tomcat-6.0.24.tar.gz
½âѹÍê³Éºó½«apache-tomcat-6.0.24ÖØÃüÃûΪtomcat
# mv apache-tomcat-6.0.24   tomcat (×¢ÒâÕâÖÖÖØÃüÃûµÄ·½Ê½)
3¡¢Ö´ÐÐÈçÏÂÃüÁî°²×°JDK
#./jdk-6u13-linux-i586.bin
4¡¢ÅäÖû·¾³±äÁ¿£º
±à¼­/etcϵÄprofileÎļþ£¬¼ÓÉÏÈçÏÂÄÚÈÝ£º
JAVA_HOME="/usr/local/jdk1.6.0_13"
CLASS_PATH="$JAVA_HOME/lib:$JAVA_HOME/jre/lib"
PATH=".:$PATH:$JAVA_HOME/bin "
 
CATALINA_HOME="/usr/local/tomcat"
export JAVA_HOME CATALINA_HOME
 
±à¼­ÍêºóÖ´ÐÐÒÔÏÂÃüÁîÒÔʹÆäÁ¢¼´ÉúЧ£º
#source /etc/profile
 
5¡¢Æô¶¯tomcat
#  sh /usr/local/tomcat/startup.sh
ÊäÈëhttp://localhost:8080£¬Èô¿´µ½Ã¨µÄÒ³Ãæ¼´tomcatºÍjdk°²×°³É¹¦
6.¹Ø±Õtomcat
#  sh /usr/local/tomcat/shurdown.sh
7.ÖØÆôtomcatµÄ½Å±¾
#vim restarttomcat.sh
sh  /usr/local/tomcat/shutdown.sh
sh /usr/local/tomcat/startup.sh
±£´æºó£¬
¼ÓÖ´ÐÐȨÏÞ£º
chmod +x  restarttomcat.sh
ÄÇôִÐиýű¾¼´¿ÉÖØÆôtomcat
8.½«ÏîÄ¿²¿ÊðÔÚtomcatÀï²Ù×÷ÓëwindowsÍêÈ«Ò»Ö£¬
²»¹ýlinuxÉÏÏ°¹ß°ÑÏîÄ¿·ÅÔÚ/var/wwwĿ¼Ï¡£
9.ÅäÖÃtomcat¿ª»ú×ÔÆô¶¯
 ×î¼òµ¥µÄ·½·¨:
#vi /etc/rc.local
ÔÚÄ©ÐмÓÉÏ£º
export JAVA_HOME="/usr/local/jdk1.6.0_13"
sh /ÄãµÄtomcatµÄpath/bin/startup.sh
 
 


Ïà¹ØÎĵµ£º

linux¶àÏß³Ìѧϰ(¶þ)—Ï̵߳Ĵ´½¨ºÍÍ˳ö


ÔÚÇ°ÃæµÄÎÄÕÂÖÐÌá¼°µ½£¬Ò»¸ö½ø³ÌÖеĶà¸öÏß³ÌÊǹ²Ïíͬһ¶Î×ÊÔ´µÄ£¬ÓÉÓÚÏ̶߳Ô×ÊÔ´µÄ¾ºÕùÒý³öÁËËø¡£ÆäÖÐmutexÊÇÒ»ÖÖ¼òµ¥µÄ¼ÓËø·½·¨£¬Õâ¸ö»¥³âËøÖ»ÓÐÁ½ÖÖ״̬£¬ÄǾÍÊÇÉÏËøºÍ½âËø£¬¿ÉÒÔ°Ñ»¥³âËø¿´×÷ÊÇijÖÖÒâÒåÉϵÄÈ«¾Ö±äÁ¿¡£ÔÚijһʱ¿Ì£¬Ö»ÄÜÓÐÒ»¸öÏß³ÌÈ¡µÃÕâ¸ö»¥³âÉϵÄËø£¬ÓµÓÐÉÏËø״̬µÄÏ߳̿ÉÒÔ¶Ô¹²Ïí×ÊÔ´½øÐвÙ×÷£¬¶øÆäË ......

LINUX SHELL ÕýÔò±í´ïʽÓï·¨


Ò»¸öÕýÔò±í´ïʽ¾ÍÊÇÓÉÆÕͨ×Ö·û£¨ÀýÈç×Ö·û a µ½ z£©ÒÔ¼°ÌØÊâ×Ö·û£¨³ÆΪԪ×Ö·û£©×é³ÉµÄÎÄ×Öģʽ¡£¸ÃģʽÃèÊöÔÚ²éÕÒÎÄ×ÖÖ÷Ìåʱ´ýÆ¥ÅäµÄÒ»¸ö»ò¶à¸ö×Ö·û´®¡£ÕýÔò±í´ïʽ×÷Ϊһ¸öÄ£°å£¬½«Ä³¸ö×Ö·ûģʽÓëËùËÑË÷µÄ×Ö·û´®½øÐÐÆ¥Åä¡£

½«ÏÂÒ»¸ö×Ö·û±ê¼ÇΪһ¸öÌØÊâ×Ö·û¡¢»òÒ»¸öÔ­Òå×Ö·û¡¢»òÒ»¸ö ºóÏòÒýÓᢻòÒ»¸ö°Ë½øÖÆתÒå· ......

linuxϵÄweblogic10ÂÒÂëÎÊÌâÇë½Ì

ÎÒµÄÏîÄ¿ÊÇÓÃUTF-8±àÂëµÄ jspÒ³ÃæÌá½»µÄform±íµ¥µ½ctrl²ãÓÃsystem.out.println()´òÓ¡ÊÇÒ»¶ÑÎʺŠµ«ÊDZ£´æµ½oracleÊý¾Ý¿âÖеÄÖÐÎÄÓÖÊÇÕýÈ·µÄ£¬´ÓÊý¾Ý¿âÖжÁÈ¡ÖÐÎĺó£¬ÔÚ¿ØÖÆ̨ÉÏ´òÓ¡µÄÊÇÂÒÂë µ«ÊÇÔÚÒ³ÃæÖÐÏÔʾÓÖÊÇÕýÈ·µÄ ºÜÆæ¹Ö ÎҵĻ·¾³ÊÇlinuxϵÄweblogic ......

linuxϵͳÖÐÅäÖÃoracle¿ª»ú×ÔÆô¶¯

Centos  redhat ,oracle10g,oracle11g¾ùÊÊÓÃ
 
1.       ±àд½Å±¾£º
# vi  startoracle.sh
#11gµÄ»°Ö»ÊÇÕâ¸öĿ¼ÓÐËùÇø±ð
ORACLE_HOME=/home/oracle/product/10.2.0/db_1;export ORACLE_HOME
 
ORACLE_SID=orcl;export ORACLE_SID #ÕâÀïÅäÉÏÄãµÄ±¾µØʾÀýÃû
&nbs ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ