虚拟机网络设置

上传人:人*** 文档编号:470537578 上传时间:2023-03-06 格式:DOCX 页数:25 大小:1.35MB
返回 下载 相关 举报
虚拟机网络设置_第1页
第1页 / 共25页
虚拟机网络设置_第2页
第2页 / 共25页
虚拟机网络设置_第3页
第3页 / 共25页
虚拟机网络设置_第4页
第4页 / 共25页
虚拟机网络设置_第5页
第5页 / 共25页
点击查看更多>>
资源描述

《虚拟机网络设置》由会员分享,可在线阅读,更多相关《虚拟机网络设置(25页珍藏版)》请在金锄头文库上搜索。

1、段时间来想学习一下Linux+Oracle,当然第一步就是搭建一个学习的环境,根据网上搜来的文档,成功的把在RHEL5安装成功了Oracle 11g 数据库,现将其记录在案如下:一 VMware 6.0中RHEL 5系统的安装1.准备安装源,在虚拟机中你可以选择两种方式来安装Linux系统,一是直接使用安装光盘来安装,这是最方便的;二是使用ISO镜像文件来安装。因为我直接有个安装光盘,所以我选择了第一种方式,要装的是RHEL5版本的Linux系统。2安装好虚拟机以后(我的是VMware 6.0),新建一个虚拟机,其实就是在磁盘中划分一块地方出来进行格式化,建立适合安装Linux 的虚拟磁盘和搭

2、建必要的硬件环境,这个过程步骤如下:(1)在Home选项卡页面上,点击New Virtual Machine,再点击Next后进入下面的界面:Hev Virtual Kachine VizardSelect the Appropri ate Confi gTErati onHow would you prefer to coni gure your new virtual machine?.Virtual machine-configurationO IvpicalCreate a neUv-virtual machine with the most common deieeand Confi

3、guration options.This Workstation 6.x virtual machine-Jwjll not be compatible with ESX Server s3Xi.Server I.ACE Workstation 5,! or older versions.Choose this option if you need to create a virtual machine 硬ith additional devices op specific- configuration option; or if you need to jeate a virtual ma

4、chin亡hardware compatibility requirements(2)在上面的界面上,默认是Typical,但是我想自定义创建,所以选择Custom,点击Next后进入下面的界面:Lcmpahible Produc IsanaaaiaaaWarkstaticnGIT+Choos e Ite lTir tiial lackine Hai-d-Tare Coapa-libiLi tyWhich 1l:=lt:=lte e:=LtrETE百:=: e net!iled for thi e vir + u:=l1 machi ne?I l ESX Server CompatibleLu

5、rntations:8.0 GE: memory limit2 p rocesscr liiriit10 Ethernet adapter limitVirhjdl rridchine h引ck冋呂 cornpatibilityHardAare corripatibilil:/:授相区ACEh. !-Liion 1. k Workstation 5.x(3)在上面的界面中可以选择不同版本的Works tat ion,当然版本越高,所支持的硬件环境也越好,但是这受限于你本身的硬 件,在这里我选了 Wors tat ion 6,再Nex t:(4)在上面的界面中可以选择不同的系统,我选择了 RHE

6、L 5, Next后填好虚拟机的名字和存放位置,再Next:Hu曹 i.rt口al i&achine Vizard.fetwori TypeWhat type q n.ework ip- you want to-, ad.d.7NetworkconnectiorCf U-se bridged networkingGive the guest operatinghem direct aGMito an eKternal Ethernet network. The guest msthave iFbj.n IP address on the ewlernal network-O Use netwo

7、rk address translation NATGive the guest peratingpsiem accesio the ho si computer dial-up or fexternal Ethernet nelwOFktonneQtion using the hos IP addrS&:匹J坐.l:F也.旦世巨为!也Corinect the guest operating system to $ private virtual network on the ho$t conputer.Nev Virtual lachine Ti.zardSelect I/O Adapter

8、 TypesWhich adapteir type would you like to use?I/O adapter typesIDE Adapter:ATAPiPSCSi Adapters?BujLogiciLSI Loyid(5)上面四个界面分别是设置CPU个数,内存,网络,I/O总线类型的,最好根据自己的电脑具体情况来定,其中前面三个设置在新建完虚拟机后还可以修改,但是I/O总线类型就修改不了,所以慎重选择!l上一步I)Virtual XachD.iLe WizardSelect a. list卅hi ch link dQ you want this drive 1q use?Disk

9、(JiCreate a neirtuai di.skA yiFtual disk ipirposed cf one or more hl耳耳:Dn the host File:3ystem/hich,lyjill appear as a Single hard diskto the guest operating siistem. Virtual diaki-can eaaily be:h:Qpiecl or rmoed on lhe sne host or between hosls.O Use an ejirsting yirtual dikChoate this option to r&

10、ue a previously configured disk.O U总e adrsk (for advanced uscfsChoose thi? option to give the.virtual machine direqVacc to local hard disk.Ne Virtual Iachi.ne WizardSpecify Disk Capa=cityH?w large do you vraztt this disk to b?Di 枣fmpmuityThis virtual disk can rever b& larger than the nnswiiriurin ta

11、pscj that yoizt here.Disk she (GBj:I I Allocate all disk: space now:Ely slloncstirig the full caps ci tp of the. virtual disk, you enhance perfornnsHfe of yciin virtual machine. HoVeverj lhe diskill take longer to create and there must be enough space on the hostJi physical disk.If jiou do not alloc

12、ate diskspace now.youfrtual disk files-wil!.tart rnallthenbecome larger atvou ddd applicationfiles, and data to vour;Virtual machine.Split disk-into 2 GE files.技相区上一步迦1厉廿R严门凡(6)上面四个界面是涉及到磁盘空间的设置,在这里我选择了新建一个虚拟磁盘区,此磁盘类型为IDE(这个也要根据自己的机子 的硬盘类型来设置,不然到后面安装系统是会报找不到磁盘!),大小为16GB,如果勾选了设置磁盘大小界面上的Alocateall dis

13、k space now,则磁盘大小就固定了,以后将不会随着你的系统增大而增大,而且这样创建虚拟机的过程会很慢!所以就不勾选这个选项了,这样这个虚拟磁盘会随着你的虚拟系统的增大而增大(当然这受限于其所在的物理磁盘的大小)!3在步骤2完成后,会新生成一个选项卡,界面如下:Oh vices:J MemoryQHard Disk (IDE 0:0jCD-ROM (IDE 1:我: 昼Floppy Hl Ether netUSB CuntroilerSound Adaptu- 匸 J D i zpl ay 籬 FrocesEoi E1024 MB16.0 GBAuto dmtect Auto d.e:t

14、ect HuEt-orily Fresentwww. itjmj.corn弹出界面如下:这里就是我的虚拟系统的硬件设备信息,现在涉及到安装系统,那么CD-ROM这个设备我们是要用到的,双击CD-ROM所在的行,在此界面上,可以看到有两种方式可以作为虚拟机的CD-ROM,一是物理的设备,一是ISO镜像文件,如果使用物理设备,你只需要选择对应的盘符即可,在这里我的物理光驱的盘符是 F;4把RHEL 5的安装光盘放进我的物理光驱里,启动虚拟机,不出意外的话,那么就进入了 RHEL 5的图形安装界面,一般选择图形安装,这一步比较简单,基本上默认就可以了,至此Linux的安装可以完成了.二VMware

15、6.0中RHEL 5系统的网络配置安装完成了,可能你会很郁闷的发现,在虚拟机的linux系统中却不能访问外网,你的主机(应该是Windows系统)也不能访问虚拟机中的linux系统,那么现在我们就来了解如何来进行网络设置,你可能会注意到,在创建虚拟机的时候就有一个界面上是选择以太网的类型的,在VMware中,有四种的联网方式:Network CQnneGtionbridged:匚口门nected directly to the physical network:NAT: Used tochare the hosEsrlP address下面就这四种联网方式进行详细的说明:(1)Bridged:这种方式是直接连接,

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 学术论文 > 其它学术论文

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号