LinuxЧÀÍÆ÷¹ÊÕÏÆÊÎö¼°½â¾öÒªÁì
linuxЧÀÍÆ÷ÊÇÐí¶àÆóÒµºÍСÎÒ˽ÈËÓÃÀ´ÍйÜÍøÕ¾¡¢¿ª·¢Ó¦Óúʹ洢Êý¾ÝµÄÊ×ѡϵͳ¡£¿ÉÊÇ£¬×ÝÈ»ÊÇ×îÎȹ̵ÄlinuxЧÀÍÆ÷Ò²¿ÉÄÜ·ºÆð¹ÊÕÏ¡£ÔÚÕâƪÎÄÕÂÖУ¬ÎÒÃǽ«Ì½ÌÖ³£¼ûµÄlinuxЧÀÍÆ÷¹ÊÕÏÅŲéÒªÁìÒÔ¼°ÏìÓ¦µÄ½â¾ö¼Æ»®£¬×ÊÖú¶ÁÕ߸üºÃµØ½â¾öºÍÔ¤·ÀÕâЩÎÊÌâ¡£
Ò»¡¢Ð§ÀÍÆ÷ÎÞ·¨Æô¶¯
µ±ÄãÎÞ·¨Í¨¹ýÔ¶³ÌÖն˻òÎïÀí¿ØÖÆ̨»á¼ûЧÀÍÆ÷ʱ£¬¿ÉÄÜÊÇÓÉÓÚЧÀÍÆ÷ÎÞ·¨Æô¶¯Ôì³ÉµÄ¡£ÕâÖÖÇéÐÎÏ£¬Äã¿ÉÒÔʵÑéÒÔϼ¸ÖÖÒªÁ죺
¼ì²éµçÔ´ÅþÁ¬ºÍ¹©µçÇéÐΣ¬È·±£Ð§ÀÍÆ÷ÓÐ×ã¹»µÄµçÁ¦¹©Ó¦¡£
¼ì²éЧÀÍÆ÷Ó²¼þ×é¼þ£¬ÈçÄÚ´æÌõºÍÓ²ÅÌ£¬È·±£ËüÃÇûÓÐËɶ¯»òË𻵡£
Éó²éЧÀÍÆ÷Æô¶¯ÈÕÖ¾£¬ÒÔ±ãÏàʶÊÇ·ñ±£´æÖ¸µ¼ÎÊÌâ¡£¿ÉÒÔʹÓÃÏÂÁîdmesg»òÉó²é/var/log/messagesÎļþ¡£
ÈôÒÔÉÏÒªÁìÎÞ·¨½â¾öÎÊÌ⣬¿ÉÄÜÐèÒª½øÒ»²½¼ì²éºÍÆÊÎö¡£¿ÉÒÔʹÓÃÕï¶Ï¹¤¾ß£¬Èçmemtest86À´¼ì²éÄڴ棬²¢Ê¹ÓÃÓ²Å̼ì²â¹¤¾ß£¬ÈçsmartctlÀ´¼ì²éÓ²ÅÌÊÇ·ñ±£´æÎÊÌâ¡£
¶þ¡¢ÍøÂçÅþÁ¬ÎÊÌâ
µ±ÄãÎÞ·¨Í¨¹ýÍøÂçÅþÁ¬µ½Ð§ÀÍÆ÷ʱ£¬¿ÉÄÜÊÇÓÉÓÚÍøÂçÉèÖûòÉèÖÃÎÊÌâÒýÆðµÄ¡£ÒÔÏÂÊÇ´¦ÀíÍøÂçÅþÁ¬ÎÊÌâµÄһЩ½¨Ò飺
¼ì²éÍøÂçÅþÁ¬£ºÈ·±£Ð§ÀÍÆ÷ÓëÍøÂç½»Á÷»ú»ò·ÓÉÆ÷׼ȷÅþÁ¬£¬²¢ÇÒÍøÂçÏßÀÂûÓÐË𻵡£
ÑéÖ¤IPµØµãºÍ×ÓÍøÑÚÂ룺ȷ±£Ð§ÀÍÆ÷µÄIPµØµãºÍ×ÓÍøÑÚÂë׼ȷÉèÖã¬ÓëÍøÂçÇéÐÎÒ»Ö¡£
¼ì²éÍøÂçÉèÖÃÎļþ£ºÉó²é/etc/network/interfacesÎļþ»òʹÓÃÍøÂçÖÎÀí¹¤¾ß£¬Èçnmtui£¬È·±£ÍøÂçÉèÖÃ׼ȷ¡£
ÈôÍøÂçÅþÁ¬ÎÊÌâÈÔÈ»±£´æ£¬¿ÉÄÜÐèÒª¼ì²éÍøÂç×°±¸£¬Èç·ÓÉÆ÷»ò½»Á÷»úµÄÉèÖ㬲¢Ê¹ÓÃÍøÂçÆÊÎö¹¤¾ß£¬Èçtcpdump»òwiresharkÀ´ÆÊÎöÍøÂçÊý¾Ý°ü¡£
Èý¡¢Ð§ÀÍÎÞ·¨Õý³£ÊÂÇé
ÕâÊÇÒ»¸ö³£¼ûµÄÎÊÌ⣬¿ÉÄÜÊÇÓÉÓÚÈí¼þÉèÖùýʧ¡¢Èí¼þ°æ±¾²»¼æÈÝ»ò×ÊÔ´ºÄ¾¡ÒýÆðµÄ¡£ÒÔÏÂÊÇһЩ½¨ÒéµÄ½â¾öÒªÁ죺
¼ì²éЧÀÍÔËÐÐ״̬£ºÊ¹ÓÃÏÂÁîsystemctl status ¼ì²éЧÀÍÊÇ·ñÕýÔÚÔËÐУ¬¶ø²»ÊÇ×èÖ¹¡£
¼ì²éÉèÖÃÎļþ£ºÈ·±£Ð§À͵ÄÉèÖÃÎļþûÓйýʧ£¬²¢ÇÒÓëЧÀÍÆ÷ÇéÐμæÈÝ¡£
¼ì²éÈÕÖ¾Îļþ£ºÉó²éЧÀ͵ÄÈÕÖ¾Îļþ£¬Èç/var/log/ .log£¬ÒÔ±ãÏàʶЧÀÍÊÇ·ñÓöµ½¹ýʧ¡£
ÈôÊÇЧÀÍÎÞ·¨Õý³£ÊÂÇ飬¿ÉÄÜÐèÒª¸üÐÂÈí¼þ°æ±¾¡¢µ÷½âЧÀÍÆ÷×ÊÔ´·ÖÅÉ»òÖØÐÂÉèÖÃЧÀÍ£¬²¢²éÕÒÌض¨Ð§À͵ĹýʧÈÕÖ¾À´¶¨Î»Ï¢Õù¾öÎÊÌâ¡£
ËÄ¡¢Çå¾²ÎÊÌâ
ЧÀÍÆ÷Çå¾²ÎÊÌâ¿ÉÄܵ¼ÖÂÊý¾Ý鶻òϵͳ±»¹¥»÷¡£ÒÔÏÂÊÇ´¦ÀíÇå¾²ÎÊÌâµÄһЩ½¨Ò飺
¸üÐÂϵͳ£ºÊµÊ±¸üÐÂϵͳºÍÈí¼þ£¬ÒÔÌî²¹ÒÑÖªµÄÇå¾²Îó²î¡£
×°Ö÷À»ðǽ£ºÊ¹Ó÷À»ðǽÈí¼þ£¬Èçiptables»òfirewalldÀ´ÏÞÖƶÔЧÀÍÆ÷µÄÈëÕ¾ºÍ³öÕ¾Á÷Á¿¡£
¼à¿ØÈÕÖ¾£º°´ÆÚ¼à¿ØЧÀÍÆ÷µÄÇå¾²ÈÕÖ¾£¬ÒԱ㷢Ã÷Òì³£Ô˶¯¡£
ÈôÊÇ·¢Ã÷Çå¾²Îó²î»ò±»¹¥»÷ÊÂÎñ£¬Ó¦Á¬Ã¦½ÓÄÉÐж¯£¬ÈçÐÞ¸´Îó²î¡¢×èÖ¹¹¥»÷Ô´IP»òÁªÏµÇ徲ר¼Ò¾ÙÐÐÏêϸÆÊÎöºÍÐÞ¸´¡£
×ܽá
¹ØÓÚLinuxЧÀÍÆ÷¹ÊÕÏÅŲ飬¿ÉÒÔ½ÓÄÉһϵÁеÄÒªÁìºÍ²½·¥¡£ÔÚ½â¾öÎÊÌâ֮ǰ£¬Ó¦¸ÃÏÈÏàʶЧÀÍÆ÷µÄ»ù±¾×é³ÉºÍÉèÖ㬲¢Ê¹ÓÃÊʵ±µÄ¹¤¾ßºÍÊÖÒÕÀ´Õï¶ÏÏ¢Õù¾ö¹ÊÕÏ¡£Í¬Ê±£¬»¹Ó¦°´ÆÚ±¸·ÝЧÀÍÆ÷Êý¾ÝÒÔÓ¦¶ÔDZÔÚµÄÊý¾ÝɥʧΣº¦¡£×îÖ÷ÒªµÄÊÇ£¬ÒªËæʱ¹ØעϵͳµÄÇå¾²ÐÔ£¬²¢½ÓÄɲ½·¥À´±£»¤Ð§ÀÍÆ÷ÃâÊܹ¥»÷¡£
ͨ¹ý׼ȷµÄÅŲéÒªÁìºÍÓÐÓõĽâ¾ö¼Æ»®£¬ÎÒÃÇ¿ÉÒÔ¸üºÃµØÖÎÀíºÍά»¤LinuxЧÀÍÆ÷£¬È·±£Æä¸ßЧÔËÐУ¬ÎªÓû§ÌṩÎȹ̿ɿ¿µÄЧÀÍ¡£
ÒÔÉϾÍÊÇLinuxЧÀÍÆ÷¹ÊÕÏÆÊÎö¼°½â¾öÒªÁìµÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