首页 > 系统相关 >Vmware Tools工具安装-Linux(转载自“半夏微凉”)

Vmware Tools工具安装-Linux(转载自“半夏微凉”)

时间:2023-07-02 14:33:25浏览次数:51  
标签:微凉 Tools vmware want Linux tools VMware usr

本文转载自“半夏微凉”,仅用于自己的学习记录,方便日后查找。若有侵权行为,请联系本人进行删除。

转载自:Vmware Tools工具安装-Linux-半夏微凉 (lentim.com)

Vmware Tools工具安装

    背景:需要使用vmware安装oracle数据库,但linux机由于没有安装vmware tools 无法跟主机共享文件,粘贴板。

    说明:本教程以vmware 12为基础提供安装vmware tools的步骤,对应linux系统版本为Redhat 6.5.

Vmware Tools工具安装

----点击虚拟机顶部工具栏选择虚拟机--安装VMware Tools

 

 

----完成步骤1后,桌面上会生成一个vmware tools的dvd光盘,选中光盘单击右键--在终端中打开

 

 

----输入ls命令查看文件列表,使用命令tar -xzvf VMwareTools-10.0.6-3595377.tar.gz -C /opt 解压压缩包文件到/opt目录下

 

 

----进入解压后生成的vmware-tools-distrib

cd /opt/vmware-tools-distrib

----运行vmware-install.pl安装,进入安装后不断点回车,直至安装完成。运行命令如下

 ./vmware-install.pl

 

 

ps:详细安装过程如下:

[root@oraserver VMware Tools]# ls

manifest.txt     VMwareTools-10.0.6-3595377.tar.gz  vmware-tools-upgrader-64

run_upgrader.sh  vmware-tools-upgrader-32

[root@oraserver VMware Tools]# tar -xzvf VMwareTools-10.0.6-3595377.tar.gz -C /opt

[root@oraserver opt]# cd /opt/vmware-tools-distrib

[root@oraserver vmware-tools-distrib]# ls

bin  doc  FILES    installer  vgauth             vmware-install.real.pl

caf  etc  INSTALL  lib        vmware-install.pl

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

Creating a new VMware Tools installer database using the tar4 format.

 

Installing VMware Tools.

 

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] 

 

 

In which directory do you want to install the common agent library files? 

[/usr/lib] 

In which directory do you want to install the common agent transient files? 

[/var/lib] 

 

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 10.0.6 build-3595377 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] 

 

 

 

 

Initializing...

 

 

 

 

Making sure services for VMware Tools are stopped.

 

Stopping Thinprint services in the virtual machine:

   Stopping Virtual Printing daemon:                                   done

Stopping VMware Tools services in the virtual machine:

   Guest operating system daemon:                          [确定]

   VMware User Agent (vmware-user):                        [确定]

   Unmounting HGFS shares:                                 [确定]

   Guest filesystem driver:                                [确定]

 

 

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.

 

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] 

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 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?

[no] 

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

[yes] 

 

 

Disabling timer-based audio scheduling in pulseaudio.

 

Do you want to enable Guest Authentication (vgauth)? Enabling vgauth is needed 

if you want to enable Common Agent (caf). [yes] 

Do you want to enable Common Agent (caf)? [yes] 

 

 

Detected X server version 1.13.0

 

 

 

Distribution 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.

Generating the key and certificate files.

Successfully generated the key and certificate files.

   Starting Virtual Printing daemon:                                   done

   Checking acpi hot plug                                  [确定]

Starting VMware Tools services in the virtual machine:

   Switching to guest configuration:                       [确定]

   VM communication interface:                             [确定]

   VM communication interface socket family:               [确定]

   Guest filesystem driver:                                [确定]

   Mounting HGFS shares:                                   [失败]

   Blocking file system:                                   [确定]

   Guest operating system daemon:                          [确定]

   VGAuthService:                                          [确定]

   Common Agent:                                           [确定]

The configuration of VMware Tools 10.0.6 build-3595377 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 the

command 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-user

2. Log out and log back into your desktop session; and,

3. Restart your X session.

 

Enjoy,

 

--the VMware team

 

Found VMware Tools CDROM mounted at /media/VMware Tools. Ejecting device 

