这篇文章讲的是虚拟机中如何安装VMwaretool的方法,希望可以帮助的有用的朋友


1、图形界面运行centos。

2、在虚拟机菜单栏中点击 虚拟机->安装 VMWARE TOOLS 子菜单,会弹出安装信息。

3、进入图形界面会看到CD/DVD已经加载VMware Tools。

4、运行终端,进入media目录,会看到VMware Tools

[root@zz /]# cd /media/
[root@zz media]# ls
VMware Tools

5、进入VMware Tools查看

[root@zz media]# cd VMware\ Tools/

[root@zz VMware Tools]# ls
manifest.txt run_upgrader.sh VMwaretools-9.6.1-1378637.tar.gz vmware-tools-upgrader-32 vmware-tools-upgrader-64

6、将VMwaretools-9.6.1-1378637.tar.gz拷贝到临时文件夹/tmp下

[root@zz VMware Tools]# cp VMwaretools-9.6.1-1378637.tar.gz /tmp

7、进入tmp目录,解压会产生vmware-tools-distrib文件

[root@zz tmp]# tar -zxvf VMwaretools-9.6.1-1378637.tar.gz

8、进入vmware-tools-distrib文件

[root@zz vmware-tools-distrib]# ls
bin doc etc FILES INSTALL installer lib vmware-install.pl
[root@zz vmware-tools-distrib]#

9、运行vmware-install.pl文件安装程序

[root@zhaozhe vmware-tools-distrib]# ./vmware-install.pl



详细操作过程:

因为我已经安装过,再次安装会提示你卸载,当出现(yes/no) 统一输入[yes],其他一律回车。

[root@zz vmware-tools-distrib]# ./vmware-install.pl A prevIoUs installation of VMware Tools has been detected.The prevIoUs installation was made by the tar installer (version 4).Keeping the tar4 installer database format.You have a version of VMware Tools installed. Continuing this install will first uninstall the currently installed version. Do you wish to continue? (yes/no) [yes] yesUninstalling the tar installation of VMware Tools.Stopping services for vmware-toolsvmware-tools stop/waitingStopping services for vmware-tools-thinprintinitctl: UnkNown instance: File /etc/pulse/default.pa is backed up to /etc/pulse/default.pa.old.2.The removal of VMware Tools 9.6.1 build-1378637 for Linux completed successfully.Installing VMware Tools.In which directory do you want to install the binary files? [/usr/bin] yesThe path "yes" is a relative path. Please enter an absolute path.In which directory do you want to install the binary files? [/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] In which directory do you want to install the daemon files? [/usr/sbin] In which directory do you want to install the library files? [/usr/lib/vmware-tools] The path "/usr/lib/vmware-tools" does not exist currently. This program is going to create it,including needed parent directories. Is this what you want?[yes] yesIn which directory do you want to install the documentation files? [/usr/share/doc/vmware-tools] The path "yes" is a relative path. Please enter an absolute path.In which directory do you want to install the documentation files? [/usr/share/doc/vmware-tools] The path "/usr/share/doc/vmware-tools" does not exist currently. This program is going to create it,including needed parent directories. Is this what you want? [yes] The installation of VMware Tools 9.6.1 build-1378637 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-tools.pl".yeBefore running VMware Tools for the first time,you need to configure it by invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want this program to invoke the command for you Now? [yes] s^HyesThe answer "yeyes" is invalid. It must be one of "y" or "n".Before running VMware Tools for the first time,you need to configure it by invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want this program to invoke the command for you Now? [yes] yesInitializing...Making sure services for VMware Tools are stopped.Found a compatible pre-built module for vmci. Installing it...Found a compatible pre-built module for vsock. Installing it...The module vmxnet3 has already been installed on this system by another installer or package and will not be modified by this installer.Use the flag --clobber-kernel-modules=vmxnet3 to override.The module pvscsi has already been installed on this system by another installer or package and will not be modified by this installer.Use the flag --clobber-kernel-modules=pvscsi to override.The module vmmemctl has already been installed on this system by another installer or package and will not be modified by this installer.Use the flag --clobber-kernel-modules=vmmemctl to override.The VMware Host-Guest Filesystem allows for shared folders between the host OS and the guest OS in a Fusion or Workstation virtual environment. Do you wish to enable this feature? [yes] Found a compatible pre-built module for vmhgfs. Installing it...Found a compatible pre-built module for vmxnet. Installing it...The vmblock enables dragging or copying files between host and guest in a Fusion or Workstation virtual environment. Do you wish to enable this feature?[yes] VMware automatic kernel modules enables automatic building and installation ofVMware kernel modules at boot that are not already present. This feature can beenabled/disabled by re-running vmware-config-tools.pl.Would you like to enable VMware automatic kernel modules?[yes] disabling timer-based audio scheduling in pulseaudio.Detected X server version 1.17.4distribution provided drivers for Xorg X server are used.Skipping X configuration because X drivers are not included.Creating a new initrd boot image for the kernel.vmware-tools-thinprint start/runningvmware-tools start/runningThe configuration of VMware Tools 9.6.1 build-1378637 for Linux for this running kernel completed successfully.You must restart your X session before any mouse or graphics changes take effect.You can Now run VMware Tools by invoking "/usr/bin/vmware-toolBox-cmd" from thecommand line.To enable advanced X features (e.g.,guest resolution fit,drag and drop,and file and text copy/paste),you will need to do one (or more) of the following:1. Manually start /usr/bin/vmware-user2. Log out and log back into your desktop session; and,3. Restart your X session.Enjoy,--the VMware team到此工具已经安装完成。

