linux虚拟机安装使用课件

上传人:3626209****147198... 文档编号:250401058 上传时间:2024-11-02 格式:PPTX 页数:36 大小:2.28MB
收藏 版权申诉 举报 下载
linux虚拟机安装使用课件_第1页
第1页 / 共36页
linux虚拟机安装使用课件_第2页
第2页 / 共36页
linux虚拟机安装使用课件_第3页
第3页 / 共36页
资源描述:

《linux虚拟机安装使用课件》由会员分享,可在线阅读,更多相关《linux虚拟机安装使用课件(36页珍藏版)》请在装配图网上搜索。

1、,单击此处编辑母版文本样式,第二级,第三级,第四级,第五级,Linux,操作系统,‹#›,,单击此处编辑母版标题样式,,,,,,,,,,,,,Linux,操作系统,1,安装,vmware,,首先大家要下载,5.5.3,版,for linux,的包,如图所示,因为版本低的会出现找不到内核问题,Linux操作系统1 安装vmware 首先大家要下载5,1,Linux,操作系统,虚拟机,,,然后将该包解压缩。(我将该包全部文件解压到桌面上的,vmware-distrib,目录中)进入终端窗口后,输入,cd /root/Desktop/vmware-distrib,并回车,现在终端提示符变更为,[

2、root@localhost vmware-distrib]#,,,输入,./vmware-install.pl,并回车出现以下提示:,Creating a new installer database using the tar3 format. Installing the content of the package. In which directory do you want to install the binary files? [/usr/bin],Linux操作系统虚拟机,2,Linux,操作系统,虚拟机,,这个选项是问你是否想要把二进制可执行文件放入默认的/,usr,/,b

3、in,文件夹中,回车后出现以下提示:,What is the directory that contains the init directories (rc0.d/ to rc6.d/)? [/etc/rc.d],回车后出现:,What is the directory that contains the init scripts? [/etc/rc.d/init.d],Linux操作系统虚拟机 这个选项是问你是否想要把二,3,Linux,操作系统,虚拟机,回车后出现:,In which directory do you want to install the library fil

4、es? [/usr/lib/vmware],回车后出现:,The path "/usr/lib/vmware" does not exist currently. This program is going to create it, including needed parent directories. Is this what you want? [yes],输入,y,后并回车,系统自动建立相关文件夹并复制相关文件,需要等一会,可以看见光标闪呀闪,然后会出现:,Linux操作系统虚拟机回车后出现: In which di,4,Linux,操作系统,虚拟机,In which directo

5、ry do you want to install the manual files? [/usr/share/man],回车后出现:,In which directory do you want to install the documentation files? [/usr/share/doc/vmware],回车后出现:,The path "/usr/share/doc/vmware" does not exist currently. This program is going to create it, including needed parent directories. Is

6、 this what you want? [yes],Linux操作系统虚拟机In which directory,5,Linux,操作系统,虚拟机,输入,y,并回车后出现:,The installation of VMware Workstation 5.5.3 build-34685 for Linux completed successfully. You can decide to remove this software from your system at any time by invoking the following command: "/usr/bin/vmware-u

7、ninstall.pl". Before running VMware Workstation for the first time, you need to configure it by invoking the following command: "/usr/bin/vmware-config.pl". Do you want this program to invoke the command for you now? [yes],第一段的意思是告诉用户将来可以用,/usr/bin/vmware-uninstall.pl,命令来卸载该软件,Linux操作系统虚拟机输入y 并回车后出现

8、: The i,6,Linux,操作系统,虚拟机,,第二段的意思是在该虚拟机第一次运行前必须对它用,/usr/bin/vmware-config.pl,这个命令进行配置,你现在是否执行?当然了,回车,然后会出现下面的提示:,Making sure services for VMware Workstation are stopped. Stopping VMware services: Virtual machine monitor [,确定,] You must read and accept the End User License Agreement to continue.Press

