热门标签 | HotTags
当前位置:  开发笔记 > 运维 > 正文

在FedoraCore里启动VMwareWorkstation二

文章标题:在FedoraCore里启动VMwareWorkstation二。Linux是中国IT实验室的一个技术频道。包含桌面应用,Linux系统管理,内核研究,嵌入式系统和开源等一些基本分类

  我们可以修改一些安装问题的缺省答案,下面介绍一些安装时所必须回答的问题:
  
  1.In which directory do you want to install the binary files?[/usr/bin]
  
  询问二进制可执行文件的安装路径,缺省是/usr/bin目录,此参数无需自定义。
  
  2.In which directory do you want to install the library files? [/usr/lib/vmware]
  
  询问库文件的安装路径,缺省是/usr/lib/vmware目录,此参数无需自定义。
  
  3.In which directory do you want to install the manual files? [/usr/share/man]
  
  询问VMware帮助手册的安装路径,缺省是/usr/share/man目录,可以指定其它目录。
  
  4.In which directory do you want to install the documentation files? [/usr/share/doc/vmware]
  
  询问VMware文档的安装路径,缺省是/usr/share/doc/vmware目录,可以指定其它目录。
  
  5.What is the directory that contains the init directories (rc0.d/ to rc6.d/)? [/etc/rc.d]
  
  询问系统里哪个目录包含初始化目录,缺省是rc0.d/~rc6.d/,除非Linux系统是别的目录,否则无需修改。
  
  6.What is the directory that contains the init scripts? [/etc/rc.d/init.d]
  
  询问系统里哪个目录包含初始化脚本文件,缺省是/etc/rc.d/init.d,除非Linux系统是别的目录,否则无需修改。
  
  回答完上面这些问题,将会出现以下信息,提示VMware Workstation已经成功安装,可以用“/usr/bin/vmware-uninstall.pl”命令卸载VMware Workstation。
  
  The installation of VMware Workstation 4.0.5 build-6030
  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".
  
  请注意,如果采用RPM格式封装的安装发布包,则安装过程十分简单,只需要在命令提示符下运行以下命令即可:
  
  [root@peter root] # rpm -Uhv VMware-.rpm
  
  其中,VMware-.rpm用实际的软件包名称代替。
  
  尽管RPM格式安装起来更加方便,但是还是推荐使用tar.gz封装的源代码安装包,因为这样有更多可自定义的安装选项。
  
  为了能够正确地安装VMware Workstation,强烈推荐完全安装Fedora Core 1.0,以免安装程序提示缺少什么组件,同时不要升级Linux内核。
  
  VMware的网络配置
  
  安装好VMware Workstation,只能算是万里长征走完了第一步。在第一次运行VMware Workstation之前,还需要对其进行网络配置,安装必须的网络组件。这一步可以说是关键中的关键。
  
  安装好tar安装包,系统会提示是否需要自动运行vmware-config.pl配置脚本,选择“yes”,然后接受最终用户许可协议(EULA:End User License Agreement)。
  
  接下来系统会提示需要把vmmon模块编译进系统内核。由于Fedora Core 1.0所使用的usr/bin/gcc版本(3.2.3)和所需的GCC版本(3.2.2)不符合,配置程序警告说可能导致VMware Workstation崩溃,不要理会VMware的警告,键入“yes”,并回车开始强行编译。
  
  接下来会出现以下提问:
  What is the location of the directory of C header files
  that match your running kernel?
  [/lib/modules/2.4.22-1.2115.nptl/build/include]
  
  这是系统询问匹配当前内核的C头文件的存放路径,按回车键接受默认路径/lib/modules/2.4.22-1.2115.nptl/build/include。
  
  然后系统开始编译。如果最后出现以下提示信息,则说明编译成功,模块已经加载到系统内核:
  
  The module loads perfectly in the running kernel.
  
  接下来会询问一些配置过程所必须回答的问题,这是一个关键。很多朋友抱怨他们的VMware Workstation老是不听使唤,无法使用其网络功能,究其原因是因为没有正确地回答这些问题。下面就详细解释这些重要问题。
  
  1.Do you want networking for your virtual machines? (yes/no/help)
  
  这是询问是否需要进行虚拟机的网络配置,回答“yes”。如果回答“no”,则中止配置过程。键入“help”即可查看详细帮助信息:
  
  Networking will allow your virtual machines to use a virtual network.
  There are primarily two types of networking available: bridged and host-only.
  A bridged network is a virtual network that is connected to an existing
  ethernet device. With a bridged network, your virtual machines will be able to
  communicate with other machines on the network to which the ethernet
  card is attached. A host-only network is a private network between your
  virtual machines and host. Virtual machines connected to a host-only
  network may only communicate directly with other virtual machines or the host.
  A virtual machine may be configured with more than one bridged or host-only
  network.
  
  配置程序允许虚拟机使用虚拟网络,有两种类型的网络配置:Bridge(网桥)模式和Host-only(仅宿主机模式)。网桥网络是连接到物理网卡上的虚拟网络,虚拟机可以通过网桥网络连接外部网络──通过物理网卡连接的外部网络。
  
  仅宿主机网络是仅供宿主机、虚拟机通信的虚拟网络,Host-only网络上的虚拟机只能和宿主机、或其它虚拟机直接通信。一个虚拟机可以同时配置多个Bridged网络或Host-only网络。
  
  回答“yes”后,将会出现以下提示信息,表示系统正在配置桥接网络组件(vmnet0)和NAT网络组件(vmnet8):
  
  Configuring a bridged network for vmnet0.
  Configuring a NAT network for vmnet8.
  
  2.Do you want this program to probe for an unused private subnet? (yes/no/help)
  
  这是询问是否需要配置程序搜索未使用的专用子网地址,这里可以回答“yes”。如果不明白这个问题的具体含义,只要键入“help”即可查看详细帮助信息:
  
  Virtual machines configured to use NAT networking are placed on a
  virtual network that is confined to this host. Virtual machines on
  this network can communicate with the network through the NAT process,
  with each other, and with the host.
  
  虚拟专用网络上的虚拟机是通过NAT进程来和宿主机、其它虚拟机进行通信。
  
  To setup NAT networking you need to select a network number that is
  normally unreachable from the host. We can automatically select this
  number for you, or you can specify a network number that you want.
  
  要正确设置NAT网络,必须选择一个从宿主机无法访问的网络地址。配置程序可以为我们自动选择一个合适的网络地址,或者也可以自己指定一个网络地址。
  
  The automatic selection process works by testing a series of Class
  C subnet numbers to see if they are reachable from the host.
  The first one that is unreachable is used. The subnet numbers are
  chosen from the private network numbers specified by the Internet
  Engineering Task Force (IETF) in RFC 1918
  (http://www.isi.edu/in-notes/rfc1918.txt).
  
  配置程序可以自动测试一组C类网络地址来查看是否可以从宿主机访问,配置程序会自动选择第一个无法访问的网络地址。
  
  Virtual machines residing on the NAT network will appear as the
  host when accessing the network. These virtual machines on the
  NAT network will not be accessible from outside the host machine.
  This means that it is OK to use the same number on different systems
  so long as you do not enable IP forwarding on the host.
  
  NAT网络上的虚拟机可以像宿主机一样访问外部网络,但是外部网络的计算机无法访问NAT网络上的虚拟机。这意味着只要不启用宿主机的IP转发功能,不同的虚拟机就可以采用同一个IP地址。
  
  回答“yes”之后,系统将出现以下提示信息,表示已经搜索到一个合适的网络地址(192.168.120.0,子网掩码255.255.255.0)。
  
  Probing for an unused private subnet (this can take some time)...
  The subnet 192.168.120.0/255.255.255.0 appears to be unused.
  ……
  
  3.Do you want this program to automatically configure your system to allow your virtual machines to access the host's filesystem? (yes/no/help)
  
  这是询问是否需要配置程序自动配置系统,使得虚拟机可以访问宿主机的文件系统。按“help”查看帮助信息:
  
  To configure your system for host filesystem access,
  the program will install VMware's networking software
  to allow your virtual machines to use the network.
  It will also install a private Samba server to export
  your host's filesystem on a virtual network th
推荐阅读
  • 优化联通光猫DNS服务器设置
    本文详细介绍了如何为联通光猫配置DNS服务器地址,以提高网络解析效率和访问体验。通过智能线路解析功能,域名解析可以根据访问者的IP来源和类型进行差异化处理,从而实现更优的网络性能。 ... [详细]
  • 本文详细分析了JSP(JavaServer Pages)技术的主要优点和缺点,帮助开发者更好地理解其适用场景及潜在挑战。JSP作为一种服务器端技术,广泛应用于Web开发中。 ... [详细]
  • Linux 系统启动故障排除指南:MBR 和 GRUB 问题
    本文详细介绍了 Linux 系统启动过程中常见的 MBR 扇区和 GRUB 引导程序故障及其解决方案,涵盖从备份、模拟故障到恢复的具体步骤。 ... [详细]
  • 本文详细介绍了如何在BackTrack 5中配置和启动SSH服务,确保其正常运行,并通过Windows系统成功连接。涵盖了必要的密钥生成步骤及常见问题解决方法。 ... [详细]
  • 1:有如下一段程序:packagea.b.c;publicclassTest{privatestaticinti0;publicintgetNext(){return ... [详细]
  • 本文详细介绍了如何在Linux系统上安装和配置Smokeping,以实现对网络链路质量的实时监控。通过详细的步骤和必要的依赖包安装,确保用户能够顺利完成部署并优化其网络性能监控。 ... [详细]
  • 1.如何在运行状态查看源代码?查看函数的源代码,我们通常会使用IDE来完成。比如在PyCharm中,你可以Ctrl+鼠标点击进入函数的源代码。那如果没有IDE呢?当我们想使用一个函 ... [详细]
  • CentOS7源码编译安装MySQL5.6
    2019独角兽企业重金招聘Python工程师标准一、先在cmake官网下个最新的cmake源码包cmake官网:https:www.cmake.org如此时最新 ... [详细]
  • 本文详细介绍了 Dockerfile 的编写方法及其在网络配置中的应用,涵盖基础指令、镜像构建与发布流程,并深入探讨了 Docker 的默认网络、容器互联及自定义网络的实现。 ... [详细]
  • 掌握Linux:基础命令入门
    本章节深入浅出地介绍了Linux系统中的基本命令操作,帮助读者快速上手并理解其核心功能。 ... [详细]
  • 解决Linux系统中pygraphviz安装问题
    本文探讨了在Linux环境下安装pygraphviz时遇到的常见问题,并提供了详细的解决方案和最佳实践。 ... [详细]
  • 本文介绍了一款用于自动化部署 Linux 服务的 Bash 脚本。该脚本不仅涵盖了基本的文件复制和目录创建,还处理了系统服务的配置和启动,确保在多种 Linux 发行版上都能顺利运行。 ... [详细]
  • 在哈佛大学商学院举行的Cyberposium大会上,专家们深入探讨了开源软件的崛起及其对企业市场的影响。会议指出,开源软件不仅为企业提供了新的增长机会,还促进了软件质量的提升和创新。 ... [详细]
  • CMake跨平台开发实践
    本文介绍如何使用CMake支持不同平台的代码编译。通过一个简单的示例,我们将展示如何编写CMakeLists.txt以适应Linux和Windows平台,并实现跨平台的函数调用。 ... [详细]
  • 在Linux系统中配置并启动ActiveMQ
    本文详细介绍了如何在Linux环境中安装和配置ActiveMQ,包括端口开放及防火墙设置。通过本文,您可以掌握完整的ActiveMQ部署流程,确保其在网络环境中正常运行。 ... [详细]
author-avatar
mobiledu2502924817
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有