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

linuxÆô¶¯¹ý³Ì

LinuxϵͳÆô¶¯¹ý³Ì
±¾ÎÄÒÔRedHat9.0ºÍi386ƽ̨ΪÀý£¬ÆÊÎöÁË´ÓÓû§´ò¿ªµçÔ´Ö±µ½ÆÁÄ»³öÏÖÃüÁîÐÐÌáʾ·ûµÄÕû¸öLinuxÆô¶¯¹ý³Ì¡£²¢ÇÒ½éÉÜÁËÆô¶¯ÖÐÉæ¼°µ½µÄ¸÷ÖÖÎļþ¡£
µ±Óû§´ò¿ªPCµÄµçÔ´£¬BIOS¿ª»ú×Լ죬°´BIOSÖÐÉèÖõÄÆô¶¯É豸(ͨ³£ÊÇÓ²ÅÌ)Æô¶¯£¬½Ó×ÅÆô¶¯É豸ÉÏ°²×°µÄÒýµ¼³ÌÐòlilo»ògrub¿ªÊ¼Òýµ¼ Linux£¬LinuxÊ×ÏȽøÐÐÄں˵ÄÒýµ¼£¬½ÓÏÂÀ´Ö´ÐÐinit³ÌÐò£¬init³ÌÐòµ÷ÓÃÁËrc.sysinitºÍrcµÈ³ÌÐò£¬rc.sysinitºÍrcµ±Íê³Éϵͳ³õʼ»¯ºÍÔËÐзþÎñµÄÈÎÎñºó£¬·µ»Øinit£»initÆô¶¯ÁËmingettyºó£¬´ò¿ªÁËÖն˹©Óû§µÇ¼ϵͳ£¬Óû§µÇ¼³É¹¦ºó½øÈëÁËShell£¬ÕâÑù¾ÍÍê³ÉÁË´Ó¿ª»úµ½µÇ¼µÄÕû¸öÆô¶¯¹ý³Ì¡£
µÚÒ»²¿·Ö£ºÄں˵ÄÒýµ¼(ºËÄÚÒýµ¼)
¡¡¡¡Red Hat9.0¿ÉÒÔʹÓÃlilo»ògrubµÈÒýµ¼³ÌÐò¿ªÊ¼Òýµ¼Linuxϵͳ£¬µ±Òýµ¼³ÌÐò³É¹¦Íê³ÉÒýµ¼ÈÎÎñºó£¬Linux´ÓËüÃÇÊÖÖнӹÜÁËCPUµÄ¿ØÖÆȨ£¬È»ºóCPU¾Í¿ªÊ¼Ö´ÐÐLinuxµÄºËÐÄÓ³Ïó´úÂ룬¿ªÊ¼ÁËLinuxÆô¶¯¹ý³Ì¡£ÕâÀïʹÓÃÁ˼¸¸ö»ã±à³ÌÐòÀ´Òýµ¼Linux£¬ÕâÒ»²½·º¼°µ½LinuxÔ´´úÂëÊ÷Öеēarch/i386/boot”ϵÄÕ⼸¸öÎļþ£ºbootsect.S¡¢setup.S¡¢video.SµÈ¡£
¡¡ ÆäÖÐbootsect.SÊÇÉú³ÉÒýµ¼ÉÈÇøµÄ»ã±àÔ´Â룬ËüÍê³É¼ÓÔض¯×÷ºóÖ±½ÓÌøתµ½setup.SµÄ³ÌÐòÈë¿Ú¡£setup.SµÄÖ÷Òª¹¦ÄܾÍÊǽ«ÏµÍ³²ÎÊý£¨°üÀ¨ÄÚ´æ¡¢´ÅÅ̵ȣ¬ÓÉBIOS·µ»Ø£©¿½±´µ½ÌرðÄÚ´æÖУ¬ÒÔ±ãÒÔºóÕâЩ²ÎÊý±»±£»¤Ä£Ê½ÏµĴúÂëÀ´¶ÁÈ¡¡£´ËÍ⣬setup.S»¹½«video.SÖеĴúÂë°üº¬½øÀ´£¬¼ì²âºÍÉèÖÃÏÔʾÆ÷ºÍÏÔʾģʽ¡£×îºó£¬setup.S½«ÏµÍ³×ª»»µ½±£»¤Ä£Ê½£¬²¢Ìøתµ½ 0x100000¡£
¡¡¡¡ÄÇô0x100000Õâ¸öÄÚ´æµØÖ·Öдæ·ÅµÄÊÇʲô´úÂ룿¶øÕâЩ´úÂëÓÖÊǴӺζøÀ´µÄÄØ£¿
¡¡¡¡0x100000Õâ¸öÄÚ´æµØÖ·´æ·ÅµÄÊǽâѹºóµÄÄںˣ¬ÒòΪRed HatÌṩµÄÄں˰üº¬ÁËÖÚ¶àÇý¶¯ºÍ¹¦ÄܶøÏԵñȽϴó£¬ËùÒÔÔÚÄں˱àÒëÖÐʹÓÃÁË“makebzImage”·½Ê½£¬´Ó¶øÉú³ÉѹËõ¹ýµÄÄںˣ¬ÔÚRedHatÖÐÄں˳£³£±»ÃüÃûΪvmlinuz£¬ÔÚLinuxµÄ×î³õÒýµ¼¹ý³ÌÖУ¬ÊÇͨ¹ý"arch/i386/boot/compressed/"ÖеÄhead.SÀûÓà misc.cÖж¨ÒåµÄdecompress_kernel()º¯Êý£¬½«ÄÚºËvmlinuz½âѹµ½0x100000µÄ¡£
¡¡¡¡µ±CPUÌøµ½ 0x100000ʱ£¬½«Ö´ÐÐ"arch/i386/kernel/head.S"ÖеÄstartup_32£¬ËüÒ²ÊÇvmlinuxµÄÈë¿Ú£¬È»ºó¾ÍÌøתµ½ start_kernel()ÖÐÈ¥ÁË¡£start_kernel()ÊÇ"init/main.c"ÖеĶ¨ÒåµÄº¯Êý£¬start_kernel()Öе÷ÓÃÁËһϵÁгõʼ»¯º¯Êý£¬ÒÔÍê³Ékernel±¾ÉíµÄÉèÖá£start_kernel()º¯ÊýÖУ¬×öÁË´óÁ¿µÄ¹¤×÷À´½¨Á¢»ù±¾µÄLinuxºËÐÄ»·¾³¡£Èç¹û˳ÀûÖ´ÐÐÍê start_kernel()£¬Ô


