linuxÄÚºËÖÐÖжϲ»ÄÜ˯ÃßµÄÔÒò[zt]
ÏÈ°ÑÖжϴ¦ÀíÁ÷³Ì¸ø³öÀ´
1.½øÈëÖжϴ¦Àí³ÌÐò--->2.±£´æ¹Ø¼üÉÏÏÂÎÄ---->3.¿ªÖжϣ¨stiÖ¸Á--->4.½øÈëÖжϴ¦Àí³ÌÐòµÄhandler--->5.¹ØÖжϣ¨cliÖ¸Á---->6.дEOI¼Ä´æÆ÷£¨±íʾÖжϴ¦ÀíÍê³É£©---->7.¿ªÖжϡ£
Ó²Öжϣº
¶ÔÓ¦ÓÚÉÏͼµÄ1¡¢2¡¢3²½Ö裬ÔÚÕ⼸¸ö²½ÖèÖУ¬ËùÓÐÖжÏÊDZ»ÆÁ±ÎµÄ£¬Èç¹ûÔÚÕâ¸öʱºò˯ÃßÁË£¬²Ù×÷ϵͳ²»»áÊÕµ½ÈκÎÖжϣ¨°üÀ¨Ê±ÖÓÖжϣ©£¬ÏµÍ³¾Í»ù±¾´¦ÓÚ̱»¾×´Ì¬£¨ÀýÈçµ÷¶ÈÆ÷ÒÀÀµµÄʱÖÓ½ÚÅÄûÓеȵÈ......£©
ÈíÖжϣº
¶ÔÓ¦ÉÏͼµÄ4£¨µ±È»£¬×¼È·µÄ˵Ӧ¸ÃÊÇ4²½ÖèµÄºóÃæÒ»µã£©¡£Õâ¸öʱºò²»ÄÜ˯ÃߵĹؼüÊÇÒòΪÉÏÏÂÎÄ¡£
´ó¼ÒÖªµÀ²Ù×÷ϵͳÒÔ½ø³Ìµ÷¶ÈΪµ¥Î»£¬½ø³ÌµÄÔËÐÐÔÚ½ø³ÌµÄÉÏÏÂÎÄÖУ¬ÒÔ½ø³ÌÃèÊö·û×÷Ϊ¹ÜÀíµÄÊý¾Ý½á¹¹¡£½ø³Ì¿ÉÒÔ˯ÃßµÄÔÒòÊDzÙ×÷ϵͳ¿ÉÒÔÇл»²»Í¬½ø³ÌµÄÉÏÏÂÎÄ£¬½øÐе÷¶È²Ù×÷£¬ÕâЩ²Ù×÷¶¼ÒÔ½ø³ÌÃèÊö·ûΪ֧³Ö¡£
ÖжÏÔËÐÐÔÚÖжÏÉÏÏÂÎÄ£¬Ã»ÓÐÒ»¸öËùνµÄÖжÏÃèÊö·ûÀ´ÃèÊöËü£¬Ëü²»ÊDzÙ×÷ϵͳµ÷¶ÈµÄµ¥Î»¡£Ò»µ©ÔÚÖжÏÉÏÏÂÎÄÖÐ˯Ãߣ¬Ê×ÏÈÎÞ·¨Çл»ÉÏÏÂÎÄ£¨ÒòΪûÓÐÖжÏÃèÊö·û£¬µ±Ç°ÉÏÏÂÎĵÄ״̬µÃ²»µ½±£´æ£©£¬Æä´Î£¬Ã»ÓÐÈËÀ´»½ÐÑËü£¬ÒòΪËü²»ÊDzÙ×÷ϵͳµÄµ÷¶Èµ¥Î»¡£
´ËÍ⣬Öжϵķ¢ÉúÊǷdz£·Ç³£Æµ·±µÄ£¬ÔÚÒ»¸öÖжÏ˯ÃßÆڼ䣬ÆäËüÖжϷ¢Éú²¢Ë¯ÃßÁË£¬ÄǺÜÈÝÒ×¾ÍÔì³ÉÖжÏÕ»Òç³öµ¼ÖÂϵͳ±ÀÀ£¡£
Èç¹ûÉÏÊöÌõ¼þÂú×ãÁË£¨Ò²¾ÍÊÇÓÐÖжÏÃèÊö·û£¬²¢³ÉΪµ÷¶ÈÆ÷µÄµ÷¶Èµ¥Î»£¬Õ»Ò²²»Òç³öÁË£¬ÀíÂÛÉÏÊÇ¿ÉÒÔ×öµ½ÖжÏ˯Ãߵģ©£¬ÖжÏÊÇ¿ÉÒÔ˯Ãߵģ¬µ«»áÒýÆðºÜ¶àÎÊÌâ.ÀýÈ磬ÄãÔÚʱÖÓÖжÏÖÐ˯ÃßÁË£¬ÄDzÙ×÷ϵͳµÄʱÖÓ¾ÍÂÒÁË£¬µ÷¶ÈÆ÷ҲʧȥÁËÒÀ¾Ý£»ÀýÈ磬ÄãÔÚÒ»¸öIPI£¨´¦ÀíÆ÷¼äÖжϣ©ÖУ¬ÆäËüCPU¶¼ÔÚËÀÑ»·µÈÄã´ð¸´£¬Äãȷ˯ÃßÁË£¬ÄÇÆäËü´¦ÀíÆ÷Ò²²»¹¤×÷ÁË£»ÀýÈ磬ÄãÔÚÒ»¸öDMAÖжÏÖÐ˯ÃßÁË£¬ÉÏÃæµÄ½ø³Ì»¹ÔÚͬ²½µÄµÈ´ýI/OµÄÍê³É£¬ÐÔÄܾʹó´ó½µµÍÁË......»¹¿ÉÒÔ¾Ù³öºÜ¶àÀý×Ó¡£ËùÒÔ£¬ÖжÏÊÇÒ»ÖÖ½ô¼±ÊÂÎñ£¬ÐèÒª²Ù×÷ϵͳÁ¢¼´´¦Àí£¬²»ÊDz»ÄÜ×öµ½Ë¯Ãߣ¬ÊÇËüûÓÐÀíÓÉ˯Ãß¡£
Ïà¹ØÎĵµ£º
1.°²×°MySQL£¨ÂÔ£©
2.Æô¶¯¶à¸öMySQL·þÎñÆ÷
ҪʵÏÖÔÚµ¥»úÉÏÆô¶¯¶à¸öMySQL·þÎñÆ÷£¬ÓÐÁ½ÖÖ·½·¨£¬Ò»ÖÖÊÇÖ±½ÓʹÓÃmysqld_safeÀ´ÔËÐжà¸ö·þÎñÆ÷
µ±È»ÕâÑù·Ö±ð±à¼ÅäÖÃÎļþ£¬¶øÇҹرշþÎñÆ÷µÄʱºòÒ²Òª¶ÁÈ¡ÅäÖÃÎļþ£¬ËùÒԱȽÏÂé·³£¬ÁíÒ»ÖÖ·½·¨ÊÇʹÓÃ
MySQLÌṩµ½¹¤¾ßmysqld_multi½Å±¾À´¹ÜÀí¶à¸ö·þÎñÆ÷£¬ÏÂÃæ ......
ÏñʹÓÃWindowsʱÄÇôֱ¹Û¡£ÆäʵÔÚLinuxÏ°²×°ºÍжÔØÈí¼þÒ²·Ç³£¼òµ¥£¬Í¬ÑùÒ²Óа²×°Ïò
µ¼»ò½âѹ°²×°µÄ·½Ê½£¬²»ÏàͬµÄÖ»²»¹ýÊdzýÁ˶þ½øÖÆÐÎʽµÄÈí¼þ·Ö·¢Í⣬»¹ÓÐÐíÐí¶à¶àÒÔ
Ô´´úÂëÐÎʽ·Ö·¢µÄÈí¼þ°ü£¬ÏÂÃæ¾ÍÀ´ÏêϸµØ½²Ò»½²ÕâЩÈí¼þµÄ°²×°ÓëжÔØ£º Ò»¡¢¶þ½øÖÆ·Ö·¢Èí¼þ°üµÄ°²×°ÓëжÔØ
LinuxÈí¼þµÄ¶þ½øÖÆ ......
×î½üÐéÄâ»ú×°Á˸öRedHat Enterprise Server 5£¬ÓùßÁËUbuntu£¬¾õµÃ²»Ì«ÊÊÓ¦¡£
µ±ÔÚÖÕ¶ËÖ´ÐÐsudoÃüÁîʱ£¬ÏµÍ³Ìáʾ“cuser is not in the sudoers file”£º
$ sudo ls
Password:
cuser is not in the sudoers file. This incident will be reported.
Æäʵ¾ÍÊÇûÓÐȨÏÞ½øÐÐsudo£¬½â¾ö·½·¨ÈçÏ£¨ÕâÀï¼ÙÉèÓ ......
×î½üÏëÔÚ·þÎñÆ÷ÉÏÊÔÊÔMySQL5.1µÄ·ÖÇø£¬ÓÚÊǾÍÏë×Å×°¸öMySQL5.1£¬¾¹ýÍ´¿àµÄÒ»¶Î¾Àúºó£¬ÖÕÓÚÕÒ¸öÏÂÃæ×°¸öºÜºÃµÄ½Ì³Ì£¬ÌûÉÏÀ´±¸Íü¡£
1¡¢MySQLÃâ°²×°°æ/¶þ½øÖÆ°æÈí¼þ£¬²»ÓñàÒ룬ÏÂÔصØÖ·£º
http://dev.mysql.com/downloads/
Îļþ¸ñʽ£ºMYSQL-VERSION-OS.tar.gz
2¡ ......
Õª×Ô£ºhttp://blog.chinaunix.net/u3/105005/showart.php?id=2076571
Linuxϲ鿴ÎļþºÍÎļþ¼Ð´óСµÄdfºÍduÃüÁî
df du
µ±´ÅÅÌ´óС³¬¹ý±ê׼ʱ»áÓб¨¾¯Ìáʾ£¬ÕâʱÈç¹ûÕÆÎÕdfºÍduÃüÁîÊǷdz£Ã÷ÖǵÄÑ¡Ôñ¡£
df¿ÉÒԲ鿴һ¼¶Îļþ¼Ð´óС¡¢Ê¹ÓñÈÀý¡¢µµ° ......