挂载光盘,解压光盘内的tar安装包,并安装(Install VMware Tools in a Linux Guest)

下面是vmware帮助文档里在linux下安装vmware tools的步骤,觉得不错。

其中红字为重要步骤。

Before you begin, make sure the virtual machine is powered on and the guest operating system is running.

To install VMware Tools in a Linux guest

1

On the host, select VM > Install VMware Tools.

If an earlier version of VMware Tools is installed, the menu item is Update VMware Tools. If the current version is installed, the menu item is Reinstall VMware Tools.

2

On the guest, log in as root.

//切换用户,以root用户登录

su root

3

If your Linux distribution does not automatically mount CD-ROMs, mount the VMware Tools virtual CD-ROM image.

a If necessary, create the /mnt/cdrom directory:

mkdir /mnt/cdrom

b Mount the CD-ROM drive.

Some Linux distributions use different device names or organize the /dev directory differently. If your CD-ROM drive is not /dev/cdrom or if the mount point for a CD-ROM is not /mnt/cdrom, modify the command to reflect the conventions used by your distribution.

//将cd-rom设备(/dev/cdrom )挂载到相应设备(即光驱)的挂载点(/mnt/cdrom)

mount /dev/cdrom /mnt/cdrom

4

Change to a working directory (for example, /tmp):

cd /tmp

5

If a previous installation exists, delete the previous vmware-tools-distrib directory.

The location of this directory depends on where you placed it during the previous installation. Often it is placed in /tmp/vmware-tools-distrib.

6

Uncompress the installer:

//解压安装包

tar zxpf /mnt/cdrom/VMwareTools-<x.x.x>-<yyyy>.tar.gz

The value <x.x.x> is the product version number and <yyyy> is the build number of the product release.

7

If necessary, unmount the CD-ROM image.

If your Linux distribution automatically mounted the CD-ROM, you do not need to unmount the image.

umount /dev/cdrom

8

Run the VMware Tools installer.

cd vmware-tools-distrib

//执行安装脚本文件vmware-install.pl,vmware-install.pl为解压出来的文件。

./vmware-install.pl

Respond to the questions the command-line wizard displays on the screen. Press Enter to accept the default value. The configuration file, vmware-config-tools.pl, runs after the installer file finishes running.

9

If you are updating VMware Tools, reboot the virtual machine or manually reload the pvscsi, vmxnet, and vmxnet3 Linux kernel modules.

If you reload the modules, networking on the virtual machine is interrupted.

10

Enter the following commands to restore the network:

/etc/init.d/network stop

rmmod vmxnet

modprobe vmxnet

/etc/init.d/network start

11

Log out of the root account.

exit

12

(Optional) Start your graphical environment.

13

In an X terminal, to start the VMware User process, enter the following command:

vmware-user

To change the default VMware Tools configuration options, see Open the VMware Tools Control Panel.

转载于:https://www.cnblogs.com/wanping/archive/2012/05/31/2528991.html

