VMware14 安装 vmware-tools使桌面铺满屏幕


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

The installer has detected an existing installation of open-vm-tools packages 
on this system and will not attempt to remove and replace these user-space 
applications. It is recommended to use the open-vm-tools packages provided by 
the operating system. If you do not want to use the existing installation of 
open-vm-tools packages and use VMware Tools, you must uninstall the 
open-vm-tools packages and re-run this installer.
The packages that need to be removed are:
open-vm-tools
The installer will next check if there are any missing kernel drivers. Type yes
if you want to do this, otherwise type no [yes] 


INPUT: [yes]  default


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] 


INPUT: [yes]  default


Uninstalling the tar installation of VMware Tools.






manageSELinux uninstall: Unable to remove vmtools_t permissive mapping.
There was an error configuring the SELinux security context for VMware Tools.  
Please make certain that SELinux is configured correctly.


Stopping services for VMware Tools


Stopping vmware-tools (via systemctl):  [  确定  ]


Stopping Thinprint services in the virtual machine:
   Stopping Virtual Printing daemon:                                   done




The removal of VMware Tools 10.2.5 build-8068393 for Linux completed 
successfully.


Installing VMware Tools.


In which directory do you want to install the binary files? 
[/usr/bin] 
INPUT: [/usr/bin]  default


What is the directory that contains the init directories (rc0.d/ to rc6.d/)? 
[/etc/rc.d] 
INPUT: [/etc/rc.d]  default


What is the directory that contains the init scripts? 
[/etc/rc.d/init.d] 
INPUT: [/etc/rc.d/init.d]  default


In which directory do you want to install the daemon files? 
[/usr/sbin] 


INPUT: [/usr/sbin]  default


In which directory do you want to install the library files? 
[/usr/lib/vmware-tools] 


INPUT: [/usr/lib/vmware-tools]  default


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] 


INPUT: [yes]  default


In which directory do you want to install the documentation files? 
[/usr/share/doc/vmware-tools] 


INPUT: [/usr/share/doc/vmware-tools]  default


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] 


INPUT: [yes]  default


The installation of VMware Tools 10.2.5 build-8068393 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".


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] 


INPUT: [yes]  default




You have chosen to install VMware Tools on top of an open-vm-tools package.  
You will now be given the option to replace some commands provided by 
open-vm-tools.  Please note that if you replace any commands at this time and 
later remove VMware Tools, it may be necessary to re-install the open-vm-tools.


The file /usr/bin/vmware-hgfsclient that this program was about to install 
already exists.  Overwrite? [no] 


INPUT: [no]  default


The file /usr/bin/vmhgfs-fuse that this program was about to install already 
exists.  Overwrite? [no] 


INPUT: [no]  default


Initializing...




Making sure services for VMware Tools are stopped.


Stopping Thinprint services in the virtual machine:
   Stopping Virtual Printing daemon:                                   done
Stopping vmware-tools (via systemctl):  [  确定  ]




The module vmci has already been installed on this system by another installer 
or package and will not be modified by this installer.


The module vsock has already been installed on this system by another installer
or package and will not be modified by this installer.


The module vmxnet3 has already been installed on this system by another 
installer or package and will not be modified by this installer.


The module pvscsi has already been installed on this system by another 
installer or package and will not be modified by this installer.


The module vmmemctl has already been installed on this system by another 
installer or package and will not be modified by this installer.


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] 


INPUT: [yes]  default




Before you can compile modules, you need to have the following installed... 


make
gcc
kernel headers of the running kernel




Searching for GCC...
Detected GCC binary at "/bin/gcc".
The path "/bin/gcc" appears to be a valid path to the gcc binary.
Would you like to change it? [no] 


INPUT: [no]  default


Searching for a valid kernel header path...
Detected the kernel headers at 
"/lib/modules/3.10.0-862.3.3.el7.x86_64/build/include".
The path "/lib/modules/3.10.0-862.3.3.el7.x86_64/build/include" appears to be a
valid path to the 3.10.0-862.3.3.el7.x86_64 kernel headers.
Would you like to change it? [no] 


INPUT: [no]  default


