ºìÁªLinuxÃÅ»§
Linux°ïÖú
µ±Ç°Î»ÖÃ: ºìÁªLinuxÃÅ»§ > Ubuntu

VirtualBoxÉÏÃæÐéÄâUbuntu²»ÄÜÉÏÍøµÄ½â¾ö·½·¨

·¢²¼Ê±¼ä:2007-10-28 01:01:31À´Ô´:ºìÁª×÷Õß:derVdsaea
Êܹ»ÁËVMware ServerµÄµÍÏÂЧÂÊ£¬×ªÏòÁËʹÓÃVirtualBox¡£ ²»¹ýÂíÉÏÒ²Óöµ½ÁËUbuntuÐéÄâ»ú²»ÄÜÉÏÍøµÄÎÊÌâ¡£µ±È»£¬ÔÚVirtualBox¹Ù·½ÂÛ̳ÉÏÃæÕÒµ½ÁËÅäÖ÷½·¨¡£ÏÂÃæ¾ÍÊDZ¾È˶ÔÔ­ÎĵÄÒ»µã´Ödz·­Ò룬½ö¹©²Î¿¼¡£

1. ÔÚhostÉÏÃæ²é¿´DNS·þÎñÆ÷ÅäÖá£ÔÚWindows hostÉÏÃ棬´ò¿ª¿ªÊ¼²Ëµ¥|¸½¼þ|ÃüÁîÌáʾ·û£¬È»ºóÊäÈëipconfig /all¡£»Ø³µ¿ªÊ¼Ö´ÐС£ÓñʼǼDNS·þÎñÆ÷µÄÐÅÏ¢ÒÔ±¸ºóÃæʹÓá£

2. ½«VirtualBoxµÄÍøÂçÉèÖÃÉèΪNATÀàÐÍ¡£Æô¶¯Ubuntu Linux guest¡£´ò¿ªSystem|Administration|Network²Ëµ¥£¬Ñ¡ÔñWired Connection£¬µ¥»÷Properties°´Å¥£¬½«ÆäÖÐÅäÖøÄΪDHCP£¬±£´æ¡£ÖØÆôUbuntu¡£

3. ÔÚÖØÆôºóµÄUbuntuÖдò¿ªSystem|Administration|Network Tools²Ëµ¥¡£½«¶Ô»°¿òÖм䲿λµÄÏÂÀ­ÁбíÑ¡µ½Ethernet Interface£¬È»ºó¿ÉÒÔ¿´µ½¶Ô»°¿òÏÂÃæÏÔʾ³öVirtualBox¸øUbuntu·ÖÅäµÄIP£¬¼Ç¼IPºÍ×ÓÍøÑÚÂë¡£

4. ÔÚͬһ¸ö¶Ô»°¿òÄÚ£¬Ñ¡ÔñNetstat±êÇ©£¬È»ºóµã»÷Â̼ýÍ·»ñÈ¡Routing Table Information¡£×¢Òâ±í¸ñÖÐÓÐÒ»ÁÐΪGateway£¬Çë¼Ç¼ÆäÖв»ÊÇÈ«ÁãµÄÄÇÒ»¸öIPµØÖ·¡£

5. »Øµ½2Öмä´ò¿ªµÄNetwork¶Ô»°¿ò£¬´ò¿ªÊôÐÔ£¬½«ÀàÐÍ´ÓDHCP¸ÄΪStatic IP¡£ÊäÈë¸Õ²Å3ÖмǼµÄIPµØÖ·ºÍ×ÓÍøÑÚÂë¡£ÔÙÊäÈë4²½ÖèÖмǼµÄGatewayµÄIPµØÖ·¡£

6. ±£´æ£¬Í˳öProperties£¬µ«²»Òª¹Ø±ÕNetwork¶Ô»°¿ò¡£Çл»µ½DNS±êÇ©£¬É¾³ýÕâÀï×Ô¶¯ÉèÖõÄDNS·þÎñÆ÷ÐÅÏ¢¡£È»ºóÌí¼Ó1Öмä¼Ç¼µÄDNS·þÎñÆ÷¡£ÖØÆôUbuntu¡£

×öÍêÉÏÃ漸²½£¬ÄãµÄUbuntuÓ¦¸ÃÓÖ¿ÉÒÔÁ¬ÉÏÍøÂçÁË¡£
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 0 ÌõÆÀÂÛ