Using VirtualBox to build a MySQL test environment

Source: Internet
Author: User

Network Environment:

HOST: Win7

VirtualBox 4.1.4 + Ubuntu 11.10 server 64bit

When the host uses a network cable, the client uses the Atheros AR8131 PCI-E Gigabit Ethernet Controller in Bridged Adapter mode to access the Internet.

When the host uses wireless connection, the client uses the only WIFI option in the Bridged Adapter mode, and the Microsoft Virtual Wifi Miniport Adapter cannot access the Internet.

During installation, the server uses dhcp to dynamically obtain the IP address.

 

Server environment:

Sudo apt-get install tasksel
Sudo tasksel install openssh-server

Set a fixed IP Address:

Sudo vi/etc/network/interfaces

Iface eth0 inet dhcp
Bytes
Iface eth0 inet static
Address.
Netmask.
Gateway.

Sudo vi/etc/resolv. conf
Nameserver.

Sudo/etc/init. d/networking restart



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.