Experimental Report 7: Linux installation VM-Tools (ultra-detailed version)

 Linux installation VM-Tools

  1. Select the main interface in the VM VM-Tools installation tool
  2. Within a virtual machine automatically mount the VMware Tools CD-ROM

    (If it does not then manually mount the mounting plate)
    to manually mount Guide (if the automatic loading skip this step.) {
    1. Open Linux Shell (terminal), and enter the mnt directory at the root
      cd / mnt
    2. Create a directory in the mnt cdrom directory
      mkdir cdrom
    3. mount the CD optical disk device called / dev / SR0
      Mount -r / dev / SR0 / mnt / CDROM

    }
  3. Copy out VMwareTools installation package, i.e. xxxtar.gz-VMwareTools
    CP-VMwareTools 9.6.1-1378637.tar.gz / the root /
  4. Into the root directory and extract the installation package
    cd / root / && tar -xvzf VMwareTools -9.6.1-1378637.tar.gz
  5. Into the installation package directory

    cd vmware-tools-distrib /
  6. To run the installation script permissions
    chmod + x vmware-install.pl
  7. Run the installation script
    ./ vmware-install.pl
  8. Follow the prompts vm-tools installation
    without special requirements, default values can be used in all scripts when the following prompt, reboot to complete the installation Linux
     

  9. Restart Linux virtual machine
  10. 测试是否安装成功
    1)点击VMware →查看→立即适应客户机
    2)内部虚拟机立即适应屏幕分辨率 即为安装成功
    3)可以正常拖拽文件

Linux下的U盘挂载

  1. 接入U盘,在VMware上设置载入外置的U盘设备

    右键U盘设置,选择【连接】
  2. 打开Linux Shell(终端),输入以下指令查看已连接的磁盘设备
    ls -l /dev/ | grep sd

    发现设备为/dev/sdb,设备下有一个分区为sdb1,即挂载/dev/sdb1就可以读取U盘文件。
  3. 进入/mnt目录并创建挂载目录
    cd /mnt && mkdir udisk 
  4. 将U盘设备挂载到目录下(U盘为 /dev/sdb1)
    mount /dev/sdb1 /mnt/udisk
  5. 查看挂载情况
    df -h
  6. 查看U盘文件     cd /mnt/udisk/ && ls –al
发布了172 篇原创文章 · 获赞 442 · 访问量 11万+

Guess you like

Origin blog.csdn.net/weixin_44015669/article/details/104101850