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

½â¾övmwareÉÏclone linuxÐéÄâ»úºó eth0²»´æÔÚµÄÎÊÌâ

ÎÄÕÂ×÷ÕߣºSlyar ÎÄÕÂÀ´Ô´£ºSlyar Home (www.slyar.com) תÔØÇë×¢Ã÷£¬Ð»Ð»ºÏ×÷¡£
¸øÅ®ÅóÓѸ´ÖÆÁËÒ»·ÝÎÒÅäÖúõÄUbuntu Server Vmware vmdk£¬ÔÚËýµçÄÔÉÏÓÃÕâ¿éÐéÄâÓ²ÅÌн¨³öµÄUbuntuÒ²ÄÜÓã¬Î¨Ò»ÓÐÎÊÌâµÄ¾ÍÊÇÕÒ²»µ½Íø¿¨ÁË£¬Ìáʾ"No such device eth0"...
½â¾ö¹ý³Ì²»Ð´ÁË£¬·´ÕýºÄµôÁËÎҺü¸¸öСʱ...
Ô­ÒòÊÇVmware±£´æµÄÓ²¼þÅäÖÃÎļþ*.vmxÀï¼Ç¼ÁËÍø¿¨µÄMACµØÖ·£¬¶øUbuntuÒ²»á¼Ç¼MACµØÖ·£¬ÕâÑùÔÚ¿Ë¡ÐéÄâ»úµÄʱºò£¬Vmware»áΪUbuntu·ÖÅäÒ»¸öеÄeth0Íø¿¨£¬µ«ÊÇÓÉÓÚ±»Ö®Ç°µÄeth0Õ¼Óã¬ËùÒÔËü»á±ä³Éeth1¡£ÔÙÒòΪeth0ÊÇĬÈϵÄÍø¿¨£¬ÏÔÈ»Õâ¸öÍø¿¨²»´æÔÚ£¬ËùÒÔ¾ÍÌáʾ"No such device eth0"..
Ubuntu±£´æMACµØÖ·µÄÅäÖÃÎļþΪ"/etc/udev/rules.d/70-persistent-net.rules"£¬ÎÒ×°µÄÊÇ9.10°æ±¾£¬8.04ÒÔºóµÄ°æ±¾Ó¦¸Ã¶¼ÊÇÕâ¸ö½â¾ö·½·¨:
·½·¨1:Ö±½Óɾ³ýÅäÖÃÎļþ
Ö±½Óɾ³ýÅäÖÃÎļþ£¬ÖØÆôÖ®ºóUbuntu¾Í»áÕÒµ½ÐµÄÍø¿¨ÁË¡£
sudo rm /etc/udev/rules.d/70-persistent-net.rules
·½·¨2:ÐÞÕýÅäÖÃÎļþ
ÐÞ¸ÄÅäÖÃÎļþ£¬½«Ô­±¾µÄeth0ɾ³ý£¬È»ºóÐÞ¸Äeth1µÄNAME="erh1"ΪNAME="eth0"£¬ÖØÆôÖ®ºóUbuntu¾Í»áʹÓÃеÄÅäÖÃÎļþÉèÖÃÍø¿¨ÁË¡£
ÐÞ¸ÄÇ°µÄ /etc/udev/rules.d/70-persistent-net.rules ÏñÕâÑù:
# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:50:XX:XX", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:85:XX:XX", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
½«ËüÐÞ¸ÄΪ:
# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:85:XX:XX", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"


Ïà¹ØÎĵµ£º

LinuxÄÚºËÅäÖÃÎĵµ(make menuconfig)

Ò»¡¢ÒýÑÔ£º
    ±¾ÎĵµµÄÄÚÈݴ󲿷ÝÄÚÈݶ¼ÊÇ´ÓÍøÉÏÊÕ¼¯¶øÀ´£¬È»ºóÅäºÏһЩеĽØͼ£¨Äں˰汾£ºV2.4.19£©¡£ÔÚÿһÅäÖÃÏîºó»áÓÐÒ»¸öÑ¡ÔñÖ¸ÄϵIJ¿·Ý£¬ÓÃÀ´Ö¸µ¼´ó¼ÒÔõôÑù¸ù¾Ý×Ô¼ºµÄÇé¿öÀ´×öÏàÓ¦µÄÑ¡Ôñ£»»¹ÓÐÔÚÿһ¸ö´óÏîºÍÎĵµµÄ×îºó»áÓÐÒ»¸ö¾­Ñé̸£¬ËüÊÇһЩ¸ßÊÖÃÇÔÚÓ¦¶ÔÎÊÌâºÍ´¦ÀíÌØÓÐÓ²¼þʱµÄһЩ¾­Ñ飨Õâ¸ö»¹µ ......

ÔÚLinuxÏ£¬°²×°Mysql£¨tar£©

# cd /home/tmp (½øÈëѹËõ°üËùÔÚĿ¼)
# groupadd mysql (½¨Á¢mysql×é)
# useradd -g mysql mysql (ÔÚmysql×éÖн¨Á¢mysqlÓû§)
# tar -zxvf mysql-5.0.37.tar.gz (½âѹmysqlÔ´Âë,bz2ѹËõ°üÇëÓÓtar -jvxf ÎļþÃû”Ö¸Áî)
# cd mysql-5.0.37 (½øÈë½âѹĿ¼)
# ./configure --prefix=/usr/local/mysql (p ......

¡¶Essential Linux Device Drivers¡·ÖÐÎÄ°æµÚ1ÕÂ




-Ëᦻª(Barry Song)
Linux¾ßÓÐÓÕÈ˵Ä÷ÈÁ¦£¬ËüÊÇÒ»¸öÓÉÈ«ÊÀ½ç²»Í¬Ãñ×å¡¢²»Í¬ÐÅÑö¡¢²»Í¬ÐÔ±ðµÄÈ˹²Í¬²ÎÓëºÍЭ×÷µÄ¹ú¼ÊÐÔÏîÄ¿¡£LinuxÃâ·ÑÌṩԴ´úÂ룬²¢ÇÒ¾ßÓÐÓëUnixÀàËƵÄΪÈËÃÇËùÊìϤµÄÓ¦ÓóÌÐò±à³Ì»·¾³£¬ÕâÒ»ÇÐÔì¾ÍÁËËü½ñÌìµÄ¾Þ´ó³É¹¦¡£Í¨¹ý»¥ÁªÍø´Óר¼Ò´¦¼´Ê±»ñµÃµÄ¸ßÖÊÁ¿µÄÃâ·ÑÖ§³ÖÒ²·¢»ÓÁËÖØÒª× ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