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

Linux Fedora °²×°Sun JDK

1.¼ì²éϵͳÊÇ·ñÓÐopen-jdk
[root@localhost Alex] rpm -qa | grep java
tzdata-java-2010c-1.fc12.noarch
java_cup-0.11a-1.fc12.noarch
java-1.5.0-gcj-1.5.0.0-29.fc12.i686
java-1.6.0-openjdk-1.6.0.0-33.b16.fc12.i686
java-1.6.0-openjdk-plugin-1.6.0.0-33.b16.fc12.i686
2.ɾ³ýopen-jdk
[root@localhost Alex] yum remove java-1.6.0-openjdk
3.Ê×ÏÈÄã±ØÐë°²×° SUN Java ±ØÐèµÄ¿âÎļþ
[root@localhost Alex] yum install compat-libstdc++-33
compat-libstdc++-296
4.ͨ¹ýÃüÁî´´½¨±ØÒªµÄÁ´½Ó
[root@localhost Alex] /sbin/ldconfig
5.ÏÂÔØSun-JDK
ÔÚsun¹Ù·½ÏÂÔØhttp://java.sun.com/javase/downloads/index.jsp
Ä¿Ç°×îаæΪjdk-6u18-linux-i586-rpm.bin
6.½øÈëÏÂÔØĿ¼
[root@localhost Alex]# cd ÏÂÔØ
7.Ö´Ðа²×°
[root@localhost ÏÂÔØ]# sh jdk-6u18-linux-i586-rpm.bin
Ò»Ö±¿Õ¸ñ£¬Ö±µ½ÌáʾÄ㠻شðy
8.ÅäÖÃfireFoxµÄjava ²å¼þ
[root@localhost ÏÂÔØ]# ln -s
/usr/java/default/jre/plugin/i386/ns7/libjavaplugin_oji.so
/usr/lib/mozilla/plugins/
9.ÅäÖÃjdkµÄ»·¾³±äÁ¿
ÎÒ²»ÖªµÀrpm°üÊÇ·ñÉèÖÃÁËjdkµÄ»·¾³±äÁ¿£¬ÎÒÏÖÔÚÖ´ÐÐjava,javac,javadoc,ʱ(¶¼¿ÉÒÔ·ÃÎÊjdkµÄÃüÁî,³ýÁËjavaÃüÁîÊÇgcj
µÄ)µ«ÊÇnative2asciiÃüÁîÎÞ·¨·ÃÎÊ£¬ÎªÁ˱£ÕÏÒ»µã£¬ÊÖ¶¯ÉèÖÃÒ»ÏÂjdkµÄ»·¾³±äÁ¿¡£
½¨Á¢Ò»¸ösheel½Å±¾£¬Õâ¸ö½Å±¾¼ÆËã»ú½øÈëϵͳʱ»áÖ´ÐÐ
[root@localhost plugins]# vim /etc/profile.d/java.sh
Íùн¨µÄshell½Å±¾Ìí¼ÓÒÔÏ´úÂë:
    export JAVA_HOME=/usr/java/latest
    export PATH=$JAVA_HOME/bin:$PATH
    export CLASSPATH=.:$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/dt.jar
±£´æÍ˳ö!
Ö´ÐÐsourceÃüÁî
[root@localhost plugins]# source /etc/profile.d/java.sh
10.ÅäÖÃjavaÃüÁî
ÓÃalternatives²é¿´µ±Ç°Óм¸¸öjavaÃüÁî,ÅäÖÃjavaÃü½ñ.
[root@localhost Alex]# alternatives --config java
¹²ÓÐ 1 ¸ö³ÌÐòÌṩ“java”¡£
  Ñ¡Ôñ    ÃüÁî
-----------------------------------------------
+  1           /usr/lib/jvm/jre-1.5.0-gcj/bin/java
°´ Enter À´±£´æµ±Ç°Ñ¡Ôñ[+]£¬»ò¼üÈëÑ¡ÔñºÅÂ룺(×¢Ò⣺ÔÚÕâÀï°´ctrl+cÖÕֹѡÔñ,»òÕ߻سµ)
ÎÒÃÇÖªµÀµ±Ç°Ö»ÓÐ1¸öja


Ïà¹ØÎĵµ£º

LinuxÖеÄwaitϵͳµ÷ÓÃ

