LINUXÐÞ¸ÄROOTÃÜÂë·½·¨
»ÆÃöÓñ
>1£® »úÆ÷Æô¶¯ºó£¬ÔÚµ½À¶É«ÆÁÄ»µÄ½çÃæµÄʱºò£¬°´ÉÏϼüÑ¡Ôñ¡£
>2£® ÔÚÑ¡ÔñµÄʱºòÑ¡ÔñºóÃæ´øÓÐELSMPµÄÕâÒ»ÐУ¬°´E¼ü£¬Ç§Íò²»Òª°´»Ø³µ
>3£® È»ºóÔÚÑ¡Ôñ´øÓÐkernel¿ªÍ·µÄÕâÒ»ÐУ¬°´E¼ü£¬²»Òª°´»Ø³µ¡£
>4£® È»ºóÔÚµ¯³öÀ´µÄÕâÐеÄ×î⣬ÏÈ¿Õ¸ñ£¬È»ºóÊäÈësingle,È»ºó°´»Ø³µ
>5£® »Ø³µ°´Íêºó£¬ÔÚ°´B£¬¾Í¿ÉÒÔ½øÈëµ¥Óû§Ä£Ê½¡£
>6£® È»ºóÔÚ³öÏÖÃüÁîÐеÄʱºòÊäÈëpasswd£¬ÊäÈëеÄÃÜÂë¡£
>7£® ÔÚÊäÈëÃÜÂëµÄʱºòÊDz»»áÓÐÏÔʾµÄ¡£ ÔÙreboot¼´¿É
Ïà¹ØÎĵµ£º
×ÜÀÀ
ÓÃiptables -ADC À´Ö¸¶¨Á´µÄ¹æ
Ôò
£¬-AÌí¼Ó -Dɾ³ý -C ÐÞ¸Ä
iptables - [RI] chain rule num rule-specification[option]
ÓÃiptables - RI ͨ¹ý¹æÔòµÄ˳ÐòÖ¸¶¨
iptables -D chain rule num[option]
ɾ³ýÖ¸¶¨¹æÔò
iptables -[LFZ] [chain][option]
ÓÃiptables -LFZ Á´Ãû [Ñ¡Ïî]
iptables -[NX] chain
ÓÃ -NX ......
GDB
ÊÇ
GNU
¿ªÔ´×éÖ¯·¢²¼µÄÒ»¸öÇ¿´óµÄ
UNIX
ϵijÌÐòµ÷ÊÔ¹¤¾ß¡£»òÐí£¬¸÷λ±È½Ïϲ»¶ÄÇÖÖͼÐνçÃ淽ʽµÄ£¬Ïñ
VC
¡¢
BCB
µÈ
IDE
µÄµ÷ÊÔ£¬µ«Èç¹ûÄãÊÇÔÚ
UNIX
ƽ̨ÏÂ×öÈí¼þ£¬Äã»á·¢ÏÖ
GDB
Õâ¸öµ÷ÊÔ¹¤¾ßÓбÈ
VC
¡¢
BCB
µÄͼÐλ¯µ÷ÊÔÆ÷¸üÇ¿´óµÄ¹¦ÄÜ¡£Ëùν
“
´çÓÐËù³¤£¬³ßÓÐËù¶Ì
”
¾ÍÊÇÕâ¸öµÀÀí ......
ÎÒÕâÀï˵µÄioctlº¯ÊýÊÇÔÚÇý¶¯³ÌÐòÀïµÄ£¬ÒòΪÎÒ²»ÖªµÀ»¹ÓÐûÓбðµÄ³¡ºÏÓõ½ÁËioctl£¬ ËùÒԾ͹涨ÁËÎÒÃÇÌÖÂ۵ķ¶Î§¡£ÎªÊ²Ã´ÒªÐ´ÆªÎÄÕÂÄØ£¬ÊÇÒòΪÎÒÇ°Ò»Õó×Ó±»ioctl¸ø¸ã»ìÁË£¬Õ⼸Ìì²ÅŪÃ÷°×Ëü£¬ÓÚÊÇÔÚÕâÀïÇåÀíÒ»ÏÂÍ·ÄÔ¡£
Ò»¡¢ ʲôÊÇioctl¡£
ioctlÊÇÉ豸Çý¶¯³ÌÐòÖжÔÉ豸µÄI/OͨµÀ½øÐйÜÀíµÄº¯Êý¡£Ëùν¶ÔI/OͨµÀ½øÐÐ ......
¡¡Ê²Ã´ÊÇSwap?
¡¡¡¡Swap£¬¼´½»»»Çø£¬³ýÁË°²×°LinuxµÄʱºò£¬ÓжàÉÙÈ˹ØÐĹýËüÄØ?Æäʵ£¬SwapµÄµ÷Õû¶ÔLinux·þÎñÆ÷£¬ÌرðÊÇWeb·þÎñÆ÷µÄÐÔÄÜÖÁ¹ØÖØÒª¡£Í¨¹ýµ÷ÕûSwap£¬ÓÐʱ¿ÉÒÔÔ½¹ýϵͳÐÔÄÜÆ¿¾±£¬½ÚʡϵͳÉý¼¶·ÑÓá£
¡¡¡¡SwapµÄÔÀíÊÇÒ»¸ö½Ï¸´ÔÓµÄÎÊÌ⣬ÐèÒª´óÁ¿µÄƪ·ùÀ´ËµÃ÷¡£ÔÚÕâÀïÖ»×÷¼òµ¥µÄ½éÉÜ£¬ÔÚÒÔºóµÄÎÄÕÂÖн«ºÍ´ó¼ÒÏêÏ ......
linux coredumpÅäÖÃÓëµ÷ÊÔ
À´Ô´:
ChinaUnix²©¿Í ¡¡ÈÕÆÚ£º
2009.02.09 17:11¡¡(¹²ÓÐ0
ÌõÆÀÂÛ) ÎÒÒªÆÀÂÛ
linux coredumpÅäÖÃÓëµ÷ÊÔ
&nb ......