zoukankan      html  css  js  c++  java
  • 【linux】——安装vmwaretools

    一:点击安装VMware Tools;

    二:此时系统桌面上会出现图标VMware Tools;这里面文件位于/media 文件夹下;里面有两个文件我们用第二个;

    三:把第二个文件用命令:tar xvfz /media/VMware\ Tools/VMwareTools-6.0.2-59824.tar.gz -C /opt      把文件加压到/opt文件夹中;

    四:用命令:cd /opt/vmware-tools-distrib/ 转到此目录下;

    五:执行命令: ./vmware-install.p1 安装工具;然后就是一路enter键,需要yes的输入yes ,需要no的输入no;即可;

    如果比较幸运,那就安装成功了,不过在安装的过程中会碰到一下现象:

    一、 配置vmware-config-tool会有以下报错:

    Unable to create the directory /mnt/hgfs.

    Execution aborted.

    原因:在/mnt下已经mount了光盘。

    解决方法:将其umount,再重新配置vmware-config-tool。

    二、配置vmware-config-tool还会有以下报错:

    CentOS5 kernet: unregister_netdevice: waiting for eth0 to become free.

    主要原因:配置vmware-config-tool与网卡的IPv6地址有冲突。

    解决方法:将该网卡的IPv6禁用。

    1. Add the two lines, if not already present, to /etc/modprobe.conf:

    alias net-pf-10 off
    alias ipv6 off

    add the command to blacklist(/etc/modprobe.d/blacklist) instead as shown below:

    blacklist net-pf-10

    Note: Try to copy-paste these lines instead of typing them. I faced problems in one computer after typing it in. It wasn't something which was visible to me on casual inspection but copy-paste solved it.

    2. Open /etc/sysconfig/network and look for the line containing NETWORKING_IPV6 and change the value to no as shown below:

    NETWORKING_IPV6=no

    3. Stop ip6tables firewall:

    /sbin/service ip6tables stop

    4. Prevent the ip6tables firewall from coming up ever again:

    /sbin/chkconfig ip6tables off

    5. Restart your network to see if everything is working correctly:

    /sbin/service network restart

    6. Some articles suggest rebooting the machine at this stage so you may do that too.

    按照上面的步骤做完重启电脑重新安装即可!

    安装vmware-tools的时候还会出现以下两种情况:

    1、what is the location of the gcc program on your machine?

      这是因为没有安装gcc的原因,用yum -y install gcc安装即可;

    2、What is the location of the directory of C header files that match your running kernel?

      用yum -y install kernel-devel安装即可

  • 相关阅读:
    JSP内置对象
    java 中list还有array的区别
    js动态修改界面碰见的疑惑
    购物多条件商品查询逻辑处理
    数据库信息备份
    关于毕设的一些小问题
    在<a></a>标签中正确调用javaScript脚本
    oracle实训0705经验
    第十五天学习进度--数列找规律算法(预测算法)(1)
    第十四天学习进度--相关系数和显著水平
  • 原文地址:https://www.cnblogs.com/ngnetboy/p/3113726.html
Copyright © 2011-2022 走看看