Linux configureÏêϸÅäÖÃ
Linux»·¾³ÏµÄÈí¼þ°²×°£¬²¢²»ÊÇÒ»¼þÈÝÒ×µÄÊÂÇ飻Èç¹ûͨ¹ýÔ´´úÂë±àÒëºóÔÚ°²×°£¬µ±È»ÊÂÇé¾Í¸üΪ¸´ÔÓһЩ£»ÏÖÔÚ°²×°¸÷ÖÖÈí¼þµÄ½Ì³Ì¶¼·Ç³£Æձ飻µ«Íò±ä²»
ÀëÆäÖУ¬¶Ô»ù´¡ÖªÊ¶µÄÔúʵÕÆÎÕ£¬°²×°¸÷ÖÖÈí¼þµÄÎÊÌâ¾ÍÓÈжø½âÁË¡£Configure½Å±¾ÅäÖù¤¾ß¾ÍÊÇ»ù´¡Ö®Ò»£¬ËüÊÇautoconfµÄ¹¤¾ßµÄ»ù±¾Ó¦Óá£
¡¡¡¡
¡¡¡¡ÓëһЩ¼¼ÇÉÏà±È£¬ConfigureÏԵûù´¡Ò»Ð©£¬µ±È»Ê¹ÓúÍѧϰÆðÀ´¾ÍÏԵÿÝÔ﷦ζһЩ£¬µ±È»Òª³ÉΪ¸ßÊÖ£¬¶Ô»ù´¡µÄÊìϤ²»Äܳ¬Ô½Å¶¡£
¡¡¡¡
¡¡¡¡Îª´ËÎÒתÔØÁËһƪ¹ØÓÚConfigureÑ¡ÏîÅäÖõÄÏêϸ½éÉÜ¡£¹©´ó¼Ò²Î¿¼
¡¡
¡¡'configure'½Å±¾ÓдóÁ¿µÄÃüÁîÐÐÑ¡Ïî.¶Ô²»Í¬µÄÈí¼þ°üÀ´Ëµ,ÕâЩѡÏî¿ÉÄÜ»áÓб仯,µ«ÊÇÐí¶à»ù±¾µÄÑ¡ÏîÊDz»»á¸Ä±äµÄ.´øÉÏ'--help'Ñ¡
ÏîÖ´ÐÐ'configure'½Å±¾¿ÉÒÔ¿´µ½¿ÉÓõÄËùÓÐÑ¡Ïî.¾¡¹ÜÐí¶àÑ¡ÏîÊǺÜÉÙÓõ½µÄ,µ«Êǵ±ÄãΪÁËÌØÊâµÄÐèÇó¶øconfigureÒ»¸ö°üʱ,ÖªµÀËûÃǵÄ
´æÔÚÊǺÜÓÐÒæ´¦µÄ.ÏÂÃæ¶Ôÿһ¸öÑ¡Ïî½øÐмòÂԵĽéÉÜ:
--cache-file=FILE
¡¡¡¡'configure'»áÔÚÄãµÄϵ
ͳÉϲâÊÔ´æÔÚµÄÌØÐÔ(»òÕßbug!).ΪÁ˼ÓËÙËæºó½øÐеÄÅäÖÃ,²âÊԵĽá¹û»á´æ´¢ÔÚÒ»¸öcache
fileÀï.µ±configureÒ»¸öÿ¸ö×ÓÊ÷ÀﶼÓÐ'configure'½Å±¾µÄ¸´ÔÓµÄÔ´ÂëÊ÷ʱ,Ò»¸öºÜºÃµÄcache fileµÄ´æÔÚ»áÓкܴó°ïÖú.
--help
¡¡¡¡Êä³ö°ïÖúÐÅÏ¢.¼´Ê¹ÊÇÓоÑéµÄÓû§Ò²Å¼¶ûÐèҪʹÓÃʹÓÃ'--help'Ñ¡Ïî,ÒòΪһ¸ö¸´ÔÓµÄÏîÄ¿»á°üº¬¸½¼ÓµÄÑ¡Ïî.ÀýÈç,GCC°üÀïµÄ'configure'½Å±¾¾Í°üº¬ÁËÔÊÐíÄã¿ØÖÆÊÇ·ñÉú³ÉºÍÔÚGCCÖÐʹÓÃGNU»ã±àÆ÷µÄÑ¡Ïî.
--no-create
¡¡¡¡'configure'ÖеÄÒ»¸öÖ÷Òªº¯Êý»áÖÆ×÷Êä³öÎļþ.´ËÑ¡Ïî×èÖ¹'configure'Éú³ÉÕâ¸öÎļþ.Äã¿ÉÒÔÈÏΪÕâÊÇÒ»ÖÖÑÝÏ°(dry run),¾¡¹Ü»º´æ(cache)ÈÔÈ»±»¸ÄдÁË.
--quiet
--silent
¡¡
¡¡µ±'configure'½øÐÐËûµÄ²âÊÔʱ,»áÊä³ö¼òÒªµÄÐÅÏ¢À´¸æËßÓû§ÕýÔÚ×÷ʲô.ÕâÑù×÷ÊÇÒòΪ'configure'¿ÉÄÜ»á±È½ÏÂý,ûÓÐÕâÖÖÊä³öµÄ»°
Óû§½«»á±»ÈÓÔÚÒ»ÅÔÒÉ»óÕýÔÚ·¢Éúʲô.ʹÓÃÕâÁ½¸öÑ¡ÏîÖеÄÈκÎÒ»¸ö¶¼»á°ÑÄãÈÓµ½Ò»ÅÔ.(Òë×¢:ÕâÁ½¾ä»°±È½ÏÓÐÒâ˼,ÔÎÄÊÇÕâÑùµÄ:If there
was no such output, the user would be left wondering what is happening.
By using this option, you too can be left wondering!)
--version
¡¡¡¡´òÓ¡ÓÃÀ´²úÉú'configure'½Å±¾µÄAutoconfµÄ°æ±¾ºÅ.
--prefix=PEWFIX
¡¡
¡¡'--prefix'ÊÇ×î³£ÓõÄÑ¡Ïî.ÖÆ×÷³öµÄ'Makefile'»á²é¿´Ëæ´ËÑ¡Ïî´«µÝµÄ²ÎÊý,µ±Ò»¸ö°üÔÚ°²×°Ê±¿ÉÒÔ³¹µ×µÄÖØа²ÖÃËûµÄ½á¹¹¶ÀÁ¢²¿·Ö.
¾ÙÒ»¸öÀý×Ó,µ±°²×°Ò»¸ö°ü,ÀýÈç˵Ema
Ïà¹ØÎĵµ£º
Service Discovery Protocol(SDP)ÌṩһÖÖÄÜÁ¦£¬ÈÃÓ¦ÓóÌÐòÓз½·¨·¢ÏÖÄÄÖÖ·þÎñ¿ÉÓÃÒÔ¼°ÕâÖÖ·þÎñµÄÌØÐÔ¡£
·þÎñ·¢ÏÖÐÒé(SDP»òBluetooth SDP)ÔÚÀ¶ÑÀÐÒéÕ»ÖжÔÀ¶ÑÀ»·¾³ÖеÄÓ¦ÓóÌÐòÓÐÌØÊâµÄº¬Ò⣬·¢ÏÖÄĸö·þÎñÊÇ¿ÉÓõĺÍÈ·¶¨ÕâЩ¿ÉÓ÷þÎñµÄÌØÕ÷¡£SDP¶¨ÒåÁËbluetooth client·¢ÏÖ¿ÉÓÃbluetooth server·þÎñºÍËüÃǵÄÌØÕ÷µÄ·½·¨¡£ ......
1
¡¢°²×°Ç°µÄ×¼±¸
1.1
¼ì²éÓ²¼þ
ÎïÀíÄڴ棺
# grep
MemTotal /proc/meminfo
½»»»¿Õ¼ä£º
# grep
SwapTotal /proc/meminfo
½»»»¿Õ¼äµÄ´óСÊǸù¾ÝÎïÀíÄÚ´æµÄ´óСÀ´ÉèÖõģ¬ÎïÀíÄÚ´æÉÙÓÚ
2G
µÄÔò½»»»¿Õ¼äÉèΪÎïÀíÄÚ´æµÄÁ½±¶£¬ÎïÀíÄÚ´æ´óÓÚ
2G
µÄÔò½»»»¿Õ¼äºÍÎïÀíÄÚ´æ´óСһÑù¡£Èç¹û²»·ûºÏÉÏÊö¹æ¶¨£¬ÄÇô¾ÍÐèÒª ......
Õë¶ÔÍâóBtoCÕ¾µãÇé¿ö¾Ñé×ܽá
1.ÈÝÒ×ÊÕµ½Í¬ÐеÄCC¹¥»÷»òÕßDDOS¹¥»÷
2.·þÎñÆ÷Ò»°ã·ÅÔÚ¹úÍ⣬ÈÝÒ×±»Í¶Ëß¡£·þÎñÆ÷±»¹Ø»ú£¬µ¼ÖÂÊý¾Ý»Ö¸´À§ÄÑ£¬³¤Ê±¼äÎÞ·¨·ÃÎÊ¡£
3.Ò»°ãʹÓÃվȺ¹ÜÀíÈí¼þ£¬°²È«ÐԲÈÝÒ׳öÏÖ©¶´£¬±»È˹ÒÂí¡£¹ÒÂíºó´¦ÀíÀ§ÄÑ¡£
4.ûÓÐרҵµÄϵͳ¹ÜÀíÔ±£¬Óöµ½ÎÊÌâ²»ÄÜ¿ìËÙ½â¾ö¡£¶ÔÓÚBtoCÀ๫˾À´Ëµ£¬Íø ......
¼òµ¥¼ÇÏ£¬ÅÂ×Ô¼ºÍüÁË
1. gatewayÉèÖÃ
ÅäÖÃÎļþ£º/etc/sysconfig/network
ʾÀý£º
NETWORKING=yes
HOSTNAME=hostname
GATEWAY=xx.xx.xx.xx
²é¿´ÃüÁroute
2. ipµØÖ·ÉèÖÃ
ÅäÖÃÎļþ£º/etc/sysconfig/network-scripts/ifcfg-eth0
ʾÀý£º
BOOTPROTO=static
IPADDR=xx.xx.xx.yy
NETMASK=255.255.255.0
²é¿´ÃüÁ ......
ÎÒÃÇÒ»°ãʹÓÓdate -s”ÃüÁîÀ´ÐÞ¸Äϵͳʱ¼ä¡£±ÈÈ罫ϵͳʱ¼äÉ趨³É2009Äê11ÔÂ13ÈÕµÄÃüÁîÈçÏ¡£
#date -s 11/13/09
½«ÏµÍ³Ê±¼äÉ趨³ÉÏÂÎç1µã12·Ö0ÃëµÄÃüÁîÈçÏ¡£
#date -s 13:12:00
---- ×¢Ò⣬ÕâÀï˵µÄÊÇϵͳʱ¼ä£¬ÊÇlinuxÓɲÙ×÷ϵͳά»¤µÄ¡£
---- ÔÚϵͳÆô¶¯Ê±£¬Linux²Ù×÷ϵͳ½«Ê±¼ä´ÓCMOSÖж ......