̸ÈçºÎѧϰLinux
һ.ΪʲôҪѧlinux?
µ±È»×îÖØÒªÊÇ°®ºÃºÍÐËȤ£¡Èç¹ûÄãÕâÖÖ±ØҪѧ£¬»òÕ߸ù±¾²»Ï²»¶£¬Çë²»ÒªÀË·Ñʱ¼ä£¬ÄãѧҲѧ²»ºÃ£¡
¶þ.Æð²½
ÄãÓ¦¸ÃΪ×Ô¼º´´ÔìÒ»¸öѧϰlinuxµÄ»·¾³--ÔÚµçÄÔÉÏ×°Ò»¸ölinux»òunix
ÎÊÌâ1£º°æ±¾µÄÑ¡Ôñ
±±ÃÀÓÃredhat,Å·ÖÞÓÃSuSE,×ÀÃæmandrake½Ï¶à£¬¶ødebianÊǼ¼Êõ×îÏȽøµÄlinux
¿ª·¢ÈËÔ±ÖÐÓÃdebianµÄ×î¶à£¬Æä´ÎÊÇredhat,´ÓÈ«Çòlinux¸÷Ó¦ÓÃÁìÓòÊг¡·Ý¶îÀ´¿´
ÎÞÒÉredhatÊÇ×î¶àµÄ£¬´ËÍ⻹Óкܶà³öÃûµÄ·¢Ðа汾£¬²»ÔÙÁо١£
¶ÔÓÚ³õѧlinuxµÄÈËÀ´Ëµ£¬ÎÒ½¨ÒéÊÇʹÓÃredhat,ÔÒòÈçÏ£º
1£©ÏÖÔںܶàÊ鶼ÊÇÒÔredhatΪÀý½²µÄ£¬ÎªÁËÓëÊ鱾е÷Ò»ÖÂ
2£©ÖÜΧµÄÈ˶¼ÓÃredhat,½»Á÷±È½Ï·½±ã
3£©redhatÓ¦Ó÷¶Î§¹ã£¬ÓеäÐÍÐԺʹú±íÐÔ
4£©ËüÒ×ÓÚʹÓúͰ²×°£¬ÎÒÃÇûÓбØÒª°Ñʱ¼äÀË·ÑÔړװϵͳ”ÉÏ
¶øÓ¦¼¯Öо«Á¦Ñ§Ï°×îÓÐÓõĶ«Î÷¡£
//×¢£ºÏÖÔÚ¾õµÃRHºÜËÀ°å£¬AS,ESµÈÓÃÔÚ·þÎñÆ÷ÉÏ»òÐí²»´í£¬
Personal desktopÓÃmandrake,debian,suse¶¼²»´í£¬±ÊÕßÏÖÔÚÓÃMandrake,ÒòΪËý³¤µÃƯÁÁ
Èç¹ûÄã²¢²»´òËãÉîÈëѧϰlinux£¬¶øÊÇÓÐÖîÈçÊÊÓ¦±±¾©ÊÐÕþ¸®°ì¹«Æ½Ì¨Ç¨ÒƵ½
linuxÉÏÕâÖÖÐèÒª£¬ÄÇôÖÐÈí£¬ºìÆìµÈÖÐÎÄlinuxÊDz»´íµÄÑ¡Ôñ
ÎÒÇ¿ÁÒ½¨Ò飺×Ô¼ºÇ××Ô¶¯ÊÖ°Ñlinux×°µ½ÄãµÄÓ²ÅÌÉÏ£¬
Äã±ØÐëѧ»á¶ÀÁ¢°²×°linuxϵͳµÄ¼¼ÄÜ£¬¶ÔÓÚÏÖÔڵİ汾À´Ëµ£¬Æäʵ¸ú×°WinXPÒ»Ñù¼òµ¥
´Ó´ËÏÖÔÚ¿ªÊ¼£¬Çë²»ÒªÒÔwindowsµÄ¹¤×÷·½Ê½À´¿¼ÂÇÎÊÌ⣬
Ó¦¸Ã³¢ÊÔÍÚ¾òlinuxÉíÉϵēÌì²Åunix”µÄÆøÖÊ¡£
Èý.½ø½×
ÕÆÎÕÖÁÉÙ50¸öÒÔÉϵij£ÓÃÃüÁî
Àí½âshell¹ÜµÀ"|",ÎļþÁ÷Öض¨Ïò">"¼°×·¼Ó">>"µÈ
ÊìϤGnome/KDEµÈX-windows×ÀÃæ»·¾³²Ù×÷
ÕÆÎÕ.tgz.rpm.bizµÈÈí¼þ°üµÄ³£Óð²×°·½·¨
ѧϰÌí¼ÓÍâÉ裬°²×°É豸Çý¶¯³ÌÐò£¨±ÈÈçmodem)
ÊìϤGrub/LiloÒýµ¼Æ÷¼°¼òµ¥µÄÐÞ¸´²Ù×÷
ÊìϤϵͳ¹ÌÓÐĿ¼µÄÃû³Æ¼°¹«ÓÃ
ѧ»áÓÃmountÃüÁî·ÃÎÊÆäËûÎļþϵͳ
Á˽âvi,gcc,gdbµÈ³£Óñà¼Æ÷£¬±àÒëÆ÷£¬µ÷ÊÔÆ÷
ѧϰlinux»·¾³Ïµļòµ¥×éÍø
½¨Ò飺ÂòÒ»±¾²»ÐèҪ̫ºñµÄlinux½Ì²Ä£¬´óÖ¿ÉÒÔÂú×ãÒªÇó
//ÏÖÔÚµÄÊéÔ½À´Ô½¶àÁË£¬»¹´øºÜ¶àͼ£¬ÎÒµ±Ê±¿ÉûÕâô¶àÊ飺£©
ËÄ.¸ß¼¶Ó¦ÓÃ
³ÎÇåһЩ¸ÅÄ
linuxµÄÆÕͨ²Ù×÷ÓëÕæÕýµÄϵͳ¹ÜÀí²»ÄÜÏàÌá²¢ÂÛ£¬ºóÕßÐèÒªºÜ¶à֪ʶ
ÎÒ¸öÈËÈÏΪ±È½ÏÖØÒª¼¸ÖÖlinuxÓïÑÔ
1.Ó¢Óï
¼´Ê¹Ä㲻ѧlinux£¬ÎÒҲǿÁÒ½¨ÒéÄãѧºÃÓ¢ÎÄ[U.S.english]
ÒòΪʵÖÊÉϼÆËã»úÓïÑÔ¾ÍÊÇÓ¢ÎĺÍ×Ö·û,ËùνµÄ¶à¹úÓïÑÔÖ»ÊÇÍⲿ°ü×°
Äã±ØÐëÄÜÎÞÕÏ°µ
Ïà¹ØÎĵµ£º
ÀýÒ»£º·¢ËÍSignaling Packet£º
Signaling CommandÊÇ2¸öBluetoothʵÌåÖ®¼äµÄL2CAP²ãÃüÁî´«Êä¡£ËùÒÔµÃSignaling CommandʹÓÃCID 0x0001.
¶à¸öCommand¿ÉÒÔÔÚÒ»¸öC-frame£¨control frame£©Öз¢ËÍ¡£
Èç¹ûÒªÖ±½Ó·¢ËÍSignaling Command.ÐèÒª½¨Á¢SOCK_RAWÀàÐ͵ÄL2CAPÁ¬½ÓSocket¡£ÕâÑù²ÅÓлú»á×Ô¼ºÌî³äCommand Code£¬Identi ......
Ò»£ºÇ°ÑÔ
×î½üÔÚÑо¿androidµÄsensor driver£¬Ö÷ÒªÊÇE-compass£¬ÆäÖÐÓõ½ÁËLinux input×Óϵͳ.ÔÚÍøÉÏÒ²¿´Á˺ܶàÕâ·½ÃæµÄ×ÊÁÏ£¬¸Ð¾õ»¹ÊÇÕâƪ·ÖÎöµÄ±È½ÏϸÖÂ͸³¹£¬Òò´ËתÔØÒ»ÏÂÒÔ±ã×Ô¼ºÑ§Ï°£¬Í¬Ê±ºÍ´ó¼Ò·ÖÏí£¡
£¨Õâƪ²©¿ÍÖ÷ÒªÊÇÒÔ¼üÅÌÇý¶¯ÎªÀýµÄ£¬²»¹ý½²½âµÄÊÇLinux Input Subsystem£¬¿ÉÒÔ×ÐϸµÄÑо¿Ò»Ï£¡£©
¼üÅÌÇý¶¯½«¼ì ......
from: http://www.21andy.com/blog/20060820/389.html
linux½âѹ tarÃüÁî
tarÃüÁî
tar [-cxtzjvfpPN] ÎļþÓëĿ¼ ....
²ÎÊý£º
-c £º½¨Á¢Ò»¸öѹËõÎļþµÄ²ÎÊýÖ¸Áî(create µÄÒâ˼)£»
-x £º½â¿ªÒ»¸öѹËõÎļþµÄ²ÎÊýÖ¸Á
-t £º²é¿´ tarfile ÀïÃæµÄÎļþ£¡
Ìرð×¢Ò⣬ÔÚ²ÎÊýµÄÏ´ïÖУ¬ c/x/t ½öÄÜ´æÔÚÒ»¸ö£¡²» ......
ÕªÒª£º LinuxÓû§°²×°Linux²Ù×÷ϵͳʱÓöµ½µÄÒ»¸ö×î³£¼ûµÄÄÑÒÔ¾ö¶¨µÄÎÊÌâ¾ÍÊÇÈçºÎÕýÈ·µØ¸øÆÀ¹À¸÷·ÖÇø´óС£¬ÒÔ·ÖÅäºÏÊʵÄÓ²Å̿ռ䡣¶øÓöµ½³öÏÖij¸ö·ÖÇø¿Õ¼äºÄ¾¡Ê±£¬½â¾öµÄ·½·¨Í¨³£ÊÇʹÓ÷ûºÅÁ´½Ó£¬»òÕßʹÓõ÷Õû·ÖÇø´óСµÄ¹¤¾ß(±ÈÈçPatition MagicµÈ)£¬µ«ÕⶼֻÊÇÔÝʱ½â¾ö°ì·¨£¬Ã»Óиù±¾½â¾öÎÊÌâ¡£Ëæ×ÅLinuxµÄÂß¼Å̾í¹ÜÀí¹¦ÄÜ ......
ÃüÁîÐ춱ð ÃüÁîÐÐÖÐÇÃÈë ulimit -n 12345 Óû§¼¶±ð ±à¼/etc/security/limits.conf: Îļþ£¬²åÈëÒ»ÐУºuserx hard nofile 12345 ϵͳ¼¶±ð ÔÚ/etc/sysctl.confÎļþÖмÓÈëÒ»ÐÐ fs.file-max=12345£¬È»ºóÔÚÃüÁîÐÐÖÐÊäÈ룺sysctl -p £¬Ê¹ÆäÉúЧ ......