ÊÖ¶¯ÅäÖÃlinuxµÄIPµØÖ·
linuxµÄÍø¿¨IPµØÖ·ÊÇ´æ·ÅÔÚÎĵµÖеģ¬Õâ¸öÅäÖÃÎĵµÔÚ/etc/sysconfig/network-scriptsÏ£¬Ãû³Æ·Ö±ðΪifcfg-eth0,ifcfg-eth1....¼ÙÈçÄúÓÐÒ»¿éÍø¿¨£¬¾ÍÖ»ÓÐifcfg-eth0Ò»¸öÎĵµ£¬¼ÙÈçÄúÓÐÁ½¿é»òÁ½¿éÒÔÉϵÄÍø¿¨£¬¾Í»áÓÐifcfg-eth1¡¢ifcfg-eth2µÈÎĵµµÄ³öÏÖ¡£
Îĵµ½á¹¹£º
DEVICE=eth0 //Ö¸³öÉ豸Ãû³Æ
BOOTPROTO=static //Æô¶¯ÀàÐÍ
BROADCAST=192.168.1.255 //¹ã²¥µØÖ·
HWADDR=00:06:5B:FE:DF:7C //Ó²¼þMacµØÖ·
IPADDR=192.168.1.4 //IPµØÖ·
NETMASK=255.255.255.0 //×ÓÍøÑÚÂë
NETWORK=192.168.1.0 //ÍøÂçµØÖ·
ONBOOT=yes //ÊÇ·ñÆô¶¯Ó¦ÓÃ
TYPE=Ethernet //ÍøÂçÀàÐÍ
±à¼ÅäÖÃÎļþ¾ÍÊÇÕâÑùÁË
±£´æÍ˳öºó£¬ÅªÆäÍøÂç·þÎñÉúЧ
# service network restart
# setup
Õâ¸öÊÇͼÐλ¯µÄÅäÖù¤¾ß£¬Ñ¡network configureÅäÖþÍOKÁË
Ïà¹ØÎĵµ£º
2009 Äê 4 ÔÂ 23 ÈÕ
±¾ÎÄÖÐÎÒÃÇÕë¶Ô Linux É϶àÏ̱߳à³ÌµÄÖ÷ÒªÌØÐÔ×ܽá³ö 5 Ìõ¾Ñ飬ÓÃÒÔ¸ÄÉÆ Linux ¶àÏ̱߳à³ÌµÄϰ¹ßºÍ±ÜÃâÆäÖеĿª·¢ÏÝÚå¡£ÔÚ±¾ÎÄÖУ¬ÎÒÃÇ´©²åһЩ Windows µÄ±à³ÌÓÃÀýÓÃÒÔ¶Ô±È Linux ÌØÐÔ£¬ÒÔ¼ÓÉî¶ÁÕßÓ¡Ïó¡£
±³¾°
Linux ƽ̨ÉϵĶàÏ̳߳ÌÐò¿ª·¢Ïà¶ÔÓ¦ÆäËûƽ̨£¨±ÈÈç Windows£©µÄ¶àÏß³Ì API ÓÐһЩϸ΢ ......
Ô´´ÎÄÕ£¬×ªÔØÇë×¢Ã÷³ö´¦£¬Ð»Ð»£¡
×÷ÕߣºÇåÁÖ£¬²©¿ÍÃû£º·É¿Õ¾²¶É
ÔÚwindowsÏÂ×ö¹ý·´»ã±àµÄÈË£¬¹À¼Æ¶¼ÈÏʶollydbgÕâÑùÈí¼þ¡£Ã»´í£¬ollydbgÊÇwindowÏÂ×öÆÆ½âÈí¼þºÍ·´»ã±àÈí¼þÈËÊ¿µÄÀûÆ÷¡£ÏÖÔÚ½éÉÜÒ»¸öºÍollydbgÒ»ÑùµÄÈí¼þ£¬µ«ËüÊÇÔÚlinuxÏÂÔËÐÐµÄ --- EDG¡£
Õâ¸öÈí¼þµÄ×÷Õß±¾À´ÊǸöÈí¼þ·´»ã±àÈËÊ¿£¬ÔÚwindowsϾ³£·´»ã±à ......
ÔÚPOSIXÖУ¬±ãÓÐ×ÅÖ§³ÖÕýÔò±í´ïʽµÄϵͳº¯Êý¡£GNU/LinuxÓÐÁ½Ì׿â¿ÉÓÃÓÚÕýÔò±í´ïʽ±à³Ì£ºPOSIX¿âºÍPCRE¿â¡£Ç°Õß²»ÐèÒªµ¥¶À°²×°£¬Ò»°ãÐèÇó»¹ÊÇÄÜÂú×ãµÄ£¬ËÙ¶ÈÉÔÂýЩ¡£ºóÕßÊǾøºÊ¢ÃûµÄPerlÕýÔò±í´ïʽ¿â£¬¹¦ÄÜÇ¿´ó£¬Æ¥ÅäËٶȿ죬²»¹ý¿ÉÄÜÐèÒªµ¥¶À°²×°¡£
int regcomp (regex_t *compiled, const char *pattern, int cflags)
& ......
×÷Õß:Hoyt Email:hoytluo@21cn.comÔÎĵØÖ· http://wiki.chinaunix.net/index.php/Zhuan_c7
ǰÑÔ: LinuxÏÂÏ̵߳Ĵ´½¨ºÍ»ù±¾µÄʹÓÃ
Ï̵߳Äͬ²½ºÍ»¥³â
Ï̵߳ÄÌõ¼þ±äÁ¿
ÏȽéÉÜʲôÊÇÏß³Ì.ÎÒÃDZàдµÄ³ÌÐò´ó¶àÊý¿ÉÒÔ¿´³ÉÊǵ¥Ï̵߳Ä.¾ÍÊdzÌÐòÊǰ´ÕÕÒ»¶¨µÄ ˳ÐòÀ´Ö´ÐÐ.Èç¹ûÎÒÃÇʹÓÃÏ̵߳ϰ,³ÌÐò¾Í»áÔÚÎÒÃÇ´´½¨Ï߳ɵĵط½ ......
Linux²Ù×÷ϵͳÏÂÒÔÌ«Íø¿¨µÄ°²×°¼°ÅäÖÃ
¡¾ÍøÑ¶ÍøÂçͨÐÅѧԺ¡¿
Linux²Ù×÷ϵͳÒÔÆä¶ÀÓеĿª·ÅÐÔ¡¢Îȶ¨ÐÔ¡¢¸ßЧÂʵÈÌØµã£¬Êܵ½Ô½À´Ô½¶àÓÐʶ֮ʿµÄÇàíù¡£Ëæ×ÅIT²úÒµ¾ÞÍ··×·×Ðû²¼¶ÔLinuxµÄÖ§³Ö£¬LinuxÕýÔÚѸËÙÀ©Õ¹ÆäÓ¦ÓÃÊг¡£¬ÌرðÊÇ·þÎñÆ÷Êг¡¡£ÔÚ±ê×¼ÉÏ£¬LinuxÓëPOSIX1003.1¼æÈÝ£¬µ«Ëü¾ßÓбÈÒÔסµÄUNIXÏµÍ ......