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

LinuxÏÂjava»·¾³±äÁ¿ÉèÖ÷½·¨

תÌù£º
ÏÖÔÚÓÃlinuxµÄÅóÓÑÔ½À´Ô½¶àÁË£¬Ç°¼¸Ìì¾ÍÓÐÁ½¸öÅóÓÑÎÊÎÒlinuxÏÂÔõôÅäÖÃjava»·¾³£¬ÎÒÏ뻹ÓкܶàÅóÓÑÏëÁ˽âѧϰÕâ·½ÃæµÄ¶«Î÷£¬¾Íдһ¸öÍêÈ«Ò»µãµÄlinux java»·¾³ÅäÖðɣ¬Ï£Íû¶Ô´ó¼ÒÓаïÖú¡£
Ò». ÏÂÔØjdk5.0 for linux
¡¡¡¡µ½sunµÄÖ÷Ò³ http://java.sun.com/j2se/1.5.0/download.jsp ÏÂÔØjdk°²×°Îļþjdk-1_5_0_05-linux-i586.bin
¶þ. ½âѹ°²×°jdk
¡¡ ¡¡ÔÚshellÖÕ¶ËϽøÈëjdk-1_5_0_05-linux-i586.binÎļþËùÔÚĿ¼£¬Ö´ÐÐÃüÁî ./jdk-1_5_0_05-linux-i586.bin Õâʱ»á³öÏÖÒ»¶ÎЭÒ飬Á¬¼ÌÇûسµ£¬µ±Ñ¯ÎÊÊÇ·ñͬÒâµÄʱºò£¬ÊäÈëyes£¬»Ø³µ¡£Ö®ºó»áÔÚµ±Ç°Ä¿Â¼ÏÂÉú³ÉÒ»¸öjdk-1.5.0_05Ŀ¼£¬Äã¿ÉÒÔ½«Ëü¸´ÖƵ½ ÈκÎÒ»¸öĿ¼Ï¡£
Èý. ÐèÒªÅäÖõĻ·¾³±äÁ¿
¡¡¡¡1. PATH»·¾³±äÁ¿¡£×÷ÓÃÊÇÖ¸¶¨ÃüÁîËÑË÷·¾¶£¬ÔÚshellÏÂÃæÖ´ÐÐÃüÁîʱ£¬Ëü»áµ½PATH±äÁ¿ËùÖ¸¶¨µÄ·¾¶ÖвéÕÒ¿´ÊÇ·ñÄÜÕÒµ½ÏàÓ¦µÄÃüÁî³ÌÐò¡£ÎÒÃÇÐèÒª°Ñ jdk°²×°Ä¿Â¼ÏµÄbinĿ¼Ôö¼Óµ½ÏÖÓеÄPATH±äÁ¿ÖУ¬binĿ¼Öаüº¬¾­³£ÒªÓõ½µÄ¿ÉÖ´ÐÐÎļþÈçjavac/java/javadocµÈ´ý£¬ÉèÖúà PATH±äÁ¿ºó£¬¾Í¿ÉÒÔÔÚÈκÎĿ¼ÏÂÖ´ÐÐjavac/javaµÈ¹¤¾ßÁË¡£
¡¡¡¡2. CLASSPATH»·¾³±äÁ¿¡£×÷ÓÃÊÇÖ¸¶¨ÀàËÑË÷·¾¶£¬ÒªÊ¹ÓÃÒѾ­±àдºÃµÄÀ࣬ǰÌᵱȻÊÇÄܹ»ÕÒµ½ËüÃÇÁË£¬JVM¾ÍÊÇͨ¹ýCLASSPTHÀ´Ñ°ÕÒÀàµÄ¡£ÎÒÃÇ ÐèÒª°Ñjdk°²×°Ä¿Â¼ÏµÄlib×ÓĿ¼ÖеÄdt.jarºÍtools.jarÉèÖõ½CLASSPATHÖУ¬µ±È»£¬µ±Ç°Ä¿Â¼“.”Ò²±ØÐë¼ÓÈëµ½¸Ã±äÁ¿ÖС£
¡¡¡¡3. JAVA_HOME»·¾³±äÁ¿¡£ËüÖ¸ÏòjdkµÄ°²×°Ä¿Â¼£¬Eclipse/NetBeans/TomcatµÈÈí¼þ¾ÍÊÇͨ¹ýËÑË÷JAVA_HOME±äÁ¿À´ÕÒµ½²¢Ê¹Óð²×°ºÃµÄjdk¡£
ËÄ. ÈýÖÖÅäÖû·¾³±äÁ¿µÄ·½·¨
¡¡¡¡1. ÐÞ¸Ä/etc/profileÎļþ
¡¡¡¡¡¡¡¡Èç¹ûÄãµÄ¼ÆËã»ú½ö½ö×÷Ϊ¿ª·¢Ê¹ÓÃʱÍƼöʹÓÃÕâÖÖ·½·¨£¬ÒòΪËùÓÐÓû§µÄshell¶¼ÓÐȨʹÓÃÕâЩ»·¾³±äÁ¿£¬¿ÉÄÜ»á¸øϵͳ´øÀ´°²È«ÐÔÎÊÌâ¡£
¡¡¡¡¡¡¡¡·ÓÃÎı¾±à¼­Æ÷´ò¿ª/etc/profile£¨È«¾ÖÓÐЧ£©»òÕß/home/user/.bash_profile(½ö½ö±¾Óû§ÓÐЧ)
¡¡¡¡¡¡¡¡·ÔÚprofileÎļþĩβ¼ÓÈ룺
¡¡¡¡¡¡¡¡¡¡¡¡JAVA_HOME=/usr/share/jdk1.5.0_05
¡¡¡¡¡¡¡¡¡¡¡¡PATH=$JAVA_HOME/bin:$PATH
¡¡¡¡¡¡¡¡¡¡¡¡CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
¡¡¡¡¡¡¡¡¡¡¡¡export JAVA_HOME
¡¡¡¡¡¡¡¡¡¡¡¡export PATH
¡¡¡¡¡¡¡¡¡¡¡¡export CLASSPATH
¡¡¡¡¡¡¡¡·È»ºóÖØеǼ£¬»òÕßÔÚ±£´æÎļþÖ®ºó£¬Ö´ÐÐÏÂÃæÕâ¸öÃüÁʹ»·¾³±äÁ¿µÄ¸ü¸ÄÂíÉÏÆð×÷Óá£
     &


