Notes on building the MySQL test environment with VirtualBox

  • 2020-05-27 07:24:29
  • OfStack

Network environment:

Host: Win7
VirtualBox 4.1.4 + Ubuntu 11.10 server 64bit
When the host is using the network cable, the client is in Bridged Adapter mode, using Atheros AR8131 PCI-E Gigabit Ethernet Controller to surf the Internet without any problem.
When the host is using wireless, the client is in Bridged Adapter mode, using only 11 WIFI options, Microsoft Virtual Wifi Miniport Adapter also has no access to the Internet, so it is abandoned.

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


server environment:

 
sudo apt-get install tasksel 
sudo tasksel install openssh-server 


Set fixed IP:

 
sudo vi /etc/network/interfaces 
iface eth0 inet dhcp 
 left  
iface eth0 inet static 
address 192.168.1.78 
netmask 255.255.255.0 
gateway 192.168.1.1 

sudo vi /etc/resolv.conf 
nameserver 192.168.1.1 

sudo /etc/init.d/networking restart 


Related articles: