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

Linux°²×°JDKÏêϸ²½Öè2

Linux°²×°JDK²½Öè1. ÏÈ´ÓÍøÉÏÏÂÔØjdk(jdk-1_5_0_02-linux-i586.rpm)
£¬ÍƼöSUNµÄ¹Ù·½ÍøÕ¾www.sun.com£¬ÏÂÔغó·ÅÔÚ/homeĿ¼ÖУ¬µ±È»ÆäËüµØ·½Ò²ÐС£
½øÈ밲װĿ¼
#cd /home
#cp
jdk-1_5_0_02-linux-i586.rpm /usr/local
#cd /usr/local
¸øËùÓÐÓû§Ìí¼Ó¿ÉÖ´ÐеÄ
ȨÏÞ
#chmod +x jdk-1_5_0_02-linux-i586.rpm.bin
#./jdk-1_5_0_02-linux-i586.rpm.bin
´Ë
ʱ»áÉú³ÉÎļþjdk-1_5_0_02-linux-i586.rpm£¬Í¬Ñù¸øËùÓÐÓû§Ìí¼Ó¿ÉÖ´ÐеÄȨÏÞ
#chmod +x
jdk-1_5_0_02-linux-i586.rpm
°²×°³ÌÐò
#rpm -ivh
jdk-1_5_0_02-linux-i586.rpm
³öÏÖ°²×°Ð­ÒéµÈ£¬°´½ÓÊܼ´¿É¡£
Linux°²×°JDK²½Öè2.ÉèÖû·¾³±äÁ¿¡£
#vi
/etc/profile
ÔÚ×îºóÃæ¼ÓÈë
#set java environment
JAVA_HOME=/usr/java/jdk1.5.0_22
CLASSPATH=.:$JAVA_HOME/lib.tools.jar
PATH=$JAVA_HOME/bin:$PATH
export
JAVA_HOME CLASSPATH PATH
±£´æÍ˳ö¡£
ҪʹJDKÔÚËùÓеÄÓû§ÖÐʹÓ㬿ÉÒÔÕâÑù£º
vi
/etc/profile.d/java.sh
ÔÚеÄjava.shÖÐÊäÈëÒÔÏÂÄÚÈÝ£º
#set java environment
JAVA_HOME=/usr/java/jdk1.5.0_22
CLASSPATH=.:$JAVA_HOME/lib/tools.jar
PATH=$JAVA_HOME/bin:$PATH
export
JAVA_HOME CLASSPATH PATH
±£´æÍ˳ö£¬È»ºó¸øjava.sh·ÖÅäȨÏÞ£ºchmod 755
/etc/profile.d/java.sh
Linux°²×°JDK²½Öè3.ÔÚÖÕ¶ËʹÓÃechoÃüÁî¼ì²é»·¾³±äÁ¿ÉèÖÃÇé¿ö¡£
#echo
$JAVA_HOME
#echo $CLASSPATH
#echo $PATH
4.¼ì²éJDKÊÇ·ñ°²×°³É¹¦¡£
#java
-version
Èç¹û¿´µ½JVM°æ±¾¼°Ïà¹ØÐÅÏ¢£¬¼´°²×°³É¹¦£¡
ÄÇôLinux°²×°JDK¾Í½áÊøÁË£¬ÒѾ­´ò¿ª¿ª·¢´óÃÅ
ÁË£¬GOGOGO! ......


Ïà¹ØÎĵµ£º

ÍêÈ«Óà GNU/Linux ¹¤×÷


[¾«»ª] ÍêÈ«Óà GNU/Linux ¹¤×÷
http://www.chinaunix.net ×÷Õß:enfuzion  ·¢±íÓÚ£º2005-12-08 16:05:56
¡¾·¢±íÆÀÂÛ¡¿¡¾²é¿´Ô­ÎÄ¡¿¡¾LinuxÌÖÂÛÇø¡¿¡¾¹Ø±Õ¡¿
ת×Ôhttp://www.chinaunix.net/jh/4/16102.html
ÍêÈ«ÓàGNU/Linux ¹¤×÷
— ±÷Æú Windows µÍЧÂʵŤ×÷·½Ê½£¬·¢¾ò&n ......

