LinuxÏ°²×°jdk&tomcat
1.ÏÂÔØjdk-6u2-linux-i586-rpm.bin
2. ÔÚµ±Ç°Ä¿Â¼ÊäÈë
sh jdk-6u2-linux-i586-rpm.bin
3.¿´µ½ °²×°³ÌÐòÔÚѯÎÊÄúÊÇ·ñ×ðÊØÐí¿ÉÐÒéÒ³Ãæ ,»Ø³µ,¿Õ¸ñ¶¼¿ÉÒÔ,¿´ÍêÐÒé.
³öÏÖÒ»ÐÐ×Ö£ºDo you aggree to the above license terms? [yes or no]
°²×°³ÌÐòÔÚÎÊÄúÊÇ·ñÔ¸Òâ×ñÊظղſ´¹ýµÄÐí¿ÉÐÒé¡£µ±È»ÒªÍ¬ÒâÁË£¬ÊäÈë"y" »ò "yes" »Ø³µ¡£
4.ÔÚÃüÁîÐÐÊäÈë:
vi /etc/profile
ÔÚÀïÃæÌí¼ÓÈçÏÂÄÚÈÝ
export JAVA_HOME=/usr/java/jdk1.6.0_02
export JAVA_BIN=/usr/java/jdk1.6.0_02/bin
export PATH=$PATH:$JAVA_HOME/bin
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export JAVA_HOME JAVA_BIN PATH CLASSPATH
5.½øÈë /usr/bin/Ŀ¼
cd /usr/bin
ln -s -f /usr/java/jdk1.6.0_02/jre/bin/java
ln -s -f /usr/java/jdk1.6.0_02/bin/javac
6. ÔÚÃüÁîÐÐÊäÈë
java -version
ÆÁÄ»Êä³ö:
java version "jdk1.6.0_02"
Java(TM) 2 Runtime Environment, Standard Edition (build jdk1.6.0_02)
Java HotSpot(TM) Client VM (build jdk1.6.0_02, mixed mode)
7. °²×°JDK1.6Íê±Ï.
°²×°tomcat
£±£®ÏÂÔØTomcat
ÔÚÏÂÃæµÄµØÖ·ÏÂÔØTomcatµÄ¶þ½øÖÆ°æ
http://mirrors.ccs.neu.edu/Apache/dist/jakarta/tomcat-4/binaries/
¼´ÏÂÔØÎļþ
tomcat-4.1.18.tar.gz
2. °²×°
Ê×ÏȽâѹËõ
gunzip tomcat-4.1.18.tar.gz
tar -zxvf tomcat-4.1.18.tar
µÃµ½TomcatµÄËùÓÐÎļþ.È»ºó°ÑËü¿½±´µ½ÄãÒª°²×°µÄλÖã¬Èç
/opt/tomcat-4.1.18/
È»ºóΪÁË·½±ã£¬Äã¿ÉÒÔ°ÑĿ¼Ãûtomcat-4.1.18¸ÄΪtomcat£®
£³£®ÉèÖÃ
ÉèÖ÷¾
ÔÚ/etc/profileÎļþÖмÓÈëÈçÏÂÁ½ÐÐ
export JAVA_HOME=/opt/jdk1.4
export TOMCAT_HOME=/opt/tomcat
ÔÚ´ËÎÒÃǼÙÉèJava JDK°²×°ÔÚ/opt/jdk1.4Ŀ¼Ï£®
¡¡
¼¤»îROOT
ROOTµÄȱʡÉèÖÃÊÇûÓ줻î(disabled)£®ÎªÁ˼¤»îROOT£¬´ò¿ªÎļþ
tomcat/conf/server.xml
È»ºó°Ñ
<!--
<Context path="" docBase="ROOT" debug="0"/>
-->
µÄ×¢ÊÍÈ¥µô£¬¼´È¥µô<!--ºÍ-->£®
¼¤»îInvoker Servlet
¼´°Ñtomcat/conf/web.xmlÖеÄÏÂÁÐ×ֶεÄ×¢ÊÍÈ¥µô
<servlet-mapping>
<servlet-name>invoker</servlet-name>
<url-pattern>/servlet/*</url-pattern>
</servlet-mapping>
¡¡
ÉèÖÃPort
TomcatȱʡµÄPort numberÊÇ80
Ïà¹ØÎĵµ£º
£¨L2CAPÐÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPÐÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼Á¬½Ó¿ØÖƺÍÊÊÅäÐÒé (L2CAP) ΪÉϲãÐÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àÐÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãÐÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......
Ò»£ºÇ°ÑÔ
×î½üÔÚÑо¿androidµÄsensor driver£¬Ö÷ÒªÊÇE-compass£¬ÆäÖÐÓõ½ÁËLinux input×Óϵͳ.ÔÚÍøÉÏÒ²¿´Á˺ܶàÕâ·½ÃæµÄ×ÊÁÏ£¬¸Ð¾õ»¹ÊÇÕâƪ·ÖÎöµÄ±È½ÏϸÖÂ͸³¹£¬Òò´ËתÔØÒ»ÏÂÒÔ±ã×Ô¼ºÑ§Ï°£¬Í¬Ê±ºÍ´ó¼Ò·ÖÏí£¡
£¨Õâƪ²©¿ÍÖ÷ÒªÊÇÒÔ¼üÅÌÇý¶¯ÎªÀýµÄ£¬²»¹ý½²½âµÄÊÇLinux Input Subsystem£¬¿ÉÒÔ×ÐϸµÄÑо¿Ò»Ï£¡£©
¼üÅÌÇý¶¯½«¼ì ......
1. Q. How do you find out the processes that are currently running or a particular user?
A. ps -au Myname (-u by effective user ID (supports names)) (a - all users)
2. Q. How do you kill a process?
A. kill -9 8 (process_id 8) or kill -9 %7 ( ......
1.×Ô¶¨ÒåÊä³ö
Ïë±Ø´ó¼Ò¶¼ÓÐÀûÓÃÊä³öº¯ÊýÈçprintfÀ´°ïÖúÎÒÃǵ÷ÊÔ³ÌÐòµÄ¾Àú£¬ÕâÊÇÒ»ÖֱȽÏÔʼµÄ³ÌÐòµ÷ÊÔ¸¨Öú·½·¨£¬ÔÚLinuxÏÂÒ²¿ÉÒÔΪÎÒÃÇËùÓᣲ»¹ýÕâÖÖ·½·¨ÓÐÒ»¸öÃ÷ÏÔµÄȱµã£¬¾ÍÊÇÔÚµ÷ÊÔÍêºóÎÒÃDZØÐë×¢ÊÍ»òɾ³ýµôÕâЩ¸¨Öú´úÂë¡£Linux CÌṩÁË-DDEBUGÕâ¸ö±àÒë±ê¼ÇÀ´¶¨ÒåDEBUGÕâ¸ö·ûºÅ£¬½èÖúÓڸ÷ûºÅ£¬ÎÒÃÇ¿ÉÒÔÔÚÓ¦Ó ......
¹¦ÄÜ˵Ã÷£º±È½ÏÎļþµÄ²îÒì¡£
Óï¡¡¡¡·¨£ºdiff [-abBcdefHilnNpPqrstTuvwy][-<ÐÐÊý>][-C <ÐÐÊý>][-D <¾Þ¼¯Ãû³Æ>][-I <×Ö·û»ò×Ö·û´®>][-S <Îļþ>][-W <¿í¶È>][-x <Îļþ»òĿ¼>][-X <Îļþ>][--help][--left-column][--suppress-common-line][Îļþ»òĿ¼1][Îļþ»òĿ¼2]
²¹³ä ......