zoukankan      html  css  js  c++  java
  • centos最小化系统安装VMware tool

    1.先执行命令创建环境

    yum -y install update
    yum -y install gcc kernel-headers kernel-devel
    

    2.然后重启reboot

    3.挂载,解压,运行

    [root@study ~]# mount /dev/cdrom /mnt
    mount: block device /dev/sr0 is write-protected, mounting read-only
    [root@study ~]# cd /mnt
    [root@study mnt]# ls
    manifest.txt     VMwareTools-10.3.2-9925305.tar.gz  vmware-tools-upgrader-64
    run_upgrader.sh  vmware-tools-upgrader-32
    [root@study mnt]# tar -zxf VMwareTools-10.3.2-9925305.tar.gz -C /tmp
    [root@study mnt]# cd /tmp
    [root@study tmp]# ls
    vmware-tools-distrib
    [root@study tmp]# cd ./vmware-tools-distrib/
    [root@study vmware-tools-distrib]# ls
    bin  caf  doc  etc  FILES  INSTALL  installer  lib  vgauth  vmware-install.pl
    [root@study vmware-tools-distrib]# ./vmware-install.pl
    

    都默认enter  ,直到出现以下内容即成功安装;

    centos6.7

    Creating a new initrd boot image for the kernel.
    Generating the key and certificate files.
    Successfully generated the key and certificate files.
    vmware-tools start/running
    The configuration of VMware Tools 10.3.2 build-9925305 for Linux for this 
    running kernel completed successfully.
    
    You must restart your X session before any mouse or graphics changes take 
    effect.
    
    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
    3. Restart your X session.
    
    Enjoy,
    
    --the VMware team
    
    Found VMware Tools CDROM mounted at /mnt. Ejecting device /dev/sr0 ...
    

    centos7.5

    Creating a new initrd boot image for the kernel.
    manageSELinux install: The 'semanage' utility was not found.
    There was an error configuring the SELinux security context for VMware Tools.  
    Please make certain that SELinux is configured correctly.
    
    The configuration of VMware Tools 10.3.2 build-9925305 for Linux for this 
    running kernel completed successfully.
    
    Enjoy,
    
    --the VMware team
    

    4.查看共享文件位置hgfs

    [root@study ~]# ls /mnt/
    hgfs/     test.txt  
    

      

     

  • 相关阅读:
    memcached命令
    模块管理常规功能自己定义系统的设计与实现(14--模块图表分析的设计)
    [易飞]凭证设计扩展字段之内容-文字显示格式
    将替代ListView的RecyclerView 的使用(一)
    POJ 2049— Finding Nemo(三维BFS)10/200
    最好用的jquery列表拖动排列(由项目提取)
    编程算法
    java几个easy出错的小程序
    GoldenGate配置(三)之DDL复制配置
    aused by: org.apache.xmlbeans.SchemaTypeLoaderException: XML-BEANS compiled schema: Incompatible min
  • 原文地址:https://www.cnblogs.com/liuyuanq/p/9988605.html
Copyright © 2011-2022 走看看