LinuxÃüÁîÐÐÏÂÍøÂçÅäÖÃ
¶¯Ì¬»ñÈ¡IP
ÐéÄâ»úµÄÍø¿¨Ê¹ÓÃNATµÄÁ¬½Ó·½Ê½£¨Ã»°ì·¨£¬µ¥Î»Ò»¸ö¶Ë¿ÚÖ»ÔÊÐí1¸öIP£¬Á¬hub¶¼Ã»·¨Óã©
pwd> vi /etc/sysconfig/network-scripts/ifcfg-eth0
BOOTPROTOµÄÖµ¸ÄΪdhcp£¬²¢±£´æ
ifdown eth0; ifup eth0;ÖØÆôÍø¿¨
ifconfig ·¢ÏÖ±»·ÖÅäÁ˸öIP£º10.0.2.15
ping www.163.com ͨ¹ý
¾²Ì¬ÉèÖÃIP
´ýÐø....
Ïà¹ØÎĵµ£º
2¡£ ¼¼ÊõÍøµã£º
csdn.net
chinaunix.net
ibm.com/developerworks/cn/linux
LinuxÄÚ´æʹÓÃÏê½â£º
http://blog.chinaunix.net/u2/67750/showart_2154542.html
3¡£ Linux¼¼Êõµã
ϵͳ¹ÜÀíÃüÁî(expect.)
shell±à³Ì
ÕýÔò±í´ïʽ
busybox
Îļþϵͳ
4¡£ ÆäËü¼¼Êõµã
pclint£¨¾²Ì¬´úÂë¼ì²é¹¤¾ß£©
source monitor ......
inuxµÄchmodÃüÁîʹÓÃÏê½â
ʹÓ÷½Ê½ : chmod [-cfvR] [--help] [--version] mode file...
˵Ã÷ : Linux/Unix µÄµµ°¸´æȡȨÏÞ·ÖΪÈý¼¶ : µµ°¸ÓµÓÐÕß¡¢Èº×é¡¢ÆäËû¡£ÀûÓà chmod ¿ÉÒÔ½åÒÔ¿ØÖƵµ°¸ÈçºÎ±»ËûÈËËù´æÈ¡¡£
mode : ȨÏÞÉ趨×Ö´® ......
ʵÑé5 ½ø³Ì¹ÜÀí
Ò»¡¢ÊµÑéÄ¿µÄ£º
1. Á˽â½ø³ÌÓë³ÌÐòµÄÇø±ð£¬¼ÓÉî¶Ô½ø³Ì¸ÅÄîµÄÀí½â¼Ó£»
2£® ÕÆÎÕ½ø³Ì²¢·¢Ö´ÐеÄÔÀí£¬¼°ÆäËùÒýÆðµÄͬ²½¡¢»¥³âÎÊÌâµÄ·½·¨
¶þ¡¢ÊµÑéÒªÇó£º
Íê³ÉʵÑéÄÚÈݲ¢Ð´³öʵÑ鱨¸æ£¬±¨¸æÓ¦¾ßÓÐÒÔÏÂÄÚÈÝ£º
1£® Ê ......
#protect share data
spin_lock/spin_unlock: protect the data during process context(and only at process context), and make sure your code bewteen lock/unlock is fast enough.There may deadlock if the same spin_lock is called at interrupt context.
spin_lock_irq/spin_unlock_irq: call it during interru ......
Ubuntu Linuxϵͳ»·¾³±äÁ¿ÅäÖÃÎļþ½éÉÜ
·¢²¼Ê±¼ä£º2007.12.19 06:30 À´Ô´£ºÈüµÏÍø ×÷Õߣºsixth
ÔÚUbuntuÖÐÓÐÈçϼ¸¸öÎļþ¿ÉÒÔÉèÖû·¾³±äÁ¿
/etc/profile:ÔڵǼʱ,²Ù×÷ϵͳ¶¨ÖÆÓû§»·¾³Ê±Ê¹ÓõĵÚÒ»¸öÎļþ,´ËÎļþΪϵͳµÄÿ¸öÓû§ÉèÖû·¾³ÐÅÏ¢,µ±Óà ......