æºõÁËÒ»Ìì¡£°ÑÅÀ³æ·ÖÎöÍêÈ«×Ô¶¯»¯µÄϵͳ´î½¨ÁËÆðÀ´¡£ÒÔºóÿÌìÅÀ³æµÄÊý¾Ý×Ô¶¯·¢µ½ÓÊÏäÖС£Ð§¹ûÈçÏ£¨Êý¾ÝΪ²âÊÔÊý¾Ý£¬²»¾ßÓÐÈκβο¼ÐÔ¡££©
´óÖÂÁ÷³Ì£º£¨¾ùΪlinuxϵͳ£©
1.¸ù¾Ýua£¨Õâ±ß¼ÙÉèΪ°Ù¶È£©£¬½«ÈÕÖ¾ÖеÄÅÀ³æÈÕÖ¾µ¥¶À²ð·Öµ½baidu.log£¨Ö»´æµ±ÌìµÄ£¬½ÚÔ¼Ö÷·þÎñÆ÷µÄ¿Õ¼ä£©
2.½«baidu.logͬ²½µ½ÁíÍâÈÕÖ¾·ÖÎö·þÎñÆ÷ÉÏ£¬Í¨¹ýsftpÏÂÔØ
3.¸ù¾ÝÈÕÆÚÖØÃüÃûΪ{date}.log
4.²ð·Ö³ö¸÷ÖÖÊý¾Ý£¬Êä³öµ½Êý¾ÝÎļþ
5.´ÓÊý¾ÝÎļþÖжÁÈ¡Ç°XÐУ¬Éú³Éhtml´úÂë
6.ͨ¹ýformail·¢Ë͵½Ö¸¶¨ÊÕ¼þÈË¡£
һЩעÒâµã
1.sftpÔ¶³ÌµÇ½µÄʱºòÐèÒª½»»¥ÃÜÂ룬Óùýssh-keygenÉú³É¹«Ô¿scpÉÏ´«µ½Ô¶³Ì·þÎñÆ÷¶ËµÄ¾Í¿ÉÒÔÌø¹ýÕâ¸ö²½Öè¡£
2.·ÖÎöÊý¾ÝµÄʱºò×¢ÒâЧÂÊÎÊÌâ¡£¶àʹÓÃÊý×éºÍÁÙʱÎļþ£¬ÓÈÆäÊÇÈÕÖ¾Á¿ºÜ´óµÄʱºò£¨±ÈÈç·ÖÎö200£¬301£¬302£¬404µÈÊýÁ¿µÄʱºò£©
3.ͨ¹ýfindÃüÁîµÄ-ctime²ÎÊý¿ÉÒÔ¿ìËÙÕÒ³öxÌìÇ°»òÕßxÌìÄÚµÄÎļþ£¬±ãÓÚÕûÀíºÍ·ÖÎö¡£ÀýÈç·ÖÎö7ÌìÄÚµÄÊý¾Ý£¨Öܱ¨£©£¬»òÕßÇåÀí30ÌìÇ°µÄÈÕÖ¾£¨½ÚÔ¼´ÅÅ̿ռ䣩
4.ÎÒдµÄ½Å±¾»ù±¾Ã»¿¼ÂÇÈÝ´í£¬ËùÒÔ¾³£Ã°³öÀ´Ò»Ð©Ð¡ÎÊÌ⣬ÐèÒª²»¶ÏµÄµ÷ÊԸĽø¡£
5.formailµÄcharsetÉèÖÃΪutf-8£¬¾Í¿ÉÒÔ·¢ËÍÖÐÎĵÄÓʼþÁË¡£
6.ͨ¹ýedÃüÁî¿ÉÒÔÔÚÐÐÊײåÈëÎı¾¡£¾ßÌå×ö·¨ £¨echo '0a';echo 'TEXT';echo '.';echo 'wq'£© | ed -s FILENAME ÕâÑùheadÈ¡³öÀ´µÄÊý¾Ý£¬ºóÆÚÄÃÊý¾ÝÔ´ÔÚexcelÖÐ×ö±¨±íµÄʱºò·½±ã¡££¨ÆäËûÔÙÔËÐиötailÒ²¿ÉÒÔ¡£Ð´ÉÏÃæÄǾ仰µÄʱºò¾õµÃ×Ô¼º·¸2ÁË£©
TEXTΪÐèÒª²åÈëµÄÎı¾¡£
FILENAMEΪÐèÒª±»²åÈëµÄÎļþ¡£
£¨ÕâÒ»µã¶¼²»Ð°¶ñ¡£¡££©
±¾ÎĵØÖ·£ºhttp://www.imyexi.com/?p=673
ÍƼöÐÅÏ¢
- ¹¹½¨¸ß¿ÉÓú͵¯ÐÔÉìËõµÄKV´æ´¢ÏµÍ³
- ̸̸ÍøÕ¾¾²Ì¬»¯£¨¶þ£©
- ̸̸ÍøÕ¾¾²Ì¬»¯£¨Ò»£©
- Ðì¹úÏ飺΢²©ÊÇ·ñ»á²ÎÓëÍøÕ¾ÅÅÃû
- ApacheÔÚ±¾µØ½¨Á¢·ºÓòÃûÐéÄâÖ÷»ú¼ò·¨
- ÈçºÎ½øÐÐÍøÕ¾Õï¶Ï ΪÍøÕ¾½øÐÐÆÀ·Ö
- Ò»¸ö³É¹¦µÄÕ¾³¤Ó¦¸Ã¾ß±¸µÄËØÖÊ
- Ò»Ìõ΢²©Òý·¢µÄ·ÖÎö£ºÈçºÎÈÃ΢²©µÃµ½¹ã·º´«²¥
- ÈçºÎÈÃÒ»¸öÍøÕ¾ÓÐÇ¿´óÉúÃüÁ¦
- פ×ãIDCÃż÷³Ö±Ò¹ÛÍû Õ¾³¤Ñ¡¹º¿Õ¼ä³É¡°¼èÄѵľö¶¨¡±£¿
ÈÈÃÅÐÅÏ¢
- nohup: redirecting stderr to stdou....
- ʹÓÃlog_formatΪNginx·þÎñÆ÷ÉèÖøüÏêϸµÄÈÕÖ¾¸ñʽ
- jquery easyUI--dataGrid-Json
- [Ô´´]·ÂGoogle Reader¡¢ÐÂÀË΢²©¡¢ÌÚѶ΢²©µ....
- ÀûÓÃKeepalived+mysql¹¹½¨¸ß¿ÉÓÃMySQLË«Ö÷×Ô¶....
- Nginx+keepalivedʵÏÖ¸ºÔؾùºâºÍË«»úÈȱ¸¸ß¿ÉÓÃ
- jqueryʵÏÖÒ³Ãæ¼ÓÔؽø¶ÈÌõ
- Rolling cURL: PHP²¢·¢×î¼Ñʵ¼ù
- codeigniter ·ÓÉÖÕ¼«ÓÅ»¯(url rewrite)
- linuxÏÂÉèÖÃsshÎÞÃÜÂëµÇ¼
ÆÀÂÛ