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

ÉîÈëdzÎöLinux¿âÎļþµÄËÑË÷·¾¶

linuxÓкܶàÖµµÃѧϰµÄµØ·½£¬ÕâÀïÎÒÃÇÖ÷Òª½éÉÜlinux¿âÎļþ£¬¾­¹ýËѼ¯ºÍÕûÀílinux¿âÎļþ²ÄÁÏ£¬ÔÚÕâÀïÄóöÀ´ºÍ´ó¼Ò·ÖÏíһϣ¬Ï£Íû´ó¼Ò¿´ºó»áÓв»ÉÙÊÕ»ñ¡£
linux¿âÎļþÔÚÁ¬½Ó£¨¾²Ì¬¿âºÍ¹²Ïí¿â£©ºÍÔËÐУ¨½öÏÞÓÚʹÓù²Ïí¿âµÄ³ÌÐò£©Ê±±»Ê¹Óã¬ÆäËÑË÷·¾¶ÊÇÔÚϵͳÖнøÐÐÉèÖõġ£
Ò»°ã Linux ϵͳ°Ñ /lib ºÍ /usr/lib Á½¸öĿ¼×÷ΪĬÈϵĿâËÑË÷·¾¶£¬ËùÒÔʹÓÃÕâÁ½¸öĿ¼ÖеĿâʱ²»ÐèÒª½øÐÐÉèÖÃËÑË÷·¾¶¼´¿ÉÖ±½ÓʹÓ᣶ÔÓÚ´¦ÓÚĬÈÏ¿âËÑË÷·¾¶Ö®ÍâµÄ¿â£¬ÐèÒª½«¿âµÄλÖÃÌí¼Óµ½¿âµÄËÑË÷·¾¶Ö®ÖС£
ÉèÖÃlinux¿âÎļþµÄËÑË÷·¾¶ÓÐÏÂÁÐÁ½ÖÖ·½Ê½£¬¿ÉÈÎÑ¡ÆäһʹÓãº
ÔÚ»·¾³±äÁ¿ LD_LIBRARY_PATH ÖÐÖ¸Ã÷¿âµÄËÑË÷·¾¶¡£
ÔÚ /etc/ld.so.conf ÎļþÖÐÌí¼Ó¿âµÄËÑË÷·¾¶¡£
½«×Ô¼º¿ÉÄÜ´æ·Å¿âÎļþµÄ·¾¶¶¼¼ÓÈëµ½/etc/ld.so.confÖÐÊÇÃ÷ÖǵÄÑ¡Ôñ
Ìí¼Ó·½·¨Ò²¼«Æä¼òµ¥£¬½«linux¿âÎļþµÄ¾ø¶Ô·¾¶Ö±½Óд½øÈ¥¾ÍOKÁË£¬Ò»ÐÐÒ»¸ö¡£
ÀýÈ磺
/usr/X11R6/lib
/usr/local/lib
/opt/lib
ÐèҪעÒâµÄÊÇ£ºµÚ¶þÖÖËÑË÷·¾¶µÄÉèÖ÷½Ê½¶ÔÓÚ³ÌÐòÁ¬½ÓʱµÄ¿â£¨°üÀ¨¹²Ïí¿âºÍ¾²Ì¬¿â£©µÄ¶¨Î»ÒѾ­×ã¹»ÁË£¬µ«ÊǶÔÓÚʹÓÃÁ˹²Ïí¿âµÄ³ÌÐòµÄÖ´Ðл¹ÊDz»¹»µÄ¡£ÕâÊÇÒòΪΪÁ˼ӿì³ÌÐòÖ´ÐÐʱ¶Ô¹²Ïí¿âµÄ¶¨Î»Ëٶȣ¬±ÜÃâʹÓÃËÑË÷·¾¶²éÕÒ¹²Ïí¿âµÄµÍЧÂÊ£¬ËùÒÔÊÇÖ±½Ó¶ÁÈ¡¿âÁбíÎļþ /etc/ld.so.cache ´ÓÖнøÐÐËÑË÷µÄ¡£/
etc/ld.so.cache ÊÇÒ»¸ö·ÇÎı¾µÄÊý¾ÝÎļþ£¬²»ÄÜÖ±½Ó±à¼­£¬ËüÊǸù¾Ý /etc/ld.so.conf ÖÐÉèÖõÄËÑË÷·¾¶ÓÉ /sbin/ldconfig ÃüÁÕâЩËÑË÷·¾¶ÏµĹ²Ïí¿âÎļþ¼¯ÖÐÔÚÒ»Æð¶øÉú³ÉµÄ£¨ldconfig ÃüÁîÒªÒÔ root ȨÏÞÖ´ÐУ©¡£Òò´Ë£¬ÎªÁ˱£Ö¤³ÌÐòÖ´ÐÐʱ¶Ô¿âµÄ¶¨Î»£¬ÔÚ /etc/ld.so.conf ÖнøÐÐÁË¿âËÑË÷·¾¶µÄÉèÖÃÖ®ºó£¬»¹±ØÐëÒªÔËÐÐ /sbin/ldconfig ÃüÁî¸üР/etc/ld.so.cache ÎļþÖ®ºó²Å¿ÉÒÔ¡£
ldconfig ,¼òµ¥µÄ˵£¬ËüµÄ×÷ÓþÍÊǽ«/etc/ld.so.confÁгöµÄ·¾¶ÏµÄlinux¿âÎļþ»º´æµ½/etc/ld.so.cache ÒÔ¹©Ê¹Óá£Òò´Ëµ±°²×°ÍêһЩ¿âÎļþ£¬(ÀýÈç¸Õ°²×°ºÃglib)£¬»òÕßÐÞ¸Äld.so.confÔö¼ÓеĿâ·¾¶ºó£¬ÐèÒªÔËÐÐһϠ/sbin/ldconfigʹËùÓеĿâÎļþ¶¼±»»º´æµ½ld.so.cacheÖУ¬Èç¹ûû×ö£¬¼´Ê¹¿âÎļþÃ÷Ã÷¾ÍÔÚ/usr/libϵģ¬Ò²ÊDz»»á±»Ê¹Óõģ¬½á¹û±àÒë¹ý³ÌÖб§´í£¬È±ÉÙxxx¿â£¬È¥²é¿´·¢ÏÖÃ÷Ã÷¾ÍÔÚÄÇ·Å×Å£¬¸ãµÄÏë´óÂîcomputer´ÀÖíÒ»¸ö¡£
ÔÚ³ÌÐòÁ¬½Óʱ£¬¶ÔÓÚlinux¿âÎļþ£¨¾²Ì¬¿âºÍ¹²Ïí¿â£©µÄËÑË÷·¾¶£¬³ýÁËÉÏÃæµÄÉèÖ÷½Ê½Ö®Í⣬»¹¿ÉÒÔͨ¹ý -L ²ÎÊýÏÔʽָ¶¨¡£ÒòΪÓà -L ÉèÖõÄ·¾¶½«±»ÓÅÏÈËÑË÷£¬ËùÒÔÔÚÁ¬½ÓµÄʱºòͨ³£¶


