Home > Database > Mysql Tutorial > body text

用VirtualBox构建MySQL测试环境笔记_MySQL

WBOY
Release: 2016-06-01 13:30:58
Original
931 people have browsed it

bitsCN.com

网络环境:

宿主机:Win7

VirtualBox 4.1.4 + Ubuntu 11.10 server 64bit

宿主机使用网线的时候,客户机在Bridged Adapter模式下,使用Atheros AR8131 PCI-E Gigabit Ethernet Controller上网没问题。

宿主机使用无线的时候,客户机在Bridged Adapter模式下,使用可选项里唯一一个WIFI选项,Microsoft Virtual Wifi Miniport Adapter也无法上网,故弃之。

安装时候server用dhcp来动态获取IP地址。

 

server环境:

sudo apt-get install tasksel<br>sudo tasksel install openssh-server
Copy after login

设定固定IP:

sudo vi /etc/network/interfaces<br><br>iface eth0 inet dhcp <br>↓<br>iface eth0 inet static <br>address 192.168.1.78 <br>netmask 255.255.255.0 <br>gateway 192.168.1.1<br><br>sudo vi /etc/resolv.conf<br>nameserver 192.168.1.1<br><br>sudo /etc/init.d/networking restart 
Copy after login



bitsCN.com
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template