9、 enter to display it.,最后一段话是让用户阅读并接受该软件的授权许可,按回车键显示,你也可以按住回车键不放,会发现屏幕在飞快地向上滚动,同时最下面的一行会有一个百分比数字在增加,全部显示完毕后会出现:,Do you accept? (yes/no),Linux操作系统虚拟机 第二段的意思是在该虚拟机,7,Linux,操作系统,1,安装,vmware,续,,这里必须输入,y,,然后出现以下提示:,Thank you. Configuring fallback GTK+ 2.4 libraries. In which directory do you want to

10、install the mime type icons? [/usr/share/icons],回车后出现:,What directory contains your desktop menu entry files? These files have a .desktop file extension. [/usr/share/applications],Linux操作系统1 安装vmware 续 这里必,8,Linux,操作系统,虚拟机,回车后出现:,In which directory do you want to install the application‘s icon?

11、 [/usr/share/pixmaps],回车后出现:,Trying to find a suitable vmmon module for your running kernel. None of the pre-built vmmon modules for VMware Workstation is suitable for your running kernel. Do you want this program to try to build the vmmon module for your system (you need to have a C compiler instal

12、led on your system)? [yes],输入,y,并回车后出现:,Linux操作系统虚拟机回车后出现: In wh,9,Linux,操作系统,虚拟机,Using compiler "/usr/bin/gcc". Use environment variable CC to override. What is the location of the directory of C header files that match your running kernel? [/lib/modules/2.6.18-1.2798.fc6/build/include],回车后出现

13、:,Extracting the sources of the vmmon module. Building the vmmon module. Using 2.6.x kernel build system.,Linux操作系统虚拟机Using compiler "/u,10,Linux,操作系统,,make: Entering directory `/tmp/vmware-config0/vmmon-only' make -C /lib/modules/2.6.18-1.2798.fc6/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. module

14、s make[1]: Entering directory `/usr/src/kernels/2.6.18-1.2798.fc6-i686' CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o CC [M] /tmp/vmware-config0/vmmon-only/linux/hostif.o CC [M] /tmp/vmware-config0/vmmon-only/common/cpuid.o CC [M] /tmp/vmware-config0/vmmon-only/common/hash.o CC [M] /tmp/vmwar

15、e-config0/vmmon-only/common/memtrack.o CC [M] /tmp/vmware-config0/vmmon-only/common/phystrack.o CC [M] /tmp/vmware-config0/vmmon-only/common/task.o CC [M] /tmp/vmware-config0/vmmon-only/common/vmx86.o CC [M] /tmp/vmware-config0/vmmon-only/vmcore/moduleloop.o,Linux操作系统make: Entering direct,11,Linux,操

16、作系统,,LD [M] /tmp/vmware-config0/vmmon-only/vmmon.o Building modules, stage 2. MODPOST CC /tmp/vmware-config0/vmmon-only/vmmon.mod.o LD [M] /tmp/vmware-config0/vmmon-only/vmmon.ko make[1]: Leaving directory `/usr/src/kernels/2.6.18-1.2798.fc6-i686' cp -f vmmon.ko ./../vmmon.o make: Leaving directory