Using kernel build system.
make: 进入目录“/tmp/modconfig-Y8SimM/vmhgfs-only”
/bin/make -C /lib/modules/3.10.0-862.3.3.el7.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: 进入目录“/usr/src/kernels/3.10.0-862.3.3.el7.x86_64”
  CC [M]  /tmp/modconfig-Y8SimM/vmhgfs-only/message.o
  CC [M]  /tmp/modconfig-Y8SimM/vmhgfs-only/dir.o
  CC [M]  /tmp/modconfig-Y8SimM/vmhgfs-only/request.o
  CC [M]  /tmp/modconfig-Y8SimM/vmhgfs-only/filesystem.o
  CC [M]  /tmp/modconfig-Y8SimM/vmhgfs-only/cpName.o
  CC [M]  /tmp/modconfig-Y8SimM/vmhgfs-only/rpcout.o
  CC [M]  /tmp/modconfig-Y8SimM/vmhgfs-only/stubs.o
  CC [M]  /tmp/modconfig-Y8SimM/vmhgfs-only/hgfsUtil.o
  CC [M]  /tmp/modconfig-Y8SimM/vmhgfs-only/hgfsEscape.o
  CC [M]  /tmp/modconfig-Y8SimM/vmhgfs-only/link.o
  CC [M]  /tmp/modconfig-Y8SimM/vmhgfs-only/transport.o
  CC [M]  /tmp/modconfig-Y8SimM/vmhgfs-only/module.o
  CC [M]  /tmp/modconfig-Y8SimM/vmhgfs-only/file.o
  CC [M]  /tmp/modconfig-Y8SimM/vmhgfs-only/super.o
  CC [M]  /tmp/modconfig-Y8SimM/vmhgfs-only/bdhandler.o
  CC [M]  /tmp/modconfig-Y8SimM/vmhgfs-only/fsutil.o
  CC [M]  /tmp/modconfig-Y8SimM/vmhgfs-only/cpNameLinux.o
  CC [M]  /tmp/modconfig-Y8SimM/vmhgfs-only/hgfsBd.o
  CC [M]  /tmp/modconfig-Y8SimM/vmhgfs-only/backdoorGcc64.o
/tmp/modconfig-Y8SimM/vmhgfs-only/backdoorGcc64.o: warning: objtool: BackdoorHbIn()+0xd: duplicate frame pointer save
/tmp/modconfig-Y8SimM/vmhgfs-only/backdoorGcc64.o: warning: objtool: BackdoorHbOut()+0xd: duplicate frame pointer save
  CC [M]  /tmp/modconfig-Y8SimM/vmhgfs-only/page.o
  CC [M]  /tmp/modconfig-Y8SimM/vmhgfs-only/backdoor.o
  CC [M]  /tmp/modconfig-Y8SimM/vmhgfs-only/inode.o
  CC [M]  /tmp/modconfig-Y8SimM/vmhgfs-only/dentry.o
  CC [M]  /tmp/modconfig-Y8SimM/vmhgfs-only/cpNameLite.o
  CC [M]  /tmp/modconfig-Y8SimM/vmhgfs-only/kernelStubsLinux.o
  LD [M]  /tmp/modconfig-Y8SimM/vmhgfs-only/vmhgfs.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/modconfig-Y8SimM/vmhgfs-only/vmhgfs.mod.o
  LD [M]  /tmp/modconfig-Y8SimM/vmhgfs-only/vmhgfs.ko
make[1]: 离开目录“/usr/src/kernels/3.10.0-862.3.3.el7.x86_64”
/bin/make -C $PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= postbuild
make[1]: 进入目录“/tmp/modconfig-Y8SimM/vmhgfs-only”
make[1]: “postbuild”是最新的。
make[1]: 离开目录“/tmp/modconfig-Y8SimM/vmhgfs-only”
cp -f vmhgfs.ko ./../vmhgfs.o
make: 离开目录“/tmp/modconfig-Y8SimM/vmhgfs-only”


The vmxnet driver is no longer supported on kernels 3.3 and greater. Please 
upgrade to a newer virtual NIC. (e.g., vmxnet3 or e1000e)


VMware automatic kernel modules enables automatic building and installation of
VMware kernel modules at boot that are not already present. This feature can
be enabled/disabled by re-running vmware-config-tools.pl.


Would you like to enable VMware automatic kernel modules?
[yes] 


INPUT: [yes]  default


Thinprint provides driver-free printing. Do you wish to enable this feature? 
[yes] 


INPUT: [yes]  default


The file /etc/tpvmlp.conf that this program was about to install already 
exists.  Overwrite? [yes] 


INPUT: [yes]  default


Creating a new initrd boot image for the kernel.

The configuration of VMware Tools 10.2.5 build-8068393 for Linux for this 
running kernel completed successfully.


Enjoy,


--the VMware team



  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
为了安装open-vm-tools,你可以按照以下步骤进行操作: 1. 首先,在终端中输入以下命令以安装open-vm-tools-dkms: sudo apt install open-vm-tools-dkms 2. 安装open-vm-tools-dkms后,这将提供一组服务和内核模块,以增强在VMware产品中的虚拟机性能。这些内核模块可以优化与Linux或其他VMware支持的Unix操作系统的交互。 3. 如果你还希望在桌面环境中实现双向拖放文件的功能,你可以继续进行以下步骤: a. 在终端中输入以下命令以安装open-vm-tools-desktop: sudo apt install open-vm-tools-desktop b. 安装open-vm-tools-desktop后,你就可以在VMware虚拟机和主机之间实现双向拖放文件的功能,这将使你能够方便地在虚拟机和主机之间共享文件。 总结起来,要在VMware安装open-vm-tools,你需要先安装open-vm-tools-dkms,然后如果需要桌面环境支持双向拖放文件功能,还需要安装open-vm-tools-desktop。这些工具将提供更好的虚拟机性能和与虚拟机之间的无缝交互。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* *3* [vmware安装open-vm-tools步骤及共享文件设置](https://blog.csdn.net/wenjing3470830/article/details/107099952)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] - *2* [open-vm-tools:VMware open-vm-tools项目的官方存储库](https://download.csdn.net/download/weixin_42137022/18219242)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值