ÔÚLinuxÉÏ°²×°JDK¼°ÉèÖÃJAVA»·¾³±äÁ¿
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
³öÏÖ°²×°ÐÒéµÈ£¬°´<Enter>½ÓÊܼ´¿É¡£
2.ÉèÖû·¾³±äÁ¿¡£
#vi /etc/profile
ÔÚ×îºóÃæ¼ÓÈë
#set java environment
JAVA_HOME=/usr/java/jdk-1_5_0_02
CLASSPATH=.:$JAVA_HOME/lib.tools.jar£¨×¢Ò⣺´Ë´¦·Ö¸ôÊÇ£º¶øwindowsÏÂÊÇ£»£©
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/jdk-1_5_0_02
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
3.ÔÚÖÕ¶ËʹÓÃechoÃüÁî¼ì²é»·¾³±äÁ¿ÉèÖÃÇé¿ö¡£
#echo $JAVA_HOME
#echo $CLASSPATH
#echo $PATH
4.¼ì²éJDKÊÇ·ñ°²×°³É¹¦¡£
#java -version
Èç¹û¿´µ½JVM°æ±¾¼°Ïà¹ØÐÅÏ¢£¬¼´°²×°³É¹¦£¡
Ïà¹ØÎĵµ£º
Ëä˵vimºÜÇ¿´ó£¬µ«ÊǸöÈ˸оõÆ÷´úÂëÌáʾ¹¦Äܲ»Èçvisual assistÀ´µÄÇ¿´ó¡£ÈçºÎʹÓÃvisual assistÀ´ÊµÏÖ´úÂëµÄÌáʾ¹¦ÄÜÄØ£¿
Ê×ÏÈ˵Ã÷ÎҵĻ·¾³ £º ËÞÖ÷»úÊÇxp£¨O(∩_∩)O~»¹ÊÇxpµÄºÃʹ£©£¬ÐéÄâ»úvmware + ubuntu 9.04
1.Ê×ÏÈÉèÖÃÎļþ¹²Ïí£º°²×°vmware tools¡£°²×°±Ê¼ÇÈçÏ £º
½«°²×°Îļþ¿½±´µ½/tmp·¾¶Ï£¬½âѹ£¬½øÈ ......
×öΪRED HAT LINUXµÄÆô¶¯À´Ëµ,Èç¹ûÖ»ÊǸöÈËʹÓõĻ°,Ö»ÐèÒªÆôÓÃÒÔÏ·þÎñ,Èç¹û»¹ÔÚ¾«¼õµÄ»°,Ö»ÆôÓÃNetwork¾Í¿É,ÕâÊÇFedora core 2Æô¶¯·þÎñ.
acpid£ºÌṩ¸ß¼¶µçÔ´¹ÜÀí¡£
cpuspeed£ºÄÜÌá¸ßϵͳÔËÐÐЧÂÊ¡£
crond£ºÖ´ÐÐÀýÐÐÐÔ³Ìʽ¡£
Iptables£º ·À»ðǽ¡£
Kudzu£º×Ô¶¯¼ì²âÓ²¼þµÄ±ä¸ü¡£
Network£º ¼¤»îÍøÂç½Ó¿Ú¡£
Random£º¼ ......
תÔØ×Ô:http://hi.baidu.com/aokikyon/blog/item/86d1640fb3b7ca226059f390.html
ÒÔǰ½½ÐøÐøд¹ýºÜ¶à¹ÒÔØNFSÏà¹ØµÄÄÚÈÝ£¬ÏÖÔÚ°ÑËûÃÇÕûÀíһϣ¬¿´ÆðÀ´·½±ãЩ¡£
֮ǰʹÓÃcramfs»òyaffs×÷Ϊ¸ùÎļþϵͳ£¬¿ª·¢ÆðÀ´ºÜ²»·½±ã£¬ÐèÒªÐÞ¸ÄÒ»µãÎļþ¶¼ÒªÖØÐÂÉÕдnand£¬ÔÚ¿ª·¢Ê±ÍƼö¹ÒÔØÐéÄâ»úϵÄnfs·ÖÇø×÷Ϊ¸ùÎļþϵͳ¡£
......
/bin:binÊÇbinary(¶þ½øÖÆ)µÄËõд¡£Õâ¸öĿ¼ÊǶÔUNIXϵͳϰ¹ßµÄÑØÏ®£¬´æ·Å×ÅʹÓÃÕß×î¾³£Ê¹ÓõÄÃüÁî¡£ÀýÈ磺cp,ls,cat¡£
¡¡¡¡/boot:ÕâÀï´æ·ÅµÄÊÇÆô¶¯LINUXʱʹÓõÄһЩºËÐÄÎļþ¡£
¡¡¡¡/dev:devÊÇdevice(É豸)µÄËõд¡£Õâ¸öĿ¼ÏÂÊÇËùÓÐLINUXµÄÍⲿÉ豸£¬Æ书ÄÜÀàËÆDOSϵÄ.sysºÍWinϵÄ.vxd¡£ÔÚLINUXÖÐÉ豸ºÍÎļþÊÇÓÃͬÖÖ ......