Linux±à³ÌÔý¼Ç
1.“/bin”¡¢“/sbin”¡¢“/usr/bin”¡¢“/usr/sbin”¡¢“/usr/local/bin”µÈ·¾¶ÒѾÔÚϵͳ»·¾³±äÁ¿ÖÐÁË£¬Èç¹û¿ÉÖ´ÐÐÎļþ ÔÚÕ⼸¸ö±ê׼λÖã¬ÔÚÖÕ¶ËÃüÁîÐÐÊäÈë¸ÃÈí¼þ¿ÉÖ´ÐÐÎļþµÄÎļþÃûºÍ²ÎÊý£¬»Ø³µ¼´¿É¡£
2.Èç¹û²»ÔÚ±ê׼λÖã¬ÎļþÃûÇ°ÃæÐèÒª¼ÓÉÏÍêÕûµÄ·¾¶¡£²»¹ýÿ´Î¶¼ÕâÑùÅܾÍÌ«Âé·³ÁË£¬Ò»¸ö“Ò»ÀÍÓÀÒÝ”µÄ°ì·¨ÊÇ°ÑÕâ¸ö·¾¶¼Ó Èë»·¾³±äÁ¿¡£ÃüÁî “PATH=$PATH:·¾¶”¿ÉÒÔ°ÑÕâ¸ö·¾¶¼ÓÈë»·¾³±äÁ¿£¬µ«ÊÇÍ˳öÕâ¸öÃüÁîÐоÍʧЧÁË¡£ÒªÏëÓÀ¾ÃÉúЧ£¬ÐèÒª°Ñ ÕâÐÐÌí¼Óµ½»·¾³±äÁ¿ÎļþÀï.“/etc/profile”¶Ô ϵͳÀïËùÓÐÓû§¶¼ÓÐЧ£¬Óû§Ö÷Ŀ¼Ïµē.bash_profile”Ö»¶ÔÕâ¸öÓû§ ÓÐЧ
3.°²×°ÔÂë³ÌÐòʱ£¬¶¼ÒªÖ´ÐÐÈý²½£º
1./configure ÓÃÀ´¼ì²âÄãµÄ°²×°Æ½Ì¨µÄÄ¿±êÌØÕ÷
2 make ´ÓMakefileÖжÁÈ¡Ö¸Áî,±àÒ빤³Ì
3 make install ´ÓMakefileÖжÁÈ¡Ö¸Áî°²×°µ½Ö¸¶¨µÄλÖÃ
4.SourceÃüÁîÒ²³ÆΪ“µãÃüÁ¬Ò²¾ÍÊÇÒ»¸öµã·ûºÅ£¨.£©¡£sourceÃüÁîͨ³£ÓÃÓÚÖØÐÂÖ´ÐÐ¸Õ Ð޸ĵijõʼ»¯Îļþ£¬Ê¹Ö®Á¢¼´ÉúЧ£¬¶ø²»±Ø×¢Ïú²¢ÖØеǼ¡£
Ó÷¨£ºsource filename »ò . filename
5.ÔÚlinuxÎļþÖÐ
.soΪ¹²Ïí¿â
.aΪ¾²Ì¬¿â
.laΪlibtool×Ô¶¯Éú³ÉµÄһЩ¹²Ïí¿â
¾²Ì¬¿âµÄ´úÂëÔÚ±àÒëʱ¾ÍÒÑÁ¬½Óµ½¿ª·¢ÈËÔ±¿ª·¢µÄÓ¦ÓóÌÐòÖУ¬¶ø¹²Ïí¿âÖ»ÊÇÔÚ³ÌÐò¿ªÊ¼ÔËÐÐʱ²ÅÔØÈ룬ÔÚ±àÒëʱ£¬Ö»ÊǼòµ¥µØÖ¸¶¨ÐèҪʹÓõĿ⺯Êý
6.linuxµÄ¿âÎļþµÄĿ¼Ϊ/lib /usr/lib
°üº¬ÎļþµÄĿ¼Ϊ/usr/include /usr/local/include
7.windows±à¼µÄÎļþµ½linuxÖпÉÄÜÐÐÄ©·û²»Æ¥Å䣬¿ÉÒÔÔÙviÖÐÓÃset fileformat=unix±£´æ
8.ÔÚlinuxÖÐʹÓÃprintf´òӡʱÐèÒª¼Ó»»Ðзû£¬·ñÔòÈÝÒ×±»Ìáʾ·ûÑڸǵô
9.ÔÚlinuxÖÐÈç¹ûʹÓõÄÍ·ÎļþÊÇ¿âµÄÍ·Îļþ£¬±àÒëʱ(gcc»òg++)²»ÐèҪдÉÏÈ¥
ʹÓ÷½·¨£ºÈôÔÚϵͳusr/includeĿ¼ÏÂÔòÓÃ< >°üº¬,È»ºóÔÚmakefileÀïΪ±àÒëÆ÷¼Ó-IÑ¡Ïî
10.¶ÔÓÚlinuxÖÐ.zipµÄÎļþ²ÉÓÃunzip½âѹ;.tar.gzµÄÎļþ²ÉÓÃtar -zxvf ½âѹ£¬²ÉÓÃtar -zcvfѹËõÎļþ¼Ð
Ïà¹ØÎĵµ£º
Service Discovery Protocol(SDP)ÌṩһÖÖÄÜÁ¦£¬ÈÃÓ¦ÓóÌÐòÓз½·¨·¢ÏÖÄÄÖÖ·þÎñ¿ÉÓÃÒÔ¼°ÕâÖÖ·þÎñµÄÌØÐÔ¡£
·þÎñ·¢ÏÖÐÒé(SDP»òBluetooth SDP)ÔÚÀ¶ÑÀÐÒéÕ»ÖжÔÀ¶ÑÀ»·¾³ÖеÄÓ¦ÓóÌÐòÓÐÌØÊâµÄº¬Ò⣬·¢ÏÖÄĸö·þÎñÊÇ¿ÉÓõĺÍÈ·¶¨ÕâЩ¿ÉÓ÷þÎñµÄÌØÕ÷¡£SDP¶¨ÒåÁËbluetooth client·¢ÏÖ¿ÉÓÃbluetooth server·þÎñºÍËüÃǵÄÌØÕ÷µÄ·½·¨¡£ ......
´ÓUbuntu 8.04µ½9.10£¬ÎÒµÄAcer Aspire 4920±¾×ÓµÄýÌå´¥Ãþ¿ØÖƼüʼÖÕ²»ÄÜÕý³£¹¤×÷¡£×î½üÕÒµ½ÁË´ËÎÊÌâµÄ½â¾ö·½·¨£¬¹©Ê¹ÓÃLinux²Ù×÷ϵͳ¼°ÓµÓÐAcer±Ê¼Ç±¾µÄÓû§²Î¿¼¡£ ÔÚUbuntu 9.10Ï£¬ÎÒµÄýÌå¿ØÖƼü±»Ê¶±ðΪÁíÒ»¿éSynaptics´¥Ãþ°å£¬²¢ÇÒËĸö¼ü·Ö±ð±»Ê¶±ðΪÉÏ¡¢Ï¡¢×ó¡¢ÓÒ·Ò³¼ü£¬µ¼ÖÂÎÞ·¨Õý³£¹¤×÷¡£ÐèҪͨ¹ýÐ޸İ´¼üÓ³Éä ......
Å£½ò×ÖµäÖжÔ"kernel"Ò»´ÊµÄ¶¨ÒåÊÇ£º"½ÏÈíµÄ¡¢Í¨³£ÊÇÒ»¸ö¼á¹û¿ÉʳÓõIJ¿·Ö¡£"µ±È»»¹ÓеڶþÖÖ¶¨Ò壺"ij¸ö¶«Î÷ºËÐÄ»òÕß×îÖØÒªµÄ²¿·Ö¡£"¶ÔLinuxÀ´Ëµ£¬ËüµÄKernelÎÞÒÉÊôÓÚµÚ¶þÖÖ½âÊÍ¡£ÈÃÎÒÃÇÀ´¿´¿´Õâ¸öÖØÒªµÄ¶«Î÷ÊÇÈçºÎ¹¤×÷µÄ£¬ÏÈ´ÓÒ»µãÀíÂÛ˵Æð¡£
¹ãÒåµØÀ´Ëµkernel¾ÍÊÇÒ»¸öÈí¼þ£¬ËüÔÚÓ²¼þºÍÔËÐ ......
Red-black Trees (rbtree) in Linux
January 18, 2007
Rob Landley <rob@landley.net>
=============================
red-blackÊ÷ÊÇʲôÑùµÄÊ÷£¬ÎªÊ²Ã´ÐèÒªred-blackÊ÷£¿
------------------------------------------------
red-black tree£¨RBÊ÷£©ÊÇÒ»ÖÖƽºâ¶þ²æÊ÷£¬ËüÖ÷ÒªÓÃÓÚ´æ´¢»òÕß˵ ......