ÅäÖñàÒëÄںˣ¨Linux kernel£©
ËäÈ»ÒÔÇ°Ò²±àÒë¹ýÄںˣ¬µ«ÊǹØÓÚÄÚºËÅäÖÃÑ¡ÏîÌرðÊÇÓйر¾»úÇý¶¯Õâ¿é»¹ÊDz»ÊìϤ£¬ÒòΪûÓÐͨ¹ýÈ·¶¨ÓÐЧµÄ;¾¶ÖªµÀµ±Ç°¹¤×÷Õý³£µÄÄÚºËÖе½µ×ʹÓÃÁËʲôÇý¶¯Ä£¿éÀ´¿ØÖÆÓ²¼þ£¬×î½ü¿´µ½Ò»±¾Ê顶Linux kernel in a netshell¡·£¬¸Ð¾õ½²µÄ»¹²»´í£¬ËùÒÔ¼Çϱʼǡ£
1.±àÒëÄں˵Ť¾ß
gcc
binutils(ld) binutilsÊÇgccµÄ¹¤¾ßÁ´£¬ÓÃÀ´Á´½ÓÄ¿±êÎļþÒÔ¼°»ã±à¡£
make
util-linux-ng(fdformat)
module-init-tools(depmod)
tune2fs
NFS(showmount)
udev udevÊÇLinuxÖÐÓÃÀ´¹ÜÀí/devĿ¼µÄ¹¤¾ß£¬Ëüά»¤/devĿ¼ÏÂËùÓеÄÉ豸Îļþ¡£
2.ÏÂÔØwget/curl
3.±àÒë
$make defconfig defconfigÊÇi386¼ÆËã»úÉϵÄĬÈÏÅäÖã¬Ò²¾ÍÊÇLinus Torvalds¼ÆËã»úÖеÄÅäÖá£
$make config ×îÔʼµÄÅäÖ÷½Ê½
$make menuconfig Îı¾×Ö·û½çÃæÅäÖÃ
$make xconfig X WindowÅäÖýçÃæ
$make ±àÒëKernel
4.¸ß¼¶±àÒëÑ¡Ïî
make -jN NÉèÖÃΪÄãCPUÄÚºËÊýµÄÁ½±¶£¬´ú±í±àÒëÄÚºËËùÓõÄÏß³ÌÊýÁ¿¡£
$make drivers/usb/serial Ö»±àÒëĿ¼drivers/usb/serial£¬µ«ÊDz»»áÉú³ÉÄ£¿éÓ³ÏñÎļþ
$make M=drivers/usb/serial ͬÉÏ£¬µ«ÊÇ»áÉú³ÉÄ£¿éÎļþ£¬µ«ÊDz»»áÓ°ÏìÒѾ±àÒëºÃµÄÄںˣ¬Èç¹ûÏëÒª¸Ä±äÒѾ±àÒëºÃµÄÄںˣ¬ÔòÐèÒªÖØÐÂÖ´ÐÐ
$make
$make drivers/usb/serial/visor.ko Ö»±àÒë¸ö±ðÎļþ
$make -O=/path/to/output/ ½«Êä³öÖض¨Ïòµ½ÁíÒ»¸öĿ¼£¬×¢ÒâconfigureÒ²±ØÐëʹÓÃ-OÖض¨ÏòÊä³ö¡£
$make ARCH=x86_64 defconfig ÉèÖÃÄ¿±ê¼ÆËã»úÌåϵ½á¹¹
 
Ïà¹ØÎĵµ£º
Service Discovery Protocol(SDP)ÌṩһÖÖÄÜÁ¦£¬ÈÃÓ¦ÓóÌÐòÓз½·¨·¢ÏÖÄÄÖÖ·þÎñ¿ÉÓÃÒÔ¼°ÕâÖÖ·þÎñµÄÌØÐÔ¡£
·þÎñ·¢ÏÖÐÒé(SDP»òBluetooth SDP)ÔÚÀ¶ÑÀÐÒéÕ»ÖжÔÀ¶ÑÀ»·¾³ÖеÄÓ¦ÓóÌÐòÓÐÌØÊâµÄº¬Ò⣬·¢ÏÖÄĸö·þÎñÊÇ¿ÉÓõĺÍÈ·¶¨ÕâЩ¿ÉÓ÷þÎñµÄÌØÕ÷¡£SDP¶¨ÒåÁËbluetooth client·¢ÏÖ¿ÉÓÃbluetooth server·þÎñºÍËüÃǵÄÌØÕ÷µÄ·½·¨¡£ ......
Linux VNCÔ¶³Ì×ÀÃæ
2009-07-27 09:46
VNC£¬È«³ÆΪVirtual Network Computing£¬ÊÇÒ»¸ö×ÀÃæ¹²Ïíϵͳ¡£ËüµÄ¹¦ÄÜ£¬ÀàËÆÓÚwindowsÖеÄÔ¶³Ì ×ÀÃ湦ÄÜ¡£VNCʹÓÃÁËRFB(Remote FrameBuffer£¬Ô¶³ÌÖ¡»º³å£©ÐÒéÀ´ÊµÏÖÔ¶³Ì¿ØÖÆÁíÍâһ̨¼ÆËã»ú¡£Ëü°Ñ¼üÅÌ¡¢Êó±ê¶¯×÷·¢Ë͵½Ô¶³Ì¼ÆËã»ú£¬²¢°ÑÔ¶³Ì¼ÆËã»úµÄÆÁÄ»·¢»Øµ½±¾µØ£¬ VNC Viewer¿ÉÒÔº ......
Ò»¡¢°²×°SVNĬÈÏ°²×°µ½/usr/local/binÏÂÃæ
¶þ¡¢´´½¨²Ö¿â svnadmin create /home/svnrepo
/root/svnrepoΪËù´´½¨²Ö¿âµÄ·¾¶£¬ÀíÂÛÉÏ¿ÉÒÔÊÇÈκÎĿ¼
Èý¡¢ÐÞ¸ÄÅäÖÃÎļþ/home/svnrepo/conf/svnserve.conf
#È¥µô#[general]Ç°ÃæµÄ#ºÅ
[general]
#ÄäÃû·ÃÎʵÄȨÏÞ£¬¿ÉÒÔÊÇread,write,none,ĬÈÏΪread
anon-access = none
......
LinuxϵÄÉ豸Çý¶¯³ÌÐò±»×é֯Ϊһ×éÍê³É²»Í¬ÈÎÎñµÄº¯ÊýµÄ¼¯ºÏ£¬Í¨¹ýÕâЩº¯ÊýʹµÃWindowsµÄÉ豸²Ù×÷ÓÌÈçÎļþÒ»°ã¡£ÔÚÓ¦ÓóÌÐò¿´À´£¬Ó²¼þÉ豸ֻÊÇÒ»¸öÉ豸Îļþ£¬Ó¦ÓóÌÐò¿ÉÒÔÏó²Ù×÷ÆÕͨÎļþÒ»Ñù¶ÔÓ²¼þÉ豸½øÐвÙ×÷£¬Èçopen ()¡¢close ()¡¢read ()¡¢write () µÈ¡£
LinuxÖ÷Òª½«É豸·ÖΪ¶þÀࣺ×Ö·ûÉ豸ºÍ¿éÉ豸¡£×Ö·ûÉ豸ÊÇÖ¸Éè ......
1 ÒýÑÔ
¡¡¡¡Ị̈߳¨thread£©¼¼ÊõÔçÔÚ60Äê´ú¾Í±»Ìá³ö£¬µ«ÕæÕýÓ¦ÓöàÏ̵߳½²Ù×÷ϵͳÖÐÈ¥£¬ÊÇÔÚ80Äê´úÖÐÆÚ£¬solarisÊÇÕâ·½ÃæµÄٮٮÕß¡£´«Í³µÄUnixÒ²Ö§³ÖÏ̵߳ĸÅÄµ«ÊÇÔÚÒ»¸ö½ø³Ì£¨process£©ÖÐÖ»ÔÊÐíÓÐÒ»¸öỊ̈߳¬ÕâÑù¶àÏ߳̾ÍÒâζ×Ŷà½ø³Ì¡£ÏÖÔÚ£¬¶àÏ̼߳¼ÊõÒѾ±»Ðí¶à²Ù×÷ϵͳËùÖ§³Ö£¬°üÀ¨Windows/NT£¬µ±È»£¬Ò²°üÀ¨Linux¡£
......