Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

linuxÏÂÈí¼þµÄ»ù±¾°²×°ºÍжÔØ

 
LinuxÈí¼þµÄ°²×°ºÍжÔØÒ»Ö±ÊÇÀ§ÈÅÐí¶àÐÂÓû§µÄÄÑÌâ¡£ÔÚWindowsÖУ¬ÎÒÃÇ¿ÉÒÔʹÓÃÈí¼þ×Ô´øµÄ°²×°Ð¶ÔسÌÐò»òÔÚ¿ØÖÆÃæ°åÖеēÌí¼Ó/ɾ³ý³Ì
Ðò”À´ÊµÏÖ¡£ÓëÆäÏàÀàËÆ£¬ÔÚ²»Í¬Linux·¢ÐаæÏÂÒ²Óй¦ÄÜÇ¿´óµÄÈí¼þ°²×°Ð¶Ôع¤¾ß£¨Èí¼þ°ü¹ÜÀíÆ÷£©£¬ÈçRedHat/FedoraϵÁоÍÓÐÃûΪRPMµÄ
¹ÜÀíÆ÷ÒÔ¼°Í¼ÐνçÃæµÄÈí¼þ°ü¹ÜÀíÆ÷¡£Ëü¿ÉÒÔÓÃÀ´½¨Á¢¡¢°²×°¡¢²éѯ¡¢¸üС¢Ð¶ÔØÈí¼þ¡£
Èí¼þµÄ°²×°
LinuxÏÂÈí¼þµÄ°²×°Ö÷ÒªÓÐÁ½ÖÖ²»Í¬µÄÐÎʽ¡£µÚÒ»ÖÖ°²×°ÎļþÃûΪxxx.tar.gzÖ®ÀàµÄѹËõ°ü£»ÁíÒ»ÖÖ°²×°ÎļþÃûΪxxx.rpmµÄ°²×°°ü¡£ÒÔµÚÒ»ÖÖ·½Ê½·¢ÐеÄÈí¼þ¶àΪÒÔÔ´ÂëÐÎʽ·¢Ë͵ģ»µÚ¶þÖÖ·½Ê½ÔòÊÇÖ±½ÓÒÔ¶þ½øÖÆÐÎʽ·¢Ë͵ġ£
¶ÔÓÚµÚÒ»ÖÖ£¬°²×°·½·¨ÈçÏ£º
1 .Ê×ÏÈ£¬½«°²×°Îļþ¿½±´ÖÁÒ»¸ö±àÒëĿ¼ÖС£½¨ÒéÑ¡Ôñ·Åµ½ /usr/srcÏ¡£
#cp xxx.tar.gz /usr/src/
2 .ÓÉÓÚ¸ÃÎļþÊDZ»Ñ¹Ëõ²¢´ò°üµÄ,Ó¦¶ÔÆä½âѹËõ¡£ÃüÁîΪ£º
#tar xvzf filename.tar.gz
Èç¹ûÊÇfilename.tar.bz2¸ñʽµÄ£¬Ó¦¸ÃÓÃÈçÏÂÃüÁîÀ´½âѹ£º
#tar jxvf filename.tar.bz2
3. Ö´ÐиÃÃüÁîºó£¬°²×°Îļþ°´Â·¾¶£¬½âѹËõÔÚµ±Ç°Ä¿Â¼Ï¡£ÓÃlsÃüÁî¿ÉÒÔ¿´µ½½âѹËõºóµÄÎļþ¡£Í¨³£ÔÚ½âѹËõºó²úÉúµÄÎļþÖУ¬ÓÐÃûΪ“INSTALL”»ò“README”µÄÎļþ¡£¸ÃÎļþΪ´¿Îı¾Îļþ£¬Ïêϸ½²ÊöÁ˸ÃÈí¼þ°üµÄ°²×°·½·¨¡£
4.Ö´ÐнâѹËõºó²úÉúµÄÒ»¸öÃûΪconfigureµÄ¿ÉÖ´Ðнű¾³ÌÐò¡£ËüÊÇÓÃÓÚ¼ì²éϵͳÊÇ·ñÓбàÒëʱËùÐèµÄ¿â£¬ÒÔ¼°¿âµÄ°æ±¾ÊÇ·ñÂú×ã±àÒëµÄÐèÒªµÈ°²×°ËùÐèÒªµÄϵͳÐÅÏ¢¡£ÎªËæºóµÄ±àÒ빤×÷×ö×¼±¸¡£Äã¿ÉÒÔÊäÈëÈçÏÂÃüÁî²é¿´¿ÉÓõÄÅäÖÃÑ¡ÏîÀ´¶¨ÖƱàÒ룺
#./configure --help
²»Í¬µÄÈí¼þ³ýÁËһЩͨÓõÄÅäÖÃÑ¡ÏîÍ⣬ͨ³£»¹ÓÐһЩÌض¨µÄÅäÖÃÑ¡Ïî¡£
ÀýÈ磬Èç¹ûÄúÏë°ÑÈí¼þ°²×°µ½Ö¸¶¨Ä¿Â¼£¬Ó¦¸ÃÓÃ#./configure –prefix=Äú×Ô¼ºÖ¸¶¨µÄĿ¼£¬±ÈÈçÎÒÏë°ÑÒ»¸ömlterm°²×°µ½/opt/mltermĿ¼ÖУ¬Ó¦¸ÃÈçÏÂÊäÈë
#./configure –prefix=/opt/mlterm
5.¼ì²éͨ¹ýºó£¬½«Éú³ÉÓÃÓÚ±àÒëµÄMakeFileÎļþ¡£´Ëʱ£¬¿ÉÒÔ¿ªÊ¼½øÐбàÒëÁË¡£±àÒëµÄ¹ý³ÌÊÓÈí¼þµÄ¹æÄ£ºÍ¼ÆËã»úÐÔÄܵIJ»Í¬£¬ËùºÄ·ÑµÄʱ¼äÒ²²»Í¬¡£ÃüÁîΪ£º
#make¡£
6.³É¹¦±àÒëºó£¬¼üÈëÈçϵÄÃüÁʼ°²×°£º
#make install
ÖÁ´Ë£¬Èí¼þµÄ°²×°½áÊø¡£
¶ÔÓÚµÚ¶þÖÖ£¬Æä°²×°·½·¨Òª¼òµ¥µÃ¶à¡£
ͬµÚÒ»ÖÖ·½Ê½Ò»Ñù£¬½«°²×°Îļþ¿½±´ÖÁÄãµÄĿ¼ÖС£È»ºóʹÓÃrpmÀ´°²×°¸ÃÎļþ¡£ÃüÁîÈçÏ£º
#rpm -i filename.rpm
rpm½«×Ô¶¯½«°²×°Îļþ½â°ü£¬²¢½«Èí¼þ°²×°µ½È±Ê¡µÄĿ¼Ï¡£²¢½«Èí¼þµÄ°


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì£¨Èý£© HCI²ã±à³Ì

