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

linux ÉèÖû·¾³±äÁ¿

ÏÂÃæÒÔÅäÖÃjava
»·¾³±äÁ¿ÎªÀý½éÉÜÈýÖÖÅäÖû·¾³±äÁ¿µÄ·½·¨¡£
 
1.ÐÞ¸Ä/etc/profileÎļþ
Èç¹ûÄãµÄ¼ÆËã»ú½ö½ö×÷Ϊ¿ª·¢Ê¹ÓÃʱÍƼöʹÓÃÕâÖÖ·½·¨£¬ÒòΪËùÓÐÓû§
µÄshell
¶¼ÓÐȨʹÓÃÕâЩ»·¾³±äÁ¿£¬¿ÉÄÜ
»á¸øϵͳ
´øÀ´°²È«ÐÔÎÊÌâ¡£
 
(1)ÓÃÎı¾±à¼­Æ÷´ò¿ª/etc/profile
 
(2)ÔÚ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
 
(3)ÖØеǼ
 
×¢½â£º
a. ÄãÒª½« /usr/share/jdk1.5.0_05jdk ¸ÄΪÄãµÄjdk°²×°Ä¿Â¼
 
b. linuxÏÂÓÃðºÅ“:”À´·Ö¸ô·¾¶
 
c. $PATH / $CLASSPATH / $JAVA_HOME ÊÇÓÃÀ´ÒýÓÃÔ­À´µÄ»·¾³±äÁ¿µÄÖµ,ÔÚÉèÖÃ
»·¾³±äÁ¿Ê±ÌرðҪעÒâ²»
ÄÜ°ÑÔ­À´µÄÖµ¸ø¸²¸ÇµôÁË£¬ÕâÊÇÒ»ÖÖ³£¼ûµÄ´íÎó¡£
 
d. CLASSPATHÖе±Ç°Ä¿Â¼“.”²»Äܶª,°Ñµ±Ç°Ä¿Â¼¶ªµôÒ²Êdz£¼ûµÄ´íÎó¡£
 
e. exportÊÇ°ÑÕâÈý¸ö±äÁ¿µ¼³öΪȫ¾Ö±äÁ¿¡£
 
f. ´óСд±ØÐëÑϸñÇø·Ö¡£
 
2. ÐÞ¸Ä.bashrcÎļþ¡¡¡¡
ÕâÖÖ·½·¨¸üΪ°²È«£¬Ëü¿ÉÒÔ°ÑʹÓÃÕâЩ»·¾³±äÁ¿µÄȨÏÞ¿ØÖƵ½Óû§¼¶±ð£¬Èç¹ûÄãÐèÒª¸øij¸öÓû§È¨ÏÞʹÓÃÕâЩ
»·¾³±äÁ¿£¬ÄãÖ»ÐèÒªÐÞ¸ÄÆä¸öÈËÓû§Ö÷Ŀ¼ÏµÄ.bashrcÎļþ¾Í¿ÉÒÔÁË¡£
 
(1)ÓÃÎı¾±à¼­Æ÷´ò¿ªÓû§Ä¿Â¼ÏµÄ.bashrcÎļþ
 
(2)ÔÚ.bashrcÎļþĩβ¼ÓÈ룺¡¡¡¡
set JAVA_HOME=/usr/share/jdk1.5.0_05
export JAVA_HOME
set PATH=$JAVA_HOME/bin:$PATH
export PATH
set CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export CLASSPATH
 
(3)ÖØеǼ
 
3. Ö±½ÓÔÚshellÏÂÉèÖñäÁ¿
²»ÔÞ³ÉʹÓÃÕâÖÖ·½·¨£¬ÒòΪ»»¸öshell£¬ÄãµÄÉèÖþÍÎÞЧÁË£¬Òò´ËÕâÖÖ·½·¨½ö½öÊÇÁÙʱʹÓã¬ÒÔºóҪʹÓõÄʱºò
ÓÖÒªÖØÐÂÉèÖ㬱ȽÏÂé·³¡£
 
Ö»ÐèÔÚshellÖÕ¶ËÖ´ÐÐÏÂÁÐÃüÁî
£º
export JAVA_HOME=/usr/share/jdk1.5.0_05
export PATH=$JAVA_HOME/bin:$PATH
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar


Ïà¹ØÎĵµ£º

linux Ó²ÅÌ·ÖÇø·½Ê½

                                                   ......

Linux ÍøÂçϵͳѧϰ IPv6 µÄ³õʼ»¯£¨Ïêϸ¶øÈ«Ã棩

ת×Ô£ºhttp://blog.csdn.net/rstevens/archive/2007/04/10/1559289.aspx
1.
  
ÍøÂç×Óϵͳ
1.1.                   
ÍøÂç×Óϵͳ¸ÅÊö
 
Linux
ÄÚºËÖУ¬ÓëÍøÂçÏà¹ØµÄ´úÂëÊÇÒ»¸öÏà¶Ô¶ÀÁ¢µÄ×Óϵͳ£ ......

linux convertͼÏñ´¦ÀíÃüÁî


¡¡¼¸¸ö¼òµ¥µÄÓ¦Óá£
¡¡¡¡1¡¢ÅúÁ¿Í¼Ïñ¸ñʽת»»
¡¡¡¡Èç¹ûÏ뽫ijĿ¼ÏµÄËùÓÐjpgÎļþת»»ÎªpngÎļþ£¬Ö»ÒªÔÚÃüÁîÐÐģʽÏÂÊäÈë:
¡¡¡¡for %f in (*.jpg) do convert “%f” “%~nf.png”
¡¡¡¡2¡¢¶ÔËùÓÐͼÏñ½øÐÐͬһ²Ù×÷
¡¡¡¡Æ©È磬ÅúÁ¿Éú³ÉijĿ¼ÏÂËùÓÐPNGͼÏñÎļþµÄËõÂÔͼ(´óСΪ80×40):
¡¡¡¡ ......

linux gcc ÃüÁî

1£¬-c ±àÒëÄ¿±ê´úÂë
      gcc -o hello.o -c hello.c  //-o Ö»ÊÇÖ¸¶¨Éú³ÉÄ¿±êÎļþÃû
      »ò
      gcc -c hello.c
      ¶¼Éú³Éhello.oÎļþ£¬²»¿ÉÒÔÖ´ÐС£
      gcc -o hello hello.o
      ÓÃÄ¿±êÎļþÉú³Éhell ......

ʹÓà /proc ÎļþϵͳÀ´·ÃÎÊ Linux Äں˵ÄÄÚÈÝ

²Î¼û£ºhttp://www.ibm.com/developerworks/cn/linux/l-proc.html
ʹÓà /proc ÎļþϵͳÀ´·ÃÎÊ Linux Äں˵ÄÄÚÈÝ
Õâ¸öÐéÄâÎļþϵͳÔÚÄں˿ռäºÍÓû§¿Õ¼äÖ®¼ä´ò¿ªÁËÒ»¸öͨÐÅ´°¿Ú
ÎĵµÑ¡Ïî
<tr
valign="top"><td width="8"><img alt="" height="1" width="8& ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