linuxѧϰ ÔËÐÐʱȷ¶¨³ÌÐò³ö´íµÄλÖÃ
Ê×ÏÈ£¬ÔÚ±àÒë³ÌÐòʱ£¬Ôö¼Ó-gÑ¡ÏʹִÐÐÎļþ°üº¬·ûºÅÐÅÏ¢¡£Æä´Î£¬ÔÚ³ÌÐò¿ªÊ¼ÔËÐÐʱ£¬µ÷ÓÃapiº¯ÊýÉèÖÃÐźŴ¦Àíº¯Êý(Èçsignal(), sigaction()µÈ)£¬ÓÃÀ´´¦Àí¸÷ÖÖÐźš£ÀýÈç³ÌÐò·¢Éú”³ý0´íÎó”ʱ£¬¾Í»á·¢³öÒ»ÖÖÐźš£×îºó£¬Íê³ÉÒ»¸öº¯Êý¶ÑÕ»Êä³öº¯Êý¡£ÓÃbacktrack()»ñÈ¡º¯Êýµ÷ÓöÑÕ»£¬È»ºóÓÃbacktrace_symbols()ת»»Îª×Ö·û´®À´ÏÔʾ¡£
ÎÒÔÚeclipse»·¾³Ï£¬Íê³ÉÁËdemo:
1. ÓÃÊó±êÓÒ¼üµ¥»÷¹¤³Ì£¬Ñ¡ÔñÊôÐÔ£¬µ¯³öÊôÐÔ¶Ô»°¿ò¡£
2. ÔÚÊôÐÔ¶Ô»°¿òÖУ¬Ñ¡ÔñBuild->setting¡£ÔÚg++/gcc±àÒëÊôÐÔÖÐÌí¼Ó±àÒë²ÎÊý”-g”¡£
3. ´´½¨Ò»¸övoid trace_show(int sig)º¯Êý£¬ÓÃÀ´´¦ÀíÐźš£ÔÚÆäÖÐÊä³öº¯Êýµ÷ÓöÑÕ»ÐÅÏ¢¡£
4. ÔÚ³ÌÐòÆô¶¯Î»Ö㬵÷ÓÃsigaction()º¯Êý¡£
¸½Â¼£ºÐźűí
Ãû³Æ ĬÈ϶¯×÷ ˵Ã÷
SIGHUP ÖÕÖ¹½ø³Ì ÖÕ¶ËÏß·¹Ò¶Ï
SIGINT ÖÕÖ¹½ø³Ì ÖжϽø³Ì
SIGQUIT ½¨Á¢COREÎļþ ÖÕÖ¹½ø³Ì£¬²¢ÇÒÉú³ÉcoreÎļþ
SIGILL ½¨Á¢COREÎļþ ·Ç·¨Ö¸Áî
SIGTRAP ½¨Á¢COREÎļþ ¸ú×Ù×ÔÏÝ
SIGBUS ½¨Á¢COREÎļþ ×ÜÏß´íÎó
SIGSEGV ½¨Á¢COREÎļþ ¶Î·Ç·¨´íÎó
SIGFPE ½¨Á¢COREÎļþ ¸¡µãÒì³£
SIGIOT ½¨Á¢COREÎļþ  
Ïà¹ØÎĵµ£º
Ê×ÏÈ£¬ÅäÖÃRedBootµÄIP¼°Æätftp·þÎñÆ÷IP£¬×°ºÃtftp·þÎñÆ÷£¬ÐèÒªÏÂÔØµÄÄں˼°ÄÚ´æ¾µÏóÓ¦·ÅÔÚ·þÎñÆ÷µÄ/tftpbootĿ¼ÏÂ
ÅäÖÃRedBootµÄÖ¸ÁîÊÇ
> fconfig
×¢Ò⣺Æô¶¯µÄÑÓʱ²»ÒªÉèΪ0£¬·ñÔòÒÔºó¾ÍºÜÄÑÔÙ¸ü¸ÄϵͳÁË
È»ºóÒªÖ´ÐÐflash´æ´¢Æ÷µÄ³õʼ»¯¹¤×÷£º
> fis init
Ö®ºó£¬½«kernelÓëramdisk.gzͨ¹ýtftpÏÂÔØÖÁÄڴ沢д ......
°²×°java£º
´ò¿ªÖÕ¶Ë£¬Ö´ÐÐÒÔÏÂÃüÁ»òʹÓÃAdept/ÐÂÁ¢µÃÈí¼þ¹ÜÀíÆ÷£¬ÔÚÆäÖзֱðËÑË÷"sun-java6-jre"ºÍ"sun-java6-jdk"²¢±ê¼Ç°²×°¡£
sudo apt-get install sun-java6-jre
Èç¹û¿Õ¼ä¸»Ô££¬½¨Òé°²×°Ò»¸öJDK¡£
sudo apt-get install sun-java6-jdk
Ìáʾ£º°²×°¹ý³ÌÖÐÐèÒªÄã»Ø´ðÊÇ·ñͬÒâʹÓÃÐÒ飨ÖÕ¶ËÖкìÀ¶É«µÄÌáʾ½çÃæ£ ......
ÎÒËù½²µÄÊÇwindowsÕæÊµÏµÍ³ÉÏÓÐvmwareµÄlinuxϵͳ£¬½«windowsϵÄÒ»¸öÎļþ¼Ð¹²Ïí£¬ÈçºÎ¹ÒÔØµ½ÐéÄâ»úµÄlinuxϵͳÏ£¬Ò²¾ÍÊÇÈçºÎÈÃlinuxϵͳÊÔÓÃwindowsϵÄÒ»¸öÎļþ¼Ð¡£
´ó¼ÒÒ²Ðí²»Ì«Ã÷°×£¬ÏÂÃæÎÒ¾Í×öһЩ½ØÍ¼
Ë«»÷share folder£¬Ò»¶¨Òª±£Ö¤sh ......
ÔÚѧϰÓйØI/O×ÜÏßµÄÄÚÈÝʱ£¬×îºÃÏÈ¿´¿´Ïà¹ØµÄ֪ʶ£º´ÓPC×ÜÏßµ½ARMµÄÄÚ²¿×ÜÏß
I/O ¶Ë¿ÚºÍ I/O ÄÚ´æ
ÿÖÖÍâÉè¶¼ÊÇͨ¹ý¶Áд¼Ä´æÆ÷À´½øÐпØÖÆ¡£
ÔÚÓ²¼þ²ã£¬ÄÚ´æÇøºÍ I/O ÇøÓòûÓиÅÄîÉϵÄÇø±ð: ËüÃǶ¼ÊÇͨ¹ýÏòÔÚµØÖ·×ÜÏߺͿØÖÆ×ÜÏß·¢³öµçƽÐźÅÀ´½øÐзÃÎÊ£¬ÔÙͨ¹ýÊý¾Ý×ÜÏß¶ÁдÊý¾Ý¡£
ÒòΪÍâÉèÒªÓëI\O×ÜÏ߯¥Å䣬¶ø´ó²¿·ÖÁ ......