/dev/sr0 ...

[root@oraserver vmware-tools-distrib]# 

 

标签:微凉,Tools,vmware,want,Linux,tools,VMware,usr
From: https://www.cnblogs.com/zhulin0502/p/17520758.html

相关文章

  • linux命令源码下载【转】
    一般来说,不同的命令可能隶属于不同的软件包,这样就没有一个地方会有所有命令的源代码。(命令的个数也会与你所安装的软件包有关)但是,一些常用的命令,例如basenamecatchgrpchmodchownchrootcksumcommcpcsplitcutdatedddfdirnameduechoenvexpandexprfactorfalsefm......
  • linux基本命令
    ls:文件列表。wc–lfilewc-wfilewc-cfile:计算文件行数计算文件中的单词数计算文件中的字符数。cpsourcefiledestfile:文件拷贝。mvoldnamenewname:重命名文件或移动文件。rmfile:删除文件。grep'pattern'file:在文件内搜索字符串比如:gr......
  • 部署前端项目到linux服务器
    1.使用Xshell连接linux服务器xshell免费版地址:家庭/学校免费-NetSarangWebsite(xshell.com)2.安装nginx服务器sudoapt-getinstallnginx3.使用xftp上传前端文件首先使用命令将前端项目打包到dist文件夹xftp免费版地址:家庭/学校免费-NetSarangWebs......
  • 部署springboot项目到linux服务器
    1.使用Xshell连接服务器xshell免费版地址:家庭/学校免费-NetSarangWebsite(xshell.com)2.安装java运行环境sudoaptinstallopenjdk-8-jdk3.使用xftp上传后端jar包文件xftp免费版地址:家庭/学校免费-NetSarangWebsite(xshell.com)4.在xshell中使用命令......
  • linux su命令卡顿,linux su特别慢问题排查
    问题:发现同机房两台同网络域的主机,一台su用户正常,一台每次都需要等5s左右。进展:杂事儿太多没深入排查,后续又发现了几台有同样问题的主机。非常影响效率。开始入手排查分析:1、之前遇到过类似问题,ssh登陆慢。所以首先观察两台主机sshd_config配置文件,发现登录慢的主机多了一个配......
  • Linux命令(38)之mount
    Linux命令之mount1.mount介绍linux命令mount是用来挂载linux系统外的文件2.mount用法mount[参数] devicedirmount常用参数参数说明-a将/etc/fstab中定义的所有档案系统挂上-t指定档案系统的类型,通常不必指定,mount会自动选择正确的类型-V显示版本信息-v显示挂载信息3.实例3.1.......
  • Linux文件系统、常用文件操作命令及用户权限
    1、熟悉Linux的文件系统结构Linux的文件系统结构其实是一个树形的分层组织结构,如下图:Linux系统目录结构及目录路径:1.1、文件系统层次结构标准Linux是开源的操作系统,各个Linux发行机构都可以按照自己的需求对Linux系统的文件系统进行相应的裁剪,所以各个Linux发行版本的目录结构......
  • Linux下的tty终端显示中文乱码解决方法
    1.下载字体fbterm  sudoapt-getinstallfbterm 2.完成后运行  sudofbterm 3.更改字体和字体大小  vi~/.fbtermrc    font-names=UbuntuMono    font-size=14   tty界面下是无法输入中文输入法  https://blog.csdn.net/maybe_frank/article......
  • 【Linux进程管理】进程退出的几种方法
    进程退出当一个进程退出后,操作系统会释放掉这个进程的资源。包括这个进程分配的内存,打开的文件等等。所以进程退出后,不会出现内存泄漏的情况,进程一旦退出,所占的整个虚拟内存都被销毁,所有内存资源都会被系统回收函数描述exit执行完整的C库终止过程,终止进程,并向主机环境......
  • Python之itertools模块
    python的itertools模块介绍itertools模块是Python标准库中的一个模块,提供了多个用于迭代器和循环操作的函数。1.count方法:生成一个从指定起始数开始的整数序列(无穷迭代)函数功能:count函数生成一个无穷迭代器,用于生成一个整数序列。语法:itertools.count(start=0,step=1)参......