加入收藏 | 设为首页 | 会员中心 | 我要投稿 辽源站长网 (https://www.0437zz.com/)- 云专线、云连接、智能数据、边缘计算、数据安全!
当前位置: 首页 > 综合聚焦 > 编程要点 > 语言 > 正文

用VirtualBox构建MySQL测试环境笔记

发布时间:2018-04-16 20:03:40 所属栏目:语言 来源:程序猿
导读:用VirtualBox构建MySQL测试环境笔记 网络环境: 宿主机:Win7 VirtualBox 4.1.4 + Ubuntu 11.10 server 64bit 宿主机使用网线的时候,客户机在Bridged Adapter模式下,使用Atheros AR8131 PCI-E Gigabit Ethernet Controller上网没问题。 宿主机使用无线的

用VirtualBox构建MySQL测试环境笔记

网络环境:

宿主机: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

sudo tasksel install openssh-server

设定固定IP:

sudo vi /etc/network/interfaces

iface eth0 inet dhcp

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

文章来自http://www.wanyangok.com/供稿,转载必保留链接!

(编辑:辽源站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读