Ïà¹ØÎĵµ£º

Linux µÄ¶àÏ̱߳à³ÌµÄ¸ßЧ¿ª·¢¾­Ñé

2009 Äê 4 ÔÂ 23 ÈÕ
±¾ÎÄÖÐÎÒÃÇÕë¶Ô Linux É϶àÏ̱߳à³ÌµÄÖ÷ÒªÌØÐÔ×ܽá³ö 5 Ìõ¾­Ñ飬ÓÃÒÔ¸ÄÉÆ Linux ¶àÏ̱߳à³ÌµÄÏ°¹ßºÍ±ÜÃâÆäÖеĿª·¢ÏÝÚå¡£ÔÚ±¾ÎÄÖУ¬ÎÒÃÇ´©²åһЩ Windows µÄ±à³ÌÓÃÀýÓÃÒÔ¶Ô±È Linux ÌØÐÔ£¬ÒÔ¼ÓÉî¶ÁÕßÓ¡Ïó¡£
±³¾°
Linux ƽ̨ÉϵĶàÏ̳߳ÌÐò¿ª·¢Ïà¶ÔÓ¦ÆäËûƽ̨£¨±ÈÈç Windows£©µÄ¶àÏß³Ì API ÓÐһЩϸ΢ ......

linux³¹µ×ɾ³ýoracle