linux waitpid wait (ת)

  wait(µÈ´ý×Ó½ø³ÌÖжϻò½áÊø)
±íÍ·Îļþ
     #include<sys/types.h>
     #include<sys/wait.h>
¶¨Ò庯Êý pid_t wait (int * status);
º¯Êý˵Ã÷
    wait()»áÔÝʱֹͣĿǰ½ø³ÌµÄÖ´ÐÐ,Ö±µ½ÓÐÐźÅÀ´µ½»ò×Ó½ø³Ì½á
    Êø¡£È ......

ÔÚLinuxÏ¿´µçÊÓ

ÔÚLinuxÏ¿´µçÊÓ
ʱ¼ä£º2009-12-09 13:37:00  À´Ô´£ºÍøÂç  ×÷ÕߣºÐ¡Â¬
¡¡¡¡³¤ÆÚÒÔÀ´£¬ÔÚLinux²Ù×÷ϵͳÏÂʹÓõçÊÓ¿¨ÊÇÒ»¼þ±È½ÏÂé·³µÄÊ£¬ÕâÊÇÒòΪ¸÷¼ÒµçÊÓ¿¨Éú²ú³§É̶¼Ã»ÓÐÌṩ¹Ù·½µÄLinuxÇý¶¯£¬Ö»ÓÐWindowsϵÄWDMÇý¶¯¡£
¡¡¡¡LinuxϵĵçÊÓ¿¨Çý¶¯£¬Ò»Ö±ÓÉlinux.bytesex.orgµÄLinux°®ºÃÕ߸ºÔ𿪷¢¡£¸ÃÇý¶¯ÓÐÁ½ ......

ÖÆ×÷¿ÉÒƶ¯µÄlinuxϵͳ(Ubuntu)

ÖÆ×÷¿ÉÒƶ¯µÄlinuxϵͳ(Ubuntu)
1¡¢¹âÅÌÆô¶¯£¬°²×°¸´ÖƵ½Òƶ¯Ó²ÅÌ£¬½«grub°²×°µ½dev/sda¡£
2¡¢¸´ÖÆÍêºóÖØÆô£¬¹âÅÌÆô¶¯£¬°²×°Æô¶¯½çÃæÊäÈërescue£¬½øÈë¼±¾Èģʽ£¬Ñ¡Ôñ¹ÒÔØ·ÖÇøʱ£¬Ñ¡ÔñϵͳËùÔÚÓ²Å̺ͷÖÇø¡£
3¡¢ctrl-Alt-F2£¬´ò¿ªÐ´°¿Ú¡£
CODE:mount -tproc proc /target/proc
chroot /target
su
4¡¢nano /etc/mkini ......

linux device modelÖ®ÎÒ¼û

      ¼ÍÏþá°Ôø¾­Ëµ£º“ÊÀ¼äµÄµÀÀíÓëÊÂÇ飬¶¼ÔÚ¹ÅÈ˵ÄÊéÖÐ˵¾¡£¬ÏÖÔÚÈçÔÙÖøÊö£¬ÈÔÈ»³¬²»¹ý¹ÅÈ˵ķ¶Î§£¬ÓֺαØÔÙ¶àÖøÊö¡£”ÓÚÊÇËûÒ»ÉúÖ®ÖУ¬´Ó²»ÖøÊ飬ֻÊDZàÊé--ÕûÀíÇ°È˵ĵ伮£¬½«ÖйúÎÄ»¯×÷ϵͳµÄ·ÖÀ࣬ÒÔ±ãÓÚÒÔºóµÄѧÕßÃÇѧϰ¡£×Ô¼ºµÄÖø×÷Ö»ÓСºÔÄ΢²ÝÌñʼǡ»Ò»²á¶øÒÑ¡£
 &nb ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