[linux]Linux挂载光盘,解压光盘内的tar安装包,并安装软件(Install VMware Tools in a Linux Guest)...相关推荐

  1. Linux软件包管理之源码包、脚本安装包

    目录 1.源码包和RPM包的区别 RPM包和源码包默认安装位置: 由于安装位置不同带来的影响 2.源码包安装 ①.安装准备 ②.安装注意事项 ③.安装源码包 3.源码包卸载 4.脚本安装包 5.总结 ...

  2. Install VMware tools 解决(物理主机WIN7X64和VM下的REHAT LINUX AS4共享文件)

    这里以Windows 7 X64.VMware Workstation 8.Rehat Linux AS4为例,其它环境类似. 1. 准备工作 打开VMware WorkStation,并启动Reha ...

  3. 服务器解压msi文件,MSI安装包

    MSI安装包 内容精选 换一换 您可以通过apk编辑工具将网页转化为适配IdeaHub的apk安装包,通过apk安装包安装成可在IdeaHub使用的APP应用程序. 变量名(N):JAVA_HOME变 ...

  4. 在Linux如何挂载光盘详解

    文章目录 前言 本节我们来学习linux下的挂载光盘 一.挂载是什么 示例:在Linux系统和其他文件系统中想要被访问是需要将他关联到根目录下的某个目录实现的,这种关联的操作叫做挂载. 关联的目录叫挂 ...

  5. Linux笔记——挂载光盘

    1.为什么光盘要挂载? 解:在Linux里,所有的东西都是文件,包括硬件设备也是文件,所以光盘/光驱也是文件.光盘/光驱会以文件的方式存储在目录/dev下,但是/dev目录下的文件不能直接访问和调用, ...

  6. 挂载ntfs_运维丨linux如何挂载光盘

    武汉商启网络信息有限公司现招聘销售.客服.网络工程师,详情请点击查看原文! mount -t iso9660 /dev/cdrom /mnt/cdrom umout /mnt/cdrom 查看系统已经 ...

  7. linux强制卸载光盘,linux如何挂载光盘linux卸载光盘的方法

    ? 初学linux的朋友来说,挂载光盘及卸载光盘是很重要的,今天详细说一下,挂载光盘及卸载光盘的命令. 工具/原料 linux系统 方法/步骤 首先是需要有一台安装好的linux系统,至于如何安装,可 ...

  8. linux中挂载系统光盘,linux下挂载光盘

    Linux将每一个物理设备都映射成了一个文件,这些文件都放在了/dev文件(linux中目录也是文件)下面,光驱映射成的文件就是一个名为cdrom的文件.mount命令是挂载光驱的基本命令,其后可以跟 ...

  9. linux 挂载nfs网络,Linux NFS挂载详解

    Linux NFS挂载 一.NFS挂载 192.25.10.101/home/sharedata/azkaban/ODS_HS08 挂载到 192.25.10.102/home/data_azkaba ...

最新文章

  1. undefined找不到函数情况总结
  2. Elasticsearch 2.2.0 索引配置详解
  3. freemarker自定义标签(二十一)
  4. Python selenium巧用Javascript脚本注入解决按钮点选问题
  5. 为Ubuntu设置新的软件源
  6. Spring Boot笔记-使用RedirectAttributes重定向后也可以显示填写的信息
  7. 必知!4张图看尽AI发展史重大里程碑
  8. PIC单片机开发工具
  9. 16. Magento模板及布局文件中引用Static Block的方法
  10. amd linux显卡驱动,AMDAMD ATI Radeon Mobility FireGL 9.10显卡驱动官方正式版下载,适用于linux-驱动精灵...
  11. Windows电脑性能提高,电脑开启卓越模式,提高电脑性能
  12. 阿里云ace考试内容是什么?
  13. LINUX常用的字符串,常用linux 命令 -字符串相关
  14. 电脑端bilibili视频缓存合并视频的解惑
  15. 冯诺依曼体系结构(现代计算机的原型)+cpu的两个核心指标
  16. cloudflare解析域名+CDN
  17. 怎么在视频画面添加图片的方法
  18. 阿里云短信服务的使用方法
  19. 数据研究:淘宝流量与转化率隐藏的那些秘密
  20. 计算机组成与系统结构——MIPS多周期处理器-7指令

热门文章

  1. go语言设计模式 - 建造者模式
  2. 激励理论在人力资源管理中的运用
  3. [C#基础]Func和Action学习
  4. 在一个Apapche上部署三个论坛
  5. 交互设计实用指南系列 – 我们眼中的交互设计
  6. 顶一下吧﹗成功配置Samba3.0为域登录和文件服务器的方法!!! [转]
  7. 进击的python【第一集】
  8. Web前端经典面试试题(二)
  9. websocket连接mqtt实现发布及订阅主题
  10. linux获取后台进程的控制台数据