虚拟机中的centos安装VMwareTool的更多相关文章

  1. cocoapods – 命令/ bin / sh失败,退出代码23

    适用于所有豆荚,无需豆荚但仍然是同样的错误.有任何想法吗?

  2. XCode 5远程调试OS X应用程序

    我正在使用XCode5.0.2在OSX10.9上开发一个应用程序并获得了一个我无法在这台开发机器上重现的错误报告.但是,我有一个10.7虚拟机出现崩溃,所以我想调试那里没有在这个VM中安装XCode.我搜索了有关远程调试的信息,但我没有得到有用的答案.我甚至担心它根本不受支持.但无论如何我还是要问一下.或者,除了执行完整的XCode安装等之外,还有哪些其他选项来调试这样的问题?

  3. 当Xcode 4.6打开故事板时,ios – Xcode 5崩溃

    我从2个月前开始使用Xcode4.6的项目,现在我想发送给我的应用程序一切都可以,但是当我尝试在iOS7上运行应用程序时,我看到一些错误;所以我已经下载了新的Xcode5以查看错误在哪里,但是发生了什么事情是当我尝试打开与IBXcode崩溃的故事板.我试图在互联网上看到如何解决这个问题,但我没有找到任何关于这一点.此外,当我尝试使用iOS7在设备上运行应用程序时,Xcode给我的错误是:解决方法问

  4. Xcode 8.2,Swift编译器错误:错误:意外的输入文件

    从Xcode8.1更新到8.2后,我在项目中面临Swift编译器错误.我使用最新的Swift版本和Carthage进行依赖管理.它与Xcode8.1完美搭配,现在我已经尝试了几个小时来修复它,方法是清理DerivedData和Simulator数据,在Xcode中清理并删除Build文件夹,但似乎没有任何帮助.我只安装了一个Xcode版本.我得到以下编译错误:它所指的文件夹如下所示:它实际上在那里,所以我不知道发生了什么……如发现本站有涉嫌侵权/违法违规的内容,请发送邮件至dio@foxmail.com举

  5. cinder swift的区别

    [原]OpenStack入门以及一些资料之2014-4-29阅读1144评论0注:本文内容均来自网络,我只是在此做了一些摘抄和整理的工作,来源均有注明。它拥有自己的文件系统,通过网络文件系统NFS或通用文件系统CIFS对外提供文件访问服务。Raid,不同的raid等级在增加数据可靠性以及增加存储器(群)读写性能间取得平衡。卷组描述区域,和磁盘将包含分区信息的元数据保存在位于分区的起始位置的分区表中一样,逻辑卷以及卷组相关的元数据也是保存在位于物理卷的VGDA中。

  6. OpenStack中Swift和cinder区别

    swift是objectstorage,将object存储到bucket里,你可以用swift创建container,然后上传文件,例如视频,照片,这些文件会被replication到不同服务器上以保证可靠性,swift可以不依靠虚拟机工作。如果你把这个虚拟机terminate了,这个volume和里边的数据依然还在,你还可以把它接到其他虚拟机上继续使用里边的数据。cinder创建的volume必须被接到虚拟机上才能工作。

  7. Swift属性观察者在协议扩展?

    换句话说,我可以观察协议扩展中的属性的更改吗?这并不意味着它是不可能实现的,但如果我们有这样的话可能会有点令人惊讶.

  8. 解决Swift 3中缺少递归协议约束的问题

    Swift3目前对“递归协议约束”有一个限制.有一个公开的问题here,在here,here和here有类似的讨论.但是,我仍然没有看到应该如何解决这个限制.可能吗?或者我需要开始引入较不严格的协议,直到在Swift中实现?会出现.然而,通过这种方法,我们可以得到正确的类型,而无需做很多专业化.当然,可以添加更多的协议来获得更多的抽象,但同样的解决方案将会适用.由于某些原因/语言缺陷,您必须在View.foo中分配委托时使用显式转换:viewmodel.delegate=selfas?

  9. Android VM不允许我们分配xx字节

    我正在开发一款安卓游戏.当我尝试使用3张图像作为背景时问题就出现了.图像为1280x720px和100kb大.图像真的不是那么大,所以我有点困惑,为什么它们应该导致内存问题.注意:屏幕分辨率为800×400,因此我无法通过因子2调整图像大小,因为它是suggestedonandroiddeveloper注意:我正在使用HTC欲望手机(这里崩溃来了),我也尝试过在三星galaxyS1和三星上运行正常

  10. phonegap运行android – create命令失败,退出代码8 – linux

    我做了一些googleing但没有发现任何相关内容.任何帮助赞赏.请务必使用裸体vm进行尝试没有nodejs安装或依赖问题.基督教解决方法我刚刚面临同样的问题,问题是没有正确设置sdk工具的路径:请尝试以下方法:

