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

linuxÏÂÔõÑùÈÃ×Ô¼ºÐ´µÄ³ÌÐòÔÚÈκÎĿ¼¶¼¿ÉÒÔÓÃ

ÔÚlinuxÏÂдµÄһЩС³ÌÐòºÍ½Å²½£¬Ã¿´ÎÒªÔËÐж¼ÓÐÇл»µ½ËüËùÔÚµÄĿ¼£¬
ÔõÑùÈÃËüÔÚÆäËûĿ¼Ҳ¿ÉÒÔÓÃÄØ£¿¾ÍÈçÓÃvi»òlsÕâЩÃüÁîÒ»Ñù

³¢ÊÔ¹ýÌí¼Ó»·¾³±äÁ¿£¬µ«²»³É¹¦£¬²»¶®
ûÓÐÈ˻شð

ÏñviÄÇЩ£¬ËüÃÇËùÔÚµÄĿ¼¶¼ÅäÖÃÔÚ»·¾³±äÁ¿PATHÖÐÁË¡£

Ò»ÖÖ¼òµ¥µÄ°ì·¨ÊÇ°Ñ×Ô¼ºµÄ³ÌÐò°²×°µ½/usr/local/binÖУ¬Õâ¸öĿ¼һ°ã¶¼ÒѾ­ÅäÖóÉPATH»·¾³±äÁ¿µÄÒ»²¿·ÖÁË¡£

°ÑÄãµÄÖ´ÐгÌÐò¿½±´µ½
/usr/local/bin ϾͿÉÒÔÈÎÒâĿ¼ÔËÐÐÄãµÄ³ÌÐòÁË

ÒýÓÃ
ÏñviÄÇЩ£¬ËüÃÇËùÔÚµÄĿ¼¶¼ÅäÖÃÔÚ»·¾³±äÁ¿PATHÖÐÁË¡£

Ò»ÖÖ¼òµ¥µÄ°ì·¨ÊÇ°Ñ×Ô¼ºµÄ³ÌÐò°²×°µ½/usr/local/binÖУ¬Õâ¸öĿ¼һ°ã¶¼ÒѾ­ÅäÖóÉPATH»·¾³±äÁ¿µÄÒ»²¿·ÖÁË¡£


ÕâÖÖ·½·¨ÎÒÖªµÀ°¡£¬µ«ÊÇÕâÑùµ«ÊÇ»áŪµÃbinºÜ¶àÏîÄ¿£¬ÎÒÊÇÏë°Ñ×Ô¼ºµÄ³ÌÐò·Åµ½Ò»¸öÖ¸¶¨µÄĿ¼£¬Ò²ºÃ¹ÜÀí


/usr/local/bin±¾À´Ã»¶«Î÷£¬¾ÍÊÇ·ÅÄã×Ô¼ºµÄһЩ³ÌÐòµÄ£¬ºÜÈÝÒ×¹ÜÀí°¡

day day up~

export PATH=$PATH: /xxx/yy/zz

·½·¨Ò»£º°ÑÄãµÄÎļþ·Åµ½/usr/local/binĿ¼ÏÂ
·½·¨¶þ£ºÐ޸Ļ·¾³±äÁ¿£¬Ö¸ÏòÄãËæ±ãÏëÒªµÄĿ¼

°ÑÄãµÄÎļþ·Åµ½/usr/local/binĿ¼ÏÂ,ÄǸöÎļþ±¾À´¾ÍûÓÐʲô¶«Î÷£¬È»ºóÓÃln -s /usr/local/bin name£¬name¾ÍÏ൱ÓÚ¿ì½Ý·½Ê½£¬Çл»µ½nameĿ¼¾Í¿ÉÒÔ¿ìËÙ·ÃÎÊ¡£


ÐÞ¸ÄÓû§Ö÷Ŀ¼ÏµÄ.profile Îļþ £¬°Ñ×Ô¼ºµÄĿ¼Ìí¼Óµ½»·¾³±äÁ¿PATHÖУ¬

ѧϰÁË...

ÒýÓÃ
export PATH=$PATH: /xxx/yy/zz



$PATH: /xxx/yy/zzÊÇʲôÒâ˼°¡£¬ÄÇÁ½¸öµãÊǷֺŻ¹ÊÇðºÅ£¿


Â¥ÉÏ£ºÊǷֺš£


Ïà¹ØÎÊ´ð£º

javaÈçºÎ¿ØÖÆÔ¶³ÌLinuxÖØÆô

ÎÒÄ¿Ç°ÔÚ±¾µØµÄlinuxÉÏдÁËÒ»¸öswingµÄ½çÃ棬Ïëͨ¹ýÕâ¸ö½çÃæÀ´¿ØÖÆÆäËüµçÄÔµÄlinuxÖØÆô¡£
ÎÒÖªµÀÓÃRuntime.getRuntime().exec("shutdown -r");¿ÉÒÔ¿ØÖƱ¾»úLinuxÖØÆô£¬µ«ÊÇÔõô¿ØÖÆÔ¶³ÌµÄlinuxÖØÆôÄØ£¿ ......

ÓйØlinux°²×°½Å±¾kickstartµÄ±àд

ÎÒ֮ǰÖÆ×÷µÄlinux×Ô¶¯°²×°isoÒѾ­³É¹¦ÁË£¬ÏÖÔÚÏë¶ÔÆä½øÐÐһЩ¶¨ÖÆÐ޸ģ¬±ÈÈ磬¸ü¸ÄgrubͼƬµÈ¡£
ÎÒÔÚks.cfgµÄ%post¶ÎÀïÃæÊÇÕâÑùдµÄ£º
%post --nochroot
# Move the contents of the tar into their new locati ......

LinuxÏ°²×°ÎÊÌâ

Ô­ÏȵÄGCC°æ±¾Îª4.1.2,ÎÒÖØбàÒë°²×°ÁËGCC4.3.2£¬µ«ÊDZàÒëÍê³ÌÐòÔËÐгÌÐòʱ»á³öÏÖversion `GLIBCXX_3.4.9' not found Õâ¸öÎÊÌ⣬ÎÒ²»Ì«Ã÷°×Ôõô»ØÊ£¬Çë¸÷λ´óϺָµãһϡ£
ÊÖ¶¯ÔÙ×°Ò»´Îglibc*_3.4.9

ÕâÊÇÎ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