17、`/tmp/vmware-config0/vmmon-only' The module loads perfectly in the running kernel. Do you want networking for your virtual machines? (yes/no/help) [yes],最后一行是问你是否需要虚拟机能够运行网络,当然选是,输入,y,并回车出现:,Linux操作系统LD [M] /tmp/vmware-co,12,Linux,操作系统,,Configuring a bridged network for vmnet0. Your computer has mul

18、tiple ethernet network interfaces available: eth0, eth1. Which one do you want to bridge to vmnet0? [eth0],这里是让你配置真实网卡与虚拟网卡桥接的,注意,第二段可能每个人的机器显示会不一样,如果机器上只有一块网卡就没有选择的余地了,因为我家里的台式机有两块网卡,,eth1,是连接,ADSL,宽带用的,,eth0,是与笔记本电脑进行双机互联用的,所以我选,eth0,,请大家根据自己的实际情况配置,输入,eth0,后回车出现:,Linux操作系统Configuring a bridged,13

19、,Linux,操作系统,,The following bridged networks have been defined: . vmnet0 is bridged to eth0 Do you wish to configure another bridged network? (yes/no) [no],你是否需要配置另一个桥接网络,这里默认的选项是,no,,回车后出现:,Do you want to be able to use NAT networking in your virtual machines? (yes/no) [yes],Linux操作系统The following b

20、ridged,14,Linux,操作系统,1,安装,vmware,再续,回车后出现:,Configuring a NAT network for vmnet8. Do you want this program to probe for an unused private subnet? (yes/no/help) [yes] Probing for an unused private subnet (this can take some time)... Either your host is not connected to an IP network, or its network co

21、nfiguration does not specify a default IP route. Consequently, the subnet 172.16.40.0/255.255.255.0 appears to be unused. This system appears to have a DHCP server configured for normal use. Beware that you should teach it how not to interfere with VMware Workstation's DHCP server. There are two way

22、s to do this: 1) Modify the file /etc/dhcpd.conf to add something like: subnet 172.16.40.0 netmask 255.255.255.0 {,Linux操作系统1 安装vmware 再续回车后出现:,15,Linux,操作系统,,1) Modify the file /etc/dhcpd.conf to add something like: subnet 172.16.40.0 netmask 255.255.255.0 { # Note: No range is given, vmnet-dhcpd w

23、ill deal with this subnet. } 2) Start your DHCP server with an explicit list of network interfaces to deal with (leaving out vmnet8). e.g.: dhcpd eth0 Consult the dhcpd(8) and dhcpd.conf(5) manual pages for details. Hit enter to continue.,按一下回车键并出现:,Do you wish to configure another NAT network? (yes

24、/no) [no],Linux操作系统1) Modify the file /e,16,Linux,操作系统,,回车后出现:,Do you want to be able to use host-only networking in your virtual machines? [yes],回车后出现:,Configuring a host-only network for vmnet1. Do you want this program to probe for an unused private subnet? (yes/no/help) [yes],回车后出现:,Consult the

25、 dhcpd(8) and dhcpd.conf(5) manual pages for details. Hit enter to continue.,Linux操作系统回车后出现: Do you want t,17,Linux,操作系统,,回车,系统在进行相关配置后出现:,Do you wish to configure another host-only network? (yes/no) [no],回车后出现:,Extracting the sources of the vmnet module. Building the vmnet module. Using 2.6.x kern

26、el build system. make: Entering directory `/tmp/vmware-config0/vmnet-only' make -C /lib/modules/2.6.18-1.2798.fc6/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/kernels/2.6.18-1.2798.fc6-i686',Linux操作系统回车,系统在进行相关配置后出现: Do,18,Linux,操作系统,,Bridged networking

27、 on /dev/vmnet0 [,确定,] Host-only networking on /dev/vmnet1 (background) [,确定,] Host-only networking on /dev/vmnet8 (background) [,确定,] NAT service on /dev/vmnet8 [,确定,] The configuration of VMware Workstation 5.5.3 build-34685 for Linux for this running kernel completed successfully. You can now run

28、 VMware Workstation by invoking the following command: "/usr/bin/vmware". Enjoy, --the VMware team,到此,VMware,虚拟机安装完毕,自动返回到终端提示符状态下,输入,exit,退出终端。现在你可以在菜单中的系统工具中找到,VmwareWorkstation,图标,单击一下就可以运行了,第一次运行会出现下图:,Linux操作系统Bridged networking on,19,Linux,操作系统,,,点击,Accept,按钮后出现就可以进入虚拟机工作窗口了。其实,该虚拟机软件的安装还是非常人性

