LinuxÏÂJDKµÄ°²×°ÊÖ¼Ç
LinuxÏÂJDKµÄ°²×°²½Ö裺
µÚÒ»²¿£º¸ÄȨÏÞ
[root@wxr java]# pwd
/usr/java
[root@wxr java]# chomd 755 jdk-6u19-linux-i586.bin
Ê×Ïȸü¸Ä²Ù×÷ȨÏÞ£¬¼ÓÈëдÈëºÍÖ´ÐеÄȨÏÞ¡£
µÚ¶þ²¿£º°²×°
Ö´ÐÐÕâ¸öjdk-6u19-linux-i586.bin¶þ½øÖÆ¿ÉÖ´ÐгÌÐò£¬ÊµÏÖ°²×°£º
[root@wxr java]# ./jdk-6u19-linux-i586.bin
°²×°¹ý³ÌÌáʾÈçÏ£º
Do you agree to the above license terms? [yes or no] °´yes¼üÈ·¶¨¡£
Ö®ºó»á³öÏÖÏÂÃæµÄ»Ã棺
Checksumming...
0
0
Extracting...
½áÊøʱÌáʾ»Ã棺
For more information on what data Registration collects and
how it is managed and used, see:
http://java.sun.com/javase/registration/JDKRegistrationPrivacy.html
Press Enter to continue.....
Done.
×°Íê¾Í»á¿´µ½/usr/java϶àÁËÒ»¸öĿ¼£ºjdk1.6.0_19
µÚÈý²¿£ºÉèÖû·¾³±äÁ¿
×ÜÌåÀ´Ëµ¾ÍÊÇÈÃÔËÐеÄJAVAÃüÁîÄÜÕÒµ½JAVAµÄĿ¼·¾¶,ÖªµÀËü°²×°µ½ÄÄÁË¡£
ͨ³£¶¼Ï²»¶ÓÃexportÃüÁîÖ±½ÓÔÚshellÏÂÉèÖãº
[root@wxr java]# export JAVA_HOME=/usr/java/j2sdk1.4.2_06
[root@wxr java]# export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
[root@wxr java]# export PATH=$PATH:$JAVA_HOME/bin
µÄ±äÁ¿¡£ËùÒÔ×îºÃµÄ·½·¨»¹ÊÇÐÞ¸Ä.bashrcÎļþ¡££¨/rootĿ¼ÖеÄ.bashrcÊǸöÒþº¬Îļþ¡£ÐèÒªls –aÀ´¿´£©
µ±È»ÕâÑùÉèÖû·¾³±äÁ¿ÊÇ¿ÉÒÔÉúЧµÄ£¬µ«ÊÇÖ»¶Ôµ±Ç°shellÉúЧ¡£Èç¹û´ÓÁíÍâÒ»¸öshellµÇ½£¬½«²»ÄÜʹÓøղÅÉèÖÃ
ÒÔrootÓû§Éí·ÝÐÞ¸Ä.bashrcÎļþ£¬ÎļþĩβÔö¼ÓÀ¶É«×ÖÌåÄÚÈÝ£º
[root@wxr ~]# vi .bashrc
# User specific aliases and functions
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
export JAVA_HOME=/usr/java/jdk1.6.0_19
export CLASSPATH=$CLASSPATH:$JAVA_HOME/lib:$JAVA_HOME/jre/lib
export PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH:$HOMR/bin
µ±È»Ò²¿ÉÒÔͨ¹ý¸ü¸Ä/etc/profileÀ´ÊµÏÖ£¬²»¹ý²»ÍƼöÕâô×ö£¬ÒòΪÕâÑùµÄÉèÖý«¶ÔËùÒÔÓû§µÄshell¶¼ÉúЧ£¬¶Ôϵͳ°²È«»á²úÉúÓ°Ïì¡£
ÏÂÃæÀ´Ñé֤һϱäÁ¿ÉèÖÃÊÇ·ñÉúЧ£¬ÉèÖÃÍê»·¾³±äÁ¿×îºÃÖØÆðһϣ¬²»È»¿´²»µ½Ð§¹û¡£
[root@wxr ~]# reboo
Ïà¹ØÎĵµ£º
1.ÅäÖÃÎļþ
/etc/hosts(±¾µØÖ÷»úipµØÖ·Ó³Éä,¿ÉÒÔÓжà¸ö±ðÃû£©¡£
/etc/services(¶Ë¿ÚºÅÓë±ê×¼·þÎñÖ®¼äµÄ¶ÔÓ¦¹Øϵ£©¡£
/etc/sysconfig/network£¨ÉèÖÃÖ÷»úÃû£¬Íø¹Ø£¬ÓòÃû£©¡£
HOSTANME=zjw.com(Ö÷»úÃû£©£¨ÐèÒªÖØÆô¼ÆËã»ú²ÅÓÐЧ£©
GATEWAY=192.168.1.1£¨Íø¹Ø£©
/etc/rc.d/init.d/network restart£¨½Å±¾·þÎñÆô¶¯)
servi ......
½ñÌ콫¸ÃÊémisc-modules²¿·ÖµÄjiq.c´úÂë×öÁËЩÐ޸ģ¬ÒÔ±£Ö¤Õâ·Ý´úÂëÔÚUBUNTU 9.10 £¦ Linux 2.6.31µÄ»·¾³ÏÂÔËÐС£
¼Ç¼һÏÂÖ÷ÒªµÄÐÞ¸ÄλÖãº
1.config.h
ÐÂÄÚºËÖÐʹÓÃÁËautoconf.h´úÌæconfig.h
2.¹¤×÷¶ÓÁÐ
ÔÚеÄÄÚºËÖÐΪÁ˱ÜÃâ·ÇÑӳٵŤ×÷¶ÓÁÐÖÐtimerµÄ³É±¾£¬½«¹¤×÷¶ÓÁÐÖеÄtimer°þÀë³öÀ´¡£Í¬Ê±ÓÖ¹¹ÔìÁËÑÓ³Ù¹¤×÷¶ÓÁÐ ......
ÉîÈë·ÖÎö Linux ÄÚºËÁ´±í
¼¶±ð£º ³õ¼¶
ÑîɳÖÞ (pubb@163.net)¹ú·À¿Æ¼¼´óѧ¼ÆËã»úѧԺ
2004 Äê 8 ÔÂ 01 ÈÕ
±¾ÎÄÏêϸ·ÖÎöÁË 2.6.x ÄÚºËÖÐÁ´±í½á¹¹µÄʵÏÖ£¬²¢Í¨¹ýʵÀý¶Ôÿ¸öÁ´±í²Ù×÷½Ó¿Ú½øÐÐÁËÏ꾡µÄ½²½â¡£
Ò»¡¢ Á´±íÊý¾Ý½á¹¹¼ò½é
Á´±íÊÇÒ»ÖÖ³£ÓõÄ×éÖ¯ÓÐÐòÊý¾ÝµÄÊý¾Ý½á¹¹£¬Ëüͨ¹ýÖ¸Õ뽫һϵÁÐÊý¾Ý½Úµ ......
INTRO
¾¡¹ÜLinuxµÄ¸ùÎļþϵͳÔÚÐÎʽ±íÏÖÉÏÊÇÒ»ÌåµÄ£¨ËùÓÐÊý¾ÝĿ¼¾ùΪ¸ùĿ¼ÏµÄ×ÓĿ¼£©£¬µ«Êµ¼ÊËüÃÇÊǶà¸ö²»Í¬µÄ¡¾Âß¼Ö÷Ìå¡¿£¨ÎªÁËʵÏÖ²»Í¬µÄÂß¼¹¦ÄÜ£©×éºÏÔÚÒ»ÆðµÄ£¬²Î¼ûÏÂͼ¡£ÕâÒ²½âÊÍÁËΪʲôÓÐЩ½Úµã£¨Èç/var£©¿ÉÒÔ¹Ò½Óµ½²»Í¬´ÅÅÌ·ÖÇøÉÏ¡£»®·ÖÕâЩÂß¼²¿·Ö¶ÔÇåÎú°ÑÎÕ¸ùÎļþϵͳ½á¹¹£¬ÒÔ¼°Õû¸öϵͳµÄÐÐΪ¶¼Óкܴó ......