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

Óû§Ä£Ê½LinuxÖ®³õ´ÎÌåÑé

Óû§Ä£Ê½Linux (User Mode Linux), ËõдΪUML¡£¹ËÃû˼Ò壬UML¾ÍÊÇÔÚÒ»¸ö¿ÉÒÔÔÚÓû§¿Õ¼äÔËÐеÄlinuxÄںˡ£
UMLÄܹ»ÎªkernelÐéÄâһЩʵ¼ÊµÄÎïÀíÉ豸£¬Æô¶¯UMLÖ»ÐèÒªÒªÖ¸¶¨Ò»¸örootÎļþϵͳµÄimageÎļþ¡£UMLʵ¼ÊÉÏÒ²ÊÇÒ»ÖÖÐéÄ⻯¼¼Êõ¡£
 
UMLµÄºÃ´¦
µÚÒ»£¬×öÒ»¸öÐéÄâ·þÎñÆ÷£¬UML¿ÉÒÔÒÔ°²È«µÄ·½Ê½ÔËÐÐÔÚÓû§¿Õ¼ä£¬Ëü¿ÉÒÔÈ·±£·þÎñÆ÷²»»á¶Ô±¾»úµÄÄÚÈݽøÐÐÆÆ»µ
µÚ¶þ£¬±ãÓÚkernel¿ª·¢ºÍµ÷ÊÔ¡£kernelÖÐһЩÓëƽ̨Î޹صÄÄ£¿é£¬ÈçÎļþϵͳ£¬ÄÚ´æ¹ÜÀíµÈ£¬Ê¹ÓÃUMLµ÷ÊÔ¸ü¼Ó·½±ã¡£
 
ÔËÐÐUML
1. ×¼±¸ºÃÒ»¸örootfsµÄimgÎļþ
UMLÐèÒªÖ¸¶¨Ò»¸ö°üº¬ÍêÕû¸ùÎļþϵͳµÄimgÎļþ¡£Ê×ÏÈ´´½¨Ò»¸ö´óСΪ2GµÄimgÎļþ£¬È»ºó½«Æä¸ñʽ»¯Îªext3Îļþϵͳ¡£
# cd ~/uml
# dd if=/dev/zero of=rootfs.img bs=1M count=2048
# mkfs.ext3 rootfs.img
rootfs.imgʵ¼ÊÉÏÊÇÒ»¸öext3ÎļþϵͳµÄ´æ´¢É豸£¬µ«ÊÇ»¹Ã»ÓÐʲôÄÚÈÝ¡£ËùÒÔÏÖÔÚÒª×öµÄÊÇ£¬½«Ò»¸öÒÑÓеĸùÎļþϵͳ¿½±´µ½rootfs.imgÖУ¨¼ÙÉèÕâ¸ö¸ùÎļþÒѾ­´ò°üΪyour-rootfs.tar.gz£©£º
# mkdir uml-rootfs
# sudo mount -o loop rootfs.img uml-rootfs
# cd uml-rootfs
# tar xf your-rootfs.tar.gz
# cd ..
# umount uml-rootfs
»¹ÓÐÒ»ÖÖ°ì·¨ÖÆ×÷Ò»¸örootÎļþϵͳµÄimgÎļþ£¬¼ÙÉèÄã×Ô¼ºµÄlinux·¢Ðа棨Fedora, Ubuntu£¬etc£©ÊÇ°´ÕÕÔÚ/dev/sda5É豸ÉÏ£¬Äã¿ÉÒÔ½«Õû¸ö/dev/sda5¿½±´µ½Ò»¸öµ¥¶ÀµÄimgÎļþ£º
dd if=/dev/sda5 of=rootfs.img bs=1M count=2048
×¢ÒâÉÏÃæµÄcountÖ»ÓÐ2G£¬Èç¹û°²×°ÔÚ/dev/sda5µÄ¸ùÎļþϵͳ´óÓÚ2G£¬ÐèÒªÔö´ócountÖµ
2. ÒÔUMģʽ±àÒëlinuxÄÚºË
´Ókernel.orgÉÏÏÂÔØÒ»¸öÎȶ¨µÄkernel°æ±¾£¬È»ºóÒÔumģʽÖØбàÒ룺
# cd kernel-2.32.26.y
# make mrproper ARCH=um
# make defconfig ARCH=um
# make ARCH=um