29、化,大家对照英文提示一步一步操作即可,基本选默认就行。,Linux操作系统 点击Accept按钮后出现就,20,Linux,操作系统,2,添加虚拟机,,配置好了,vmware,后需要输入软件的序列号,然后就可以添加并运行虚拟机了。点击下面的按钮为系统添加一个虚拟机,Linux操作系统2 添加虚拟机 配置好了vmw,21,Linux,操作系统,,,在出现的向导窗口中点击“,next”,,在出现的图,1,中选择,custom,Linux操作系统 在出现的向导窗口中点击“nex,22,Linux,操作系统,,,点击“,next”,,出现图,2,中选择,New,-,w

30、orkstation 5,后点击“,next”,,出现图,3,选,microsoft windows,,并在,version,中选择,windows xp professional,,点击“,next”,,出现图,4,指定虚拟机名称和文件安装路径,点击“,next”,Linux操作系统 点击“next”,出现图2中选,23,Linux,操作系统,,,Linux操作系统,24,Linux,操作系统,2,添加虚拟机,1,,在图中选择处理器的个数,点击“,next”,,在出现的图中对虚拟机的内存进行设置,这里请根据自己机器的实际情况配置,如本人是,1024,内存,则把虚拟机内存设为,512

31、,,这样跑,xp,也不会太慢。,Linux操作系统2 添加虚拟机 1 在图中选择处理,25,Linux,操作系统,,,Linux操作系统,26,Linux,操作系统,,,在图 中对虚拟磁盘建议设为,ide,硬盘,在图中对虚拟硬盘大小进行设置,Linux操作系统 在图 中对虚拟磁盘建议设为ide,27,Linux,操作系统,,,Linux操作系统,28,Linux,操作系统,,,指定好虚拟硬盘大小后点击,next,会出现一个虚拟磁盘存放位置的窗口,选好位置后点击“,finish”,就建立了一个可以运行,xp,的虚拟机,如图,Linux操作系统 指定好虚拟硬盘大小后点击ne

32、x,29,Linux,操作系统,,,Linux操作系统,30,Linux,操作系统,2,添加虚拟机,2,,选择,Power on this virtual machine,就可以运行虚拟机,选择,Edit virtual machine settings,还可以对虚拟机配置进行设置,例如虚拟机中的光驱是使用本地物理光驱还是使用,iso,镜像文件等。 我们把虚拟机的光驱设为使用物理光驱后放入,xp,安装光盘,启动虚拟机就可以安装,xp,了,如图,Linux操作系统2 添加虚拟机 2 选择 Power,31,Linux,操作系统,,,Linux操作系统,32,Linux,操作系统,

33、,,安装完,xp,系统后,一定要安装,vmware tools,,这样可以加快虚拟机中,xp,的显示速度和鼠标的运行速度,方法为进入虚拟机中的,xp,系统后,点击,vmware workstation,的菜单栏中的“,vm”,,在弹出的下拉菜单中点击,,,这时虚拟机中的光驱会出现一个光盘,一般会自动运行并安装,vmwaretools,(装完后要再点击“,Install vmware tools”,,以便去掉虚拟机里光驱的光盘)。 还可以在,vmware workstation,中指定一个,linux,中的目录作为,share,目录来让虚拟机中的,xp,使用,linux,本地文件,如图,Linux操作系统 安装完xp 系统后,一定要安装v,33,Linux,操作系统,,,Linux操作系统,34,Linux,操作系统,2,添加虚拟机,3,,添加完后在,xp,中的网络就可以看见,linux,下,share,目录了,如图,16,所示。,Linux操作系统2 添加虚拟机 3 添加完后在xp,35,再见!,再见!,36,

展开阅读全文
温馨提示:
1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
2: 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
3.本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

相关资源

更多
正为您匹配相似的精品文档
关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们

copyright@ 2023-2025  sobing.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!