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()£¬Ô
Ïà¹ØÎĵµ£º
probeÊÇusb×Óϵͳ×Ô¶¯µ÷ÓõÄÒ»¸öº¯Êý£¬ÓÐUSBÉ豸½Óµ½Ó²¼þ¼¯ÏßÆ÷ʱ£¬usb×Óϵͳ»á¸ù¾Ýproduction IDºÍvendor IDµÄ×éºÏ»òÕßÉ豸µÄclass¡¢subclass¸úprotocolµÄ×éºÏÀ´Ê¶±ðÉ豸µ÷ÓÃÏàÓ¦Çý¶¯³ÌÐòµÄprobe£¨Ì½²â£©º¯Êý£¬¶ÔÓÚskeletonÀ´Ëµ£¬¾ÍÊÇskel_probe¡£ÏµÍ³»á´«µÝ¸ø̽²âº¯ÊýÒ»¸öusb_interface *¸úÒ»¸östruct usb_device_id *×÷Î ......
×¢Òâ×Ô¼ºµÄÄں˰汾 ÓÚ jdk °æ±¾ÎÊÌâ £»»¹ÓÐ ¾ÍÊÇ Òª½âѹµ½ /usr/javaĿ¼Ï ºÜÖØÒª£¬Òª²»È»µÈ×ųԿàÍ·£»
Ò»¡¢ÏÂÔØJDK
×Ô¼ºÏÂÔØ°É£¬²½Öè²»ÓÃдÁË°É£»ÎÒÏÂÔصÄÊÇjdk
-1_6_0_11-linux-i586.bin
¶þ¡¢°²×°
(1)ÔÚusrÏÂн¨Ò»¸öjavaÎļþ¼Ð
#mkdir /usr/java
(2)ÎÒÓõÄWinSCP½«JDK
Îļþ·ÅÈ ......
±¾Îĵµ²âÊÔ»·¾³£º
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
  ......
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ÄÚºËÖÐÓÃÓÚͬ²½µÄ¼¸ÖÖ»úÖƼ¯ÖÐÆðÀ´·ÖÎö£¬Ç¿µ÷ÁËËüÃÇÖ®¼äÔÚʵÏÖºÍʹÓÃÉϵIJ»Í¬¡£
¡¡¡¡Í¬²½Í¨³£ÊÇΪÁË´ïµ½¶àÏß³ÌÐͬµÄÄ¿µÄ¶øÉè¼ÆµÄÒ»ÖÖ»úÖÆ£¬Í¨³£°üº¬Òì²½ÐźŻúÖƺͻ¥³â»úÖÆ×÷ΪÆäʵÏֵĵײ㡣ÔÚLinux 2.4ÄÚºËÖÐÒ²ÓÐÏàÓ¦µÄ¼¼ÊõʵÏÖ£¬°üÀ¨ÐźÅÁ¿¡¢×ÔÐýËø¡¢Ô×Ó²Ù×÷ºÍµÈ´ý¶ÓÁУ¬ÆäÖÐÔ×Ó²Ù×÷ºÍµÈ´ý¶ÓÁÐÓÖÊÇʵÏÖÐźÅÁ¿µÄ ......