ϵͳÖеĽ©Ê¬½ø³Ì¶¼ÒªÓÉwaitϵͳµ÷ÓÃÀ´»ØÊÕ£¬ÏÂÃæ¾Íͨ¹ýʵս¿´Ò»¿´waitµÄ¾ßÌåÓ÷¨£º
waitµÄº¯ÊýÔ­ÐÍÊÇ£º
#include <sys/types.h> /* ÌṩÀàÐÍpid_tµÄ¶¨Òå */
#include <sys/wait.h>
pid_t wait(int *status);
½ø³ÌÒ»µ©µ÷ÓÃÁËwait£¬¾ÍÁ¢¼´×èÈû×Ô¼º£¬ÓÉwait×Ô¶¯·ÖÎöÊÇ·ñµ±Ç°½ø³ÌµÄij¸ö×Ó½ø³ÌÒѾ­Í˳ö£¬Èç¹ûÈ ......

LINUXϵͳ²Ù×÷

µ¥Óû§Ä£Ê½½øÈ룺
½øÈëÆô¶¯»­ÃæÖ®ºó£¬ÇÃÈë“e”£¬¹â±êÒƶ¯µ½kernel ...ÄÇÒ»ÐУ¬ÔÙÇÃÈë“e”£¬ÔÚkernel Ò»ÐеÄ×îºó¼ÓÉÏ¿Õ¸ñsingle£¬»Ø³µ
ÇÃÈë“b”£¬Æô¶¯ÏµÍ³£¬¼´½øÈëµ¥Óû§Ä£Ê½
²é¿´ÃüÁîÆô¶¯Â·¾¶£º
vi .bashrc
²é¿´»·¾³±äÁ¿£º
env 
¸Ä±äĿ¼ȨÏÞ£º
chmod -R +777 Ŀ¼
²é¿´×Ô ......

LinuxÄÚºËNAPI»úÖÆ·ÖÎö

NAPI ÊÇ Linux ÉϲÉÓõÄÒ»ÖÖÌá¸ßÍøÂç´¦ÀíЧÂʵļ¼Êõ£¬ËüµÄºËÐĸÅÄî¾ÍÊDz»²ÉÓÃÖжϵķ½Ê½¶ÁÈ¡Êý¾Ý£¬¶ø´úÖ®ÒÔÊ×ÏȲÉÓÃÖжϻ½ÐÑÊý¾Ý½ÓÊյķþÎñ³ÌÐò£¬È»ºó POLL µÄ·½·¨À´ÂÖѯÊý¾Ý¡£Ëæ×ÅÍøÂçµÄ½ÓÊÕËٶȵÄÔö¼Ó£¬NIC ´¥·¢µÄÖжÏÄÜ×öµ½²»¶Ï¼õÉÙ£¬Ä¿Ç° NAPI ¼¼ÊõÒѾ­ÔÚÍø¿¨Çý¶¯²ãºÍÍøÂç²ãµÃµ½Á˹㷺µÄÓ¦Óã¬Çý¶¯²ã´ÎÉÏÒѾ­ÓÐ E1000 Ï ......

ÈÃlinuxÖ§³Ögbk±àÂë


ÍøÉÏ¿´µ½µ½µÄ·½·¨£¬¼Ç¼ÒÔ±¸Óá£
ÔÚÓ¢ÎÄLocaleϵÄUbuntu
ÎÞ·¨Õý³£ÏÔʾXPÏÂGBK±àÂëµÄÖÐÎÄ
±à¼­/etc/environmentÎļþ
Ìí¼ÓLC_CTYPE="zh_CN.GBK"Ò»ÐÐ
ÈçÏÂ:
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games"
LANG="en_US.UTF-8"
LANGU ......

LinuxÍøÂç½Ø°ü²»ÍêÈ«ÕûÀí

ÍøÂç½Ø°üÊÇÒ»ÏîºÜÓÐÒâ˼µÄ¿ÎÌ⣬¿ÉÒÔÓÐÊý¾Ý¹ýÂË£¬·À»ðǽ£¬Á÷Á¿¿ØÖÆ£¬±¨ÎĴ۸ĵÈÖî¶àÓ¦Ó㬰´ÕÕÄں˷ֲã¼Ü¹¹½«Ò»Ð©½Ø°ü·½·¨²»ÍêÈ«ÕûÀíÈçÏ£¬»¶Ó­²¹³ä¡£
1¡¢ L1²ãÇý¶¯½Ø°ü·¨
    ÔÚÇý¶¯ÖÐÏÂÊÖÓ¦¸Ã¿ÉÒÔ˵ÊÇ×îÌù½üµ×²ãµÄ£¬Íø¿¨Çý¶¯ÖÐ×ÜÓÐrx½ÓÊÕºÍxmit·¢Ëͺ¯Êý£¬²ÎÊý×ÜÊÇsk_buffer£¬ÔÚÕâÀïÐ޸ĺܻƺܱ©Á¦£¬¶øÇÒ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