1. HCI²ãЭÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI)  ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈЭÒé ......

ÎÒ²»Ï²»¶linuxµÄÒ»¸öÔ­Òò

ÎÒ²»Ì«Ï²»¶linuxÁË£¬ËäÈ»ÎÒÔÚËûÉÏÃæ¶Ï¶ÏÐøÐøµÄ»¨¹ýһЩʱ¼ä£¬ÏÖÔÚ»ØÍ·À´¿´£¬ËüÒ²ÈÃÎÒÀË·ÑÁ˺ܶàµÄʱ¼ä£¬linuxÂÒÆß°ËÔãµÄÅäÖã¬Èí¼þµÄȱ·¦ÁîÎҺܲ»ÊÊ´Ó£¬¶øÇÒËüÒ²²»ÄÜʹÎÒ°ÑÖ÷ÒªµÄ¾­Àú¼¯ÖÐÔÚÕæÕý¸ÐÐËȤµÄµØ·½£¬¶ø²»ÊÇΪÁË“Õ÷·þ”linuxÕ´Õ´×Ôϲ£¬ÎÒ²»Ï²»¶ÕâÑùµÄlinux£¬ÕâÑùµÄlinuxÌ«³ÌÐòÔ±»¯ÁË¡£ÎÒΪʲôҪ¶ÁÄÇЩ ......

linux¶¨Ê±ÈÎÎñ


¶¨Ê±Ö´ÐÐcrontabʹÓ÷½·¨Ïê½â
¡¡¡¡Ê¹Ó÷½Ê½:
¡¡¡¡crontab [ -u user ] filecrontab [ -u user ] { -l | -r | -e }
¡¡¡¡ËµÃ÷:
¡¡¡¡crontab ÊÇÓÃÀ´ÈÃʹÓÃÕßÔڹ̶¨Ê±¼ä»ò¹Ì¶¨¼ä¸ôÖ´ÐгÌʽ֮ÓÃ,»»¾ä»°Ëµ,Ò²¾ÍÊÇÀàËÆʹÓÃÕßµÄʱ³Ì±í¡£-u user ÊÇÖ¸É趨ָ¶¨ user
µÄʱ³Ì±í,Õâ¸öÇ°ÌáÊÇÄã±ØÐëÒªÓÐÆäȨÏÞ(±ÈÈç˵ÊÇ root)²ÅÄ ......

Linux Ïß³ÌÄ£Ð͵ıȽϣºLinuxThreads ºÍ NPTL

 Õª×Ô£ºhttp://www.ibm.com/developerworks/cn/linux/l-threading.html
LinuxThreads ÏîÄ¿×î³õ½«¶àÏ̵߳ĸÅÄîÒýÈëÁË Linux®£¬µ«ÊÇ LinuxThreads ²¢²»×ñÊØ
POSIX Ï̱߳ê×¼¡£¾¡¹Ü¸üÐ嵀 Native POSIX Thread
Library£¨NPTL£©¿âÌî²¹ÁËһЩ¿Õ°×£¬µ«ÊÇÕâÈÔÈ»´æÔÚһЩÎÊÌâ¡£±¾ÎÄΪÄÇЩÐèÒª½«×Ô¼ºµÄÓ¦ÓóÌÐò´Ó LinuxTh ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