当前位置首页 > 计算机 > linux/Unix
搜柄,搜必应! 快速导航 | 使用教程

linux虚拟机安装使用课件

文档格式:PPTX| 36 页|大小 2.28MB|2024-11-02 发布|举报 | 版权申诉
第1页
第2页
第3页
下载文档到电脑,查找使用更方便 还剩页未读,继续阅读>>
1 / 36
此文档下载收益归作者所有 下载文档
  • 版权提示
  • 文本预览
  • 常见问题
  • 单击此处编辑母版文本样式,第二级,第三级,第四级,第五级,Linux,操作系统,‹#›,,单击此处编辑母版标题样式,,,,,,,,,,,,,Linux,操作系统,1,安装,vmware,,首先大家要下载,5.5.3,版,for linux,的包,如图所示,因为版本低的会出现找不到内核问题,Linux操作系统1 安装vmware 首先大家要下载5,1,Linux,操作系统,虚拟机,,,然后将该包解压缩我将该包全部文件解压到桌面上的,vmware-distrib,目录中)进入终端窗口后,输入,cd /root/Desktop/vmware-distrib,并回车,现在终端提示符变更为,[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,/,bin,文件夹中,回车后出现以下提示:,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 files? [/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 directory 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 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-uninstall.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 并回车后出现: 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 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 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? [/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 installed 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],回车后出现:,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/. modules 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/vmware-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,操作系统,,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 `/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 multiple 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,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 bridged,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 configuration 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 ways 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 will 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/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 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 kernel 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 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 VMware Workstation by invoking the following command: "/usr/bin/vmware". Enjoy, --the VMware team,到此,VMware,虚拟机安装完毕,自动返回到终端提示符状态下,输入,exit,退出终端。

    现在你可以在菜单中的系统工具中找到,VmwareWorkstation,图标,单击一下就可以运行了,第一次运行会出现下图:,Linux操作系统Bridged networking on,19,Linux,操作系统,,,点击,Accept,按钮后出现就可以进入虚拟机工作窗口了其实,该虚拟机软件的安装还是非常人性化,大家对照英文提示一步一步操作即可,基本选默认就行Linux操作系统 点击Accept按钮后出现就,20,Linux,操作系统,2,添加虚拟机,,配置好了,vmware,后需要输入软件的序列号,然后就可以添加并运行虚拟机了点击下面的按钮为系统添加一个虚拟机,Linux操作系统2 添加虚拟机 配置好了vmw,21,Linux,操作系统,,,在出现的向导窗口中点击“,next”,,在出现的图,1,中选择,custom,Linux操作系统 在出现的向导窗口中点击“nex,22,Linux,操作系统,,,点击“,next”,,出现图,2,中选择,New,-,workstation 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,,这样跑,xp,也不会太慢。

    Linux操作系统2 添加虚拟机 1 在图中选择处理,25,Linux,操作系统,,,Linux操作系统,26,Linux,操作系统,,,在图 中对虚拟磁盘建议设为,ide,硬盘,在图中对虚拟硬盘大小进行设置,Linux操作系统 在图 中对虚拟磁盘建议设为ide,27,Linux,操作系统,,,Linux操作系统,28,Linux,操作系统,,,指定好虚拟硬盘大小后点击,next,会出现一个虚拟磁盘存放位置的窗口,选好位置后点击“,finish”,就建立了一个可以运行,xp,的虚拟机,如图,Linux操作系统 指定好虚拟硬盘大小后点击nex,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,操作系统,,,安装完,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,。

    点击阅读更多内容
    卖家[上传人]:362620957361471980
    资质:实名认证
    相关文档
    正为您匹配相似的精品文档