ÔõÑùÔÚ÷è÷ë²Ù×÷ϵͳÉϾÙÐÐϵͳ»Ö¸´ºÍ¹ÊÕÏÅŲ飿
ÔõÑùÔÚ÷è÷ë²Ù×÷ϵͳÉϾÙÐÐϵͳ»Ö¸´ºÍ¹ÊÕÏÅŲ飿
÷è÷ë²Ù×÷ϵͳÊÇÒ»¿î¹ú²úµÄ¿ªÔ´²Ù×÷ϵͳ£¬Ëü»ùÓÚLinuxÄںˣ¬¾ßÓÐÎȹÌÐÔºÍÇå¾²ÐԸߵÄÌص㡣ÔÚÒ»Ñùƽ³£Ê¹ÓÃÖУ¬ÓÐʱÎÒÃÇ¿ÉÄÜ»áÓöµ½ÏµÍ³¹ÊÕÏ»òÕßÐèÒª¾ÙÐÐϵͳ»Ö¸´µÄÇéÐΡ£±¾ÎĽ«ÏÈÈÝÔõÑùÔÚ÷è÷ë²Ù×÷ϵͳÉϾÙÐÐϵͳ»Ö¸´ºÍ¹ÊÕÏÅŲéµÄÒªÁ죬²¢¸½ÉÏÏìÓ¦µÄ´úÂëʾÀý¡£
Ò»¡¢ÏµÍ³»Ö¸´
ʹÓñ¸·Ý»Ö¸´ÏµÍ³
ÔÚ÷è÷ë²Ù×÷ϵͳÖУ¬¿ÉÒÔʹÓñ¸·ÝÎļþ¾ÙÐÐϵͳ»Ö¸´¡£Ê×ÏÈ£¬ÐèҪѡÔñºÏÊʵı¸·Ý¹¤¾ß£¬ÀýÈçrsync¡¢tarµÈ¡£½ÓÏÂÀ´£¬Ê¹ÓÃÏìÓ¦µÄÏÂÁ±¸·ÝÎļþ»Ö¸´µ½ÏµÍ³ÖС£
ʹÓùâÅÌ»òUÅ̾ÙÐÐϵͳ»Ö¸´
ÈôÊÇϵͳÎÞ·¨Æô¶¯»òÕßÑÏÖØÊÜË𣬿ÉÒÔʹÓÃ×°ÖùâÅÌ»òÕßUÅ̾ÙÐÐϵͳ»Ö¸´¡£Ê×ÏÈ£¬ÐèÒªÏÂÔØ»òÖÆ×÷Ò»·Ý÷è÷ë²Ù×÷ϵͳµÄ×°ÖùâÅÌ»òUÅÌ¡£È»ºó£¬½«¹âÅÌ»òUÅ̲åÈëÅÌËã»úºóÆô¶¯£¬Æ¾Ö¤ÌáÐѾÙÐÐϵͳ»Ö¸´²Ù×÷¡£
µã»÷ÏÂÔØ¡°àËÃûÌÃÊý¾Ý»Ö¸´¾Þ½³¡±£»
¶þ¡¢¹ÊÕÏÅŲé
Éó²éϵͳÈÕÖ¾
ϵͳÈÕÖ¾ÊǼͼϵͳÔËÐÐ״̬ºÍ¹ýʧÐÅÏ¢µÄµØ·½¡£¿ÉÒÔʹÓÃÒÔÏÂÏÂÁîÉó²éϵͳÈÕÖ¾£º
$ dmesg //Éó²éϵͳÆô¶¯ÐÅÏ¢ $ sudo journalctl -p err //Éó²é¹ýʧÈÕÖ¾
µÇ¼ºó¸´ÖÆ
¼ì²éÓ²¼þÎÊÌâ
Ó²¼þÎÊÌâÊǵ¼ÖÂϵͳ¹ÊÕϵij£¼ûÔµ¹ÊÔÓÉÖ®Ò»¡£¿ÉÒÔʹÓÃÒÔÏÂÏÂÁî¼ì²éÓ²¼þÎÊÌ⣺
$ sudo lshw //Éó²éÓ²¼þÐÅÏ¢ $ sudo dmidecode //Éó²éÖ÷°åÐÅÏ¢
µÇ¼ºó¸´ÖÆ
¼ì²éÍøÂçÅþÁ¬
ÍøÂçÅþÁ¬ÎÊÌâ»áµ¼ÖÂϵͳÎÞ·¨Õý³£ÊÂÇé¡£¿ÉÒÔʹÓÃÒÔÏÂÏÂÁî¼ì²éÍøÂçÅþÁ¬£º
$ ifconfig //Éó²éÍøÂç½Ó¿ÚÐÅÏ¢ $ ping www.example.com //²âÊÔÍøÂçÁ¬Í¨ÐÔ
µÇ¼ºó¸´ÖÆ
Éó²éÀú³ÌºÍЧÀÍ״̬
Àú³ÌºÍЧÀ͵ÄÒì³£»òÕß¹ýʧ»áµ¼ÖÂϵͳ²»Îȹ̡£¿ÉÒÔʹÓÃÒÔÏÂÏÂÁîÉó²éÀú³ÌºÍЧÀÍ״̬£º
$ ps -ef //Éó²éÄ¿½ñÔËÐеÄÀú³Ì $ systemctl status service-name //Éó²éÌض¨Ð§À͵Ä״̬
µÇ¼ºó¸´ÖÆ
È·ÈÏÎļþϵͳÊÇ·ñÍêÕû
ÎļþϵͳµÄË𻵻ᵼÖÂϵͳ¹ÊÕÏ¡£¿ÉÒÔʹÓÃÒÔÏÂÏÂÁîÈ·ÈÏÎļþϵͳÊÇ·ñÍêÕû£º
$ df -h //Éó²é´ÅÅÌ¿Õ¼äʹÓÃÇéÐÎ $ sudo fsck /dev/sda1 //¼ì²éÌض¨·ÖÇøµÄÎļþϵͳ
µÇ¼ºó¸´ÖÆ
ͨ¹ýÒÔÉϹÊÕÏÅŲéÒªÁ죬¿ÉÒÔ×ÊÖúÎÒÃǶ¨Î»Ï¢Õù¾öϵͳ¹ÊÕÏ¡£ËäÈ»£¬ÔÚÏÖʵ²Ù×÷ÖУ¬ÏêϸµÄ¹ÊÕÏÅŲéÒªÁì¿ÉÄÜÒòÏêϸÇéÐζøÓÐËù²î±ð£¬ÐèҪƾ֤ÏÖʵÎÊÌâ¾ÙÐÐÏìÓ¦µÄµ÷½âºÍ´¦Àí¡£
×ܽ᣺
±¾ÎÄÏÈÈÝÁËÔÚ÷è÷ë²Ù×÷ϵͳÉϾÙÐÐϵͳ»Ö¸´ºÍ¹ÊÕÏÅŲéµÄÒªÁ졣ϵͳ»Ö¸´¿ÉÒÔͨ¹ý±¸·Ý»Ö¸´»òʹÓùâÅÌ¡¢UÅ̾ÙÐлָ´¡£¹ÊÕÏÅŲé¿ÉÒÔͨ¹ýÉó²éϵͳÈÕÖ¾¡¢¼ì²éÓ²¼þÎÊÌâ¡¢¼ì²éÍøÂçÅþÁ¬¡¢Éó²éÀú³ÌºÍЧÀÍ״̬ÒÔ¼°È·ÈÏÎļþϵͳÊÇ·ñÍêÕûÀ´¾ÙÐС£Ï£Íû±¾ÎÄÄÜ×ÊÖú¶ÁÕ߸üºÃµØ´¦Àí÷è÷ë²Ù×÷ϵͳµÄ¹ÊÕϺͻָ´·½ÃæµÄÎÊÌâ¡£
´úÂëʾÀýÔÚÏêϸ¹ÊÕÏÅŲéÀú³ÌÖлáÓÐËù²î±ð£¬ÕâÀïÎÞ·¨ÌṩͳһµÄ´úÂëʾÀý¡£¶ÁÕß¿ÉÒÔƾ֤ÏêϸÐèÒª£¬ÔÚÏÖʵ²Ù×÷ÖÐʹÓÃÊʵ±µÄÏÂÁîºÍ¹¤¾ß¾ÙÐйÊÕÏÅŲéºÍϵͳ»Ö¸´¡£
ÒÔÉϾÍÊÇÔõÑùÔÚ÷è÷ë²Ù×÷ϵͳÉϾÙÐÐϵͳ»Ö¸´ºÍ¹ÊÕÏÅŲ飿µÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