设为首页 收藏本站
查看: 1082|回复: 0

[经验分享] centos6.4虚拟机vmware-tools安装及启动到进度条卡死

[复制链接]

尚未签到

发表于 2015-4-6 21:38:47 | 显示全部楼层 |阅读模式
  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、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-54453-1-1.html 上篇帖子: VMware 虚拟机安装 Mac OS X 下篇帖子: VMware View 4桌面虚拟化应用1
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表