http://www.oklinux.cn/html/sql/other/20080317/49465.html
1.ÓÃoracleÓû§µÇ¼
Èç¹ûÒªÔٴΰ²×°£¬ ×îºÃÏÈ×öһЩ±¸·Ý¹¤×÷¡£°üÀ¨Óû§µÄµÇ¼½Å±¾£¬Êý¾Ý¿â×Ô¶¯Æô¶¯¹Ø±ÕµÄ½Å±¾£¬ºÍListener×Ô¶¯Æô¶¯µÄ½Å±¾¡£ÒªÊÇÓпÉÄÜÁ¬´´½¨Êý¾Ý¿âµÄ½Å±¾Ò²±£´æÏÂÀ´
2.ʹÓÃSQL*PLUSÍ£Ö¹Êý¾Ý¿â
[oracle@ora920 oracle]$ sqlplus /nolog
SQL&g ......

linux rootÃÜÂ붪ʧºóµÄ½â¾ö°ì·¨


½øÈëGRUB:ÔÚÒýµ¼×°ÔسÌÐò²Ëµ¥ÉÏ£¬¼üÈë [e] À´½øÈë±à¼­Ä£Ê½¡£Äã»áÃæ¶ÔÒ»¸öÒýµ¼ÏîÄ¿ÁÐ±í¡£²éÕÒÆäÖÐÀàËÆÒÔÏÂÊä³ö µÄ¾äÐУº ¡¡
kernel /vmlinuz-2.4.18-0.4 ro root=/dev/hda2
°´¼ýÍ·¼üÖ±µ½ÕâÒ»Ðб»Í»³öÏÔʾ£¬È»ºó°´ [e]¡£ÄãÏÖÔÚ¿ÉÔÚÎı¾½áβ´¦¿ÕÒ»¸ñÔÙÌí¼Ó single À´¸æËß GRUB Òýµ¼µ¥Óû§ Linux ģʽ¡£°´ [Enter] ¼üÀ´Ê¹± ......

ʹÓÃGDBµ÷ÊÔǶÈëʽLinuxÉ豸

²½Ö裺
Ò»¡£ÊìϤÔÚÆÕͨµçÄÔÉÏÓÃ
GDBµ÷ÊԵĻù±¾·½Ê½¡£²Î¼û£º
http://www.ibm.com/developerworks/linux/library/l-gdb/
¶þ¡£ÏÂÔØ¡¶
gdb
quick reference¡·£¬
2ÕÅÖ½£¬´òÓ¡³öÀ´·ÅÔÚÊֱ߱¸Óá£
Èý¡£ÈÃǶÈëʽϵͳ֧³Ö
gdbserver.
£¨ÔÚ
openwrtÉÏ£¬¼´ÔÚ
make
menuconfigʱѡÔñ±àÒë
gdbserver£©
ËÄ¡£½øÐе÷ÊÔ
&nbs ......

linuxСϵͳ֧³ÖÖÐÎĵÄÎÊÌâ

    ×î½üÔÚµ÷ÊÔlinuxСϵͳ£¬ÏëÈÃСϵͳ֧³ÖÖÐÎÄ£¬¾­¹ý¼¸ÌìµÄµ÷ÊÔ£¬Õâ¸öÎÊÌâÖÕÓÚµÃÒÔ½â¾ö£¬ÏÂÃæ×ܽáÒ»ÏÂÓöµ½µÄÎÊÌâºÍ½â¾ö°ì·¨¡£
    ÔÚconsoleÏÂÃæÖ§³ÖÖÐÎÄÎÒÑ¡ÔñµÄÊDzÉÓÃÍâ¹Òʽƽ̨µÄ°ì·¨£¬²¢²»ÕæÕýºº»¯Äںˣ¬ÒòΪµ£Ðĺº»¯Äں˻áÓнϴóµÄ·çÏÕ£¬ËùÒÔÑ¡ÓÃÍâ¹ÒµÄ·½Ê½¡£²ÉÓÃÍâ¹ÒµÄ·½Ê½±ØÐëµÃ×¼ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