Ïà¹ØÎĵµ£º

linux ulimit ½²½â

1,˵Ã÷:
ulimitÓÃÓÚshellÆô¶¯½ø³ÌËùÕ¼ÓõÄ×ÊÔ´.
2,Àà±ð:
shellÄÚ½¨ÃüÁî
3,Óï·¨¸ñʽ:
ulimit [-acdfHlmnpsStvw] [size]
4,²ÎÊý½éÉÜ:
-H ÉèÖÃÓ²¼þ×ÊÔ´ÏÞÖÆ.
-S ÉèÖÃÈí¼þ×ÊÔ´ÏÞÖÆ.
-a ÏÔʾµ±Ç°ËùÓеÄ×ÊÔ´ÏÞÖÆ.
-c size:ÉèÖÃcoreÎļþµÄ×î´óÖµ.µ¥Î»:blocks
-d size:ÉèÖÃÊý¾Ý¶ÎµÄ×î´óÖµ.µ¥Î»:kbytes
-f size:ÉèÖô´½¨ ......

ÊÖ¶¯ÅäÖÃlinuxµÄIPµØÖ·

 linuxµÄÍø¿¨IPµØÖ·ÊÇ´æ·ÅÔÚÎĵµÖеģ¬Õâ¸öÅäÖÃÎĵµÔÚ/etc/sysconfig/network-scriptsÏ£¬Ãû³Æ·Ö±ðΪifcfg-eth0,ifcfg-eth1....¼ÙÈçÄúÓÐÒ»¿éÍø¿¨£¬¾ÍÖ»ÓÐifcfg-eth0Ò»¸öÎĵµ£¬¼ÙÈçÄúÓÐÁ½¿é»òÁ½¿éÒÔÉϵÄÍø¿¨£¬¾Í»áÓÐifcfg-eth1¡¢ifcfg-eth2µÈÎĵµµÄ³öÏÖ¡£