³É¹¦±àÒëºó£¬ÔÚkernel-2.32.26.yÖлá³öÏÖÒ»¸öÃûΪlinuxµÄ¿ÉÖ´ÐÐÎļþ£¬Ëü¾ÍÊÇUML£¡
3. ÔËÐÐUML
# ./linux mem=512M ubda=~/uml/rootfs.img
Ò»¸öÓû§¿Õ¼äµÄlinux¾ÍÔËÐÐÁË....¿ªÔ´Á¦Á¿ºÜºÃºÜÇ¿´ó£¡
¸ü¶àUMLµÄÐÅÏ¢Çë²Î¿¼£º 
UMLÏîÄ¿Ê×Ò³£ºhttp://user-mode-linux.sourceforge.net/
ÏÂÒ»²½½«ÊÔÑéÈçºÎÔÚUMLÖе÷ÊÔkernelÄ£¿é¡£
 2010-2-2


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì(Áù) L2CAP±à³ÌʵÀý

ÀýÒ»£º·¢ËÍ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 ......

Linux»·¾³µÄAMP°²×° mbstring°²×°


LinuxÏÂmbstring°²×°
1¡¢ÓÃcdÃüÁî½øÈëphpµÄÔ´´úÂëĿ¼ÏµÄetc/mbstringĿ¼Ï£¬Èç“/src/php5.2.5”£¬¼´“cd /src/php5.2.5”;
2¡¢>/usr/local/php/bin/phpize £¨¼ÙÉèphp°²×°ÔÚ/usr/local/phpĿ¼Ï£©
3¡¢±àÒëÅäÖã¬>./configure --with-php-config=/usr/local/php/bin/php-config
4¡¢Ö´ÐÐ ......

ÔÚLinuxƽ̨ÏÂʹÓÃJNI


±¾ÎļòÒª½éÉÜÁËJNIµ÷Óù淶£¬¼°³£Óú¯Êý¡£²¢Í¨¹ý¾ßÌåʾÀý³ÌÐòչʾÁËʵÏÖÒ»¸ö±¾µØµ÷ÓõĻù±¾²½Öè¡£
ÒýÑÔ
Java
µÄ³öÏÖ¸ø´ó¼Ò¿ª·¢´øÀ´µÄ¼«´óµÄ·½±ã¡£µ«ÊÇ£¬Èç¹ûÎÒÃÇÓдóÁ¿Ô­Óеľ­¹ý¹ã·º²âÊԵķÇJava´úÂ룬½«ËüÃÇÈ«²¿ÓÃJavaÀ´ÖØд£¬¿ÖÅ»á´øÀ´¾Þ´óµÄ¹¤×÷Á¿ºÍ³¤
ÆڵIJâÊÔ£»Èç¹ûÎÒÃǵÄÓ¦ÓÃÖÐÐèÒª·ÃÎʵ½Ìض¨µÄÉ豸£¬ÉõÖÁÊǽ ......

linux ÏÂͨ¹ýwine ÔËÐÐwindows³ÌÐò°üÀ¨IE

Ubuntu9.10 ¾ÙÀý£¨ÒòΪËü·½±ã£¬N¶à¶«Î÷Ò»Ö±½ÓÔÚÏß°²×°£¬Ê¡µÃ±àÒëÁË£©£¬ÆäËûlinux»ù±¾Ïàͬ£¨²»Í¬µÄ¾ÍÊÇÓÐЩҪ½øÐÐÔ´Âë°²×°£¬µ«Óõ½µÄÈí¼þÊÇÒ»ÑùµÄ£©£¬Õû¸ö°²×°ÎÒÒÔ¾­×ö³É½Å±¾·Å·½±ãÏÂÔØ°²×°
°²×°ies4linuxÖв¿·Ö²Î¿¼×Ô£ºhttp://hi.baidu.com/unknown379/blog/item/df70c3ef54742d31adafd506.html
Éæ¼°µÄÈí¼þ
1¡¢wine£¬ÊÇÒ ......

ѧϰlinux¼¸µãÖÒ¸æ ת

LinuxmineÊÕ¼¯ÕûÀí ×÷Õߣºlinux±¦¿â (http://www.linuxmine.com) 1. ²»Òªµ±¡°´«½ÌÊ¿¡±
ºÜ¶àÈËÔÚÌÖÂÛÇø²»¶ÏµÄÒýÆð "Linux vs. Windows" Ö®ÀàµÄÌÖÂÛ£¬ÉõÖÁÕùµÄÃæºì¶ú³à£¬ÕâÊÇûÓбØÒªµÄ¡£
ÕâÖÖÕùÂÛÊÇÀË·Ñʱ¼ä¶øûÓÐÈκÎÓô¦µÄ¡£¶Ô£¬Ä㻨ÁËÒ»ÏÂÎ磬ÓÃÐí¶àÊÂʵ¡°º´ÎÀ¡±ÁË ¡°Linux ±È Windows ºÃ¡± Õâ¸ö˵·¨¡£µ«ÊÇ Win ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