随机推荐

  1. 在Win10 VMWare中运行WinPhone模拟器

    (为什么我为什么不首先备份VM?!

  2. Centos突然只读了,在vmware上……吓人

    我在VmWare上有一个虚拟的Centos5.6.突然,它停止工作,似乎文件系统只读.似乎here这是一个已知的“问题”.但我尝试了“解决方案”,我得到了:我不确切知道在dmesg中要查找什么…这里是对“只读”的唯一引用:当然一切都停止了,web服务器db,没有工作等等.我见过的最糟糕的问题,完全在黑暗中.任何建议欢迎.现在我试过了要求确认的错误太多了结束了然后嗯现在……shutdown-r现在什么都不做…

  3. centos – VMWare Fusion – 断电后的锁定文件

    这是Mac的一步一步:>退出VMWareFusion>找到VM文件并右键单击,选择“显示包内容”>将以.lck结尾的所有文件和文件夹移动到桌面>重新启动VMWareFusion>重新启动VM

  4. ubuntu 16.04下安装VMware-Workstation-12/14详细步骤

    1首先准备一个Ubuntu16.04系统2.使用多线程下载工具axel从VMware官方地址下载如下:$sudoapt-getinstallaxel$exel-n10https://download3.vmware.com/software/wkst/file/VMware-Workstation-Full-12.1.1-3770994.x86_64.bundle(-n选项指定线程的数目)3.赋予

  5. 如何在没有GUI的情况下在Ubuntu 9.10 Server 64位上安装VMware工具?

    主机操作系统:带有VMwareFusion2.0.6的MacOSX10.5我已成功在VMwareguest虚拟机上安装并运行Ubuntu9.10服务器版.当我选择我的VM并单击安装VMwareTools时,没有任何反应.有没有办法只通过CLI安装VMware工具?

  6. CentOS命令行下安装VMware tools

    安装完成后重启一下机器即完成安装:shutdown-rNow貌似确实要先把压缩包拷贝到其他的文件夹,不然的话,貌似tar命令没有生效~~~O(∩_∩)O~

  7. Centos 7 Minimal 版 安装vmware tools

    内核的initrd、vmlinux、grub文件位于/boot下。11、安装perl12、输入y同意安装13、perl安装完成界面安装toosl14、断开centosISO镜像15、在“虚拟设置”中修改配置,然后保存并开机16、在虚拟机上点击“安装VMwareTools”17、挂载光驱18、ls查看/mnt中的文件19、将/mnt中的"VMware-Tools-10.1.0-4449150.tar.gz"复制到/media/toosl目录中20、进入/media/toosl目录中,查看里面的文件21、解压

  8. centos 6.5安装VMware tools

    [root@master/]#mkdir/mnt/cdrom1.3将/dev/cdrom目录挂载到刚建立的/mnt/cdrom目录,这样在/mnt/cdrom目录就能看见VMwaretools的安装包,但是这个安装包是只读的,必须拷贝到用户自己的目录中才可以正常使用。[root@master/]#mount/dev/cdrom/mnt/cdrom1.4拷贝/mnt/cdrom目录下的VMwaretools的安装包到用户自己的目录,比如/root目录[root@master/]#cd/mnt/cdrom/[

  9. Minimal CentOS安装VMwareTools

    最简版的CentOS很多东西都没有,为了便于linux与客户机的交互,虚拟机会提示安装VMwaretools,确认登录客户机,挂载CD驱动器,然后解压tar压缩包,运行vmware-install.pl安装VMwaretools。以root身份登录系统;vmware-tools安装存在几个依赖,保证依赖包都安装完毕依次执行如下命令#yuminstall-yperl#yuminstall-ynet-tools#yuminstall-ygcc#yuminstall-ykernel-headers如果perl模

  10. Minamal CentOS安装VMwareTools

    最简版的CentOS很多东西都没有,为了便于linux与客户机的交互,虚拟机会提示安装VMwaretools,确认登录客户机,挂载CD驱动器,然后解压tar压缩包,运行vmware-install.pl安装VMwaretools。以root身份登录系统;vmware-tools安装存在几个依赖,保证依赖包都安装完毕依次执行如下命令#yuminstall-yperl#yuminstall-ynet-tools#yuminstall-ygcc#yuminstall-ykernel-headers如果perl模

返回
顶部