Îĵµ½á¹¹£º
DEVICE=eth0        &n ......

»ùÓÚǶÈëʽLinuxµÄÊÓƵͼÏñ²É¼¯Óë´«Êä

 
ÕªÒª:ÊÓƵͼÏñ²É¼¯¼°´¦Àí¼¼ÊõÔÚÔ¶³ÌÊÓƵ¼à¿ØºÍ¿ÉÊӵ绰ÖÐÓÐ׏㷺µÄÓ¦ÓÃÇ°¾°£¬Çý¶¯ÊÓƵ²É¼¯É豸ºÍ»ñÈ¡ÊÓƵÊý¾Ý²¢½øÐÐÏàÓ¦µÄ´¦Àí£¬ÊÇʵÏÖÕâЩӦÓõĻù´¡¡£Õë¶ÔÕâЩӦÓ㬹¹½¨ÁËÒ»¸ö»ùÓÚǶÈëʽ LinuxºÍ PXA270΢´¦ÀíÆ÷µÄÊÓƵ²É¼¯Óë´«Êäϵͳ£¬ÀûÓà Video4LinuxʵÏÖ USBÉãÏñÍ·ÊÓƵÊý¾Ý²É¼¯£¬²É¼¯µÄÊÓƵÊý¾Ý¾­ JPEGѹËõº ......

LinuxÖ¡»º³åÉ豸Çý¶¯³ÌÐò¿ò¼Ü¼°Í¼ÐνçÃæGUIµÄÒÆÖ²

Ó²¼þƽ̨
¡¡¡¡S3C2410XÊÇÈýÐǹ«Ë¾µÄ»ùÓÚARM920TµÄS3C2410XоƬ¡£S3C2410X¼¯³ÉÁËÒ»¸öLCD¿ØÖÆÆ÷(Ö§³ÖSTNºÍTFT´øÓд¥ÃþÆÁµÄÒº¾§ÏÔʾÆÁ)¡¢SDRAM¡¢´¥ÃþÆÁ¡¢USB¡¢SPI¡¢SDºÍMMCµÈ¿ØÖÆÆ÷£¬4¸ö¾ßÓÐPWM¹¦ÄܵļÆʱÆ÷ºÍ1¸öÄÚ²¿Ê±ÖÓ£¬8ͨµÀµÄ10λADC£¬117λͨÓÃI/O¿ÚºÍ24λÍⲿÖжÏÔ´£¬8ͨµÀ10λAD¿ØÖÆÆ÷£¬´¦ÀíÆ÷¹¤×÷ƵÂÊ×î¸ß´ïµ½203MH ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