vmware-tools安装:

linux-VMware tools安装步骤:

(1)在CD-ROM虚拟光驱中选择使用ISO镜像,找到VMWARE TOOLS 安装文件,如D:\VMware\VMware Workstation\Programs\linux.iso

(2)以ROOT身份进入LINUX;

(3)在虚拟机菜单栏中点击“虚拟机-> 安装VMWARE TOOLS” 子菜单,会弹出对话框,点击"确认" 安装;

(4)挂载光驱:mount  /dev/cdrom    /mnt/cdrom(注意命令中输入的空格)这时,你的linux.iso里面的文件就相当于windows光盘里面的文件了;

(5)进入cd  /mnt/cdrom,输入ls命令你将会发现多了两个文件,如:VMwareTools-5.0.0-13124.tar.gz 和VMwareTools-5.0.0-13124.i386.rpm,这就是VMware Tools的Linux软件包,.rpm文件是给Red Hat准备的,我们只需要.tar.gz。

(6)将VMwareTools-5.0.0-13124.tar.gz复制到/tmp/目录下(命令:cp  vmware-linux-tools /tmp);

(7)输入命令:cd   /tmp 进入/tmp目录;

(8)输入命令:tar  zxf  vmware-linux-tools.tar.gz 将刚刚复制的vmware-linux-tools.tar.gz 解压,默认解压到vmware-linux-tools目录下(与文件名同名),此时就会多出一个命名为vmware-linux-tools的文件夹,这里和windows 里面的解压结果一样。

(9)输入命令:cd vmware-linux-tools 进入解压后的目录;

(10)输入命令:./vmware-install.pl(执行vwware的安装脚本,这个脚本是用perl编写的),运行安装VMware tools (.pl文件在前面有提过);

(11)在运行安装过程中,它会一步一步的提出问题要你回应,此过程中全部使用默认值,一直按 Enter 就对了;

(12)最后它会输出1-15个分辨率让你输入数字选择,根据你的显示器来选择分辨率吧;

(13)好了,安装完成。现在你应该已经能看到VMware Tools安装后的效果了:鼠标再也不需要用Ctrl+Alt切换于虚拟与现实之间,一切过渡得那么自然;虚拟机的分辨率也能依窗口的大小来自动适应,一切显得那样和谐;我们也可以使用/mnt/hgfs共享文件夹了,一切都是那么的方便。

  

卡住之后,可以按向下键查看详细的错误信息。

  如果是[warning] [guestinfo]recordrountinginfo:unable to collect IPv4 routing table;则通过如下方式解决:

一. Cause(出现的原因)

This issue occurs when the Linux iputils package causes a delay in the boot process. A warning message appears when the guestinfo plug-in tool fails to parse the content from the /proc/net/route file. The guest operating system's clock is ahead of the host on which it is running, causing the arping process to become unresponsive during boot. This results in the delayed boot times.

When a virtual machine is affected this issue occurs every time it boots, but it does not happen on every Linux virtual machine.

Resolution

To resolve this issue, see the RedHat Advisory RHBA-2013:1290.

Note: The preceding link was correct as of December 11, 2013. If you find the link is broken, provide feedback and a VMware employee will update the link.

二.Resolve (解决的方法1:已采用)

To work around this issue, add rtc.diffFromUTC=0 to the .vmx file of the affected virtual machine. This forces a time sync, which enables the arping process to complete as expected leading to normal boot times.

To add rtc.diffFromUTC=0 to the .vmx file:

1.Power off the virtual machine.

2.Log in to the ESXi/ESX host on which the virtual machine is located with a secure shell session.

3.Change to the virtual machine's .vmx file location (located at /vmfs/volumes/datastore_name/vm_name).

4.Create a backup of the .vmx file.

5.Open and edit the original .vmx file with a text editor.

6.Add this entry to the end of the .vmx file:

rtc.diffFromUTC=0

7.Close and save the .vmx file.

8.Power on the virtual machine.

三. Resolve (解决的方法2:该方法未验证)

1 # locate libtimeSync.so

2 /root/vmware-tools-distrib/lib/plugins32/vmsvc/libtimeSync.so

3 /root/vmware-tools-distrib/lib/plugins64/vmsvc/libtimeSync.so

4 /usr/lib/vmware-tools/plugins32/vmsvc/libtimeSync.so

5 /usr/lib/vmware-tools/plugins64/vmsvc/libtimeSync.so

重命名 /usr/lib/ 下的 libtimeSync.so 为libtimeSync.so.bak

最新文章

  1. bash 相关的一些小代码片断
  2. leetcode抽风的解决办法
  3. 使用Camera进行拍照
  4. Hive中自定义函数
  5. [转]内嵌WORD/OFFICE的WINFORM程序——DSOFRAMER使用小结
  6. 编码问题导致样式显示在IE中不正常
  7. Python之路,Day25-----暂无正在更新中
  8. SQL Server中各个系统表的作用
  9. vector cin
  10. vim复制
  11. hadoop streaming编程小demo(python版)
  12. 笔记:MyBatis Mapper XML文件详解 - Cache
  13. [UOJ 41]【清华集训2014】矩阵变换
  14. 【DevOps敏捷开发动手实验】开源文档 v2015.2 stable 版发布
  15. idea spring boot docker 多项目 maven 编译
  16. Mongoose笔记
  17. centos7下keepalived1.3.4安装与使用
  18. 使用ES6+Vue+webpack+gulp构建新一代Web应用
  19. 20145220韩旭飞《网络对抗》Exp7 网络欺诈技术防范
  20. JS 中document.URL 和 windows.location.href 的区别

热门文章

  1. 【转】Android 带checkbox的listView 实现多选,全选,反选 -- 不错
  2. 【转】 Android 基于google Zxing实现对手机中的二维码进行扫描--不错
  3. HDOJ 1014 Uniform Generator(公约数问题)
  4. 聚焦设计交易与商业落地 DANG·DHUB设计师平台上线【图】_品牌资讯_服饰_太平洋时尚网
  5. UIAlertController 的使用——NS_CLASS_AVAILABLE_IOS(8_0)
  6. iOS 跑马灯 之 TXScrollLabelView
  7. UI几个重要使用方法
  8. MySQL主从复制与lvs+keepalived单点写入读负载均衡高可用实验【转】
  9. [AngularJS] Design Pattern: Simple Mediator
  10. js判断访问者是否来自移动端代码