Ïà¹ØÎĵµ£º

Ïêϸ½²½â ¹ØÓÚLinux¾²Ì¬¿âºÍ¶¯Ì¬¿âµÄ·ÖÎö


»ù±¾¸ÅÄî
 
¿âÓж¯Ì¬Ó뾲̬Á½ÖÖ£¬¶¯Ì¬Í¨³£ÓÃ.soΪºó׺£¬¾²Ì¬ÓÃ.aΪºó׺¡£
 
ÀýÈ磺libhello.so libhello.a ΪÁËÔÚͬһϵͳÖÐʹÓò»Í¬°æ±¾µÄ¿â£¬¿ÉÒÔÔÚ¿âÎļþÃûºó¼ÓÉÏ°æ±¾ºÅΪºó׺,ÀýÈ磺 libhello.so.1.0,ÓÉÓÚ³ÌÐòÁ¬½ÓĬÈÏÒÔ.soΪÎļþºó׺Ãû¡£ËùÒÔΪÁËʹÓÃÕâЩ¿â£¬Í¨³£Ê¹Óý¨Á¢·ûºÅÁ¬½ÓµÄ·½Ê½¡£
ln -s ......

Linux USBÇý¶¯¿ò¼Ü·ÖÎöÏÂ

probeÊÇusb×Óϵͳ×Ô¶¯µ÷ÓõÄÒ»¸öº¯Êý£¬ÓÐUSBÉ豸½Óµ½Ó²¼þ¼¯ÏßÆ÷ʱ£¬usb×Óϵͳ»á¸ù¾Ýproduction IDºÍvendor IDµÄ×éºÏ»òÕßÉ豸µÄclass¡¢subclass¸úprotocolµÄ×éºÏÀ´Ê¶±ðÉ豸µ÷ÓÃÏàÓ¦Çý¶¯³ÌÐòµÄprobe£¨Ì½²â£©º¯Êý£¬¶ÔÓÚskeletonÀ´Ëµ£¬¾ÍÊÇskel_probe¡£ÏµÍ³»á´«µÝ¸ø̽²âº¯ÊýÒ»¸öusb_interface *¸úÒ»¸östruct usb_device_id *×÷Î ......

LinuxÏÂJavaÈçºÎÁ¬SAP

±¾Îĵµ²âÊÔ»·¾³£º
1£©Linux²Ù×÷ϵͳ°æ±¾£º
       Red Hat Enterprise Linux Server release 5
       2.6.18-8.el5
2£©jdk°æ±¾
       1.5.0_16
 
LinuxÏÂÁ¬JavaÁ¬sap²½Öè
1£©ÏÂÔØsapjco.jar
    ......

linux ubuntuÏÂftp·þÎñÆ÷°²×°¡¢ÅäÖÃÓëʹÓÃ

http://hi.baidu.com/vsgp/blog/item/0daae64589a3852fcffca3e7.html
1¡¢°²×°vsftpd
ÖÕ¶ËÊäÈ룺sudo apt-get install vsftpd
°²×°ÁËÖ®ºó»áÔÚ/home/Ͻ¨Á¢Ò»¸öftpĿ¼¡£ÕâʱºòÄã¿ÉÒÔÊÔ×Å·ÃÎÊÏÂftp://IPµØÖ·¡£Ó¦¸Ã¿ÉÒÔ¿´µ½Ò»¸ö¿Õ°×ÄÚÈݵÄftp¿Õ¼ä¡£
ÆôÓãºsudo /etc/init.d/vsftpd start
Í£Óãºsudo /etc/init.d/ ......

LinuxÖÐfindÃüÁî

 
ÔÚWindowsÖпÉÒÔÔÚijЩ·¾¶ÖвéÕÒÎļþ£¬Ò²¿ÉÒÔÉ趨²»ÔÚijЩ·¾¶ÖвéÕÒÎļþ£¬ÏÂÃæÓÃLinuxÖеÄfindµÄÃüÁî½áºÏÆä-path -prune²ÎÊýÀ´¿´¿´ÔÚLinuxÖÐÔõôʵÏִ˹¦ÄÜ¡£
¼ÙÈçÔÚµ±Ç°Ä¿Â¼Ï²éÕÒÎļþ£¬ÇÒµ±Ç°Ä¿Â¼ÏÂÓкܶàÎļþ¼°Ä¿Â¼£¨¶à²ãĿ¼£©£¬°üÀ¨dir0¡¢dir1ºÍdir2 ...µÈĿ¼¼°dir00¡¢dir01...dir10¡¢dir11...µÈ×ÓĿ¼¡£ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