Linux installation VM-Tools
- Select the main interface in the VM VM-Tools installation tool
- 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
} - Copy out VMwareTools installation package, i.e. xxxtar.gz-VMwareTools
CP-VMwareTools 9.6.1-1378637.tar.gz / the root / - Into the root directory and extract the installation package
cd / root / && tar -xvzf VMwareTools -9.6.1-1378637.tar.gz - Into the installation package directory
cd vmware-tools-distrib / - To run the installation script permissions
chmod + x vmware-install.pl - Run the installation script
./ vmware-install.pl - 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
- Restart Linux virtual machine
- 测试是否安装成功
1)点击VMware →查看→立即适应客户机
2)内部虚拟机立即适应屏幕分辨率 即为安装成功
3)可以正常拖拽文件
Linux下的U盘挂载
- 接入U盘,在VMware上设置载入外置的U盘设备
右键U盘设置,选择【连接】 - 打开Linux Shell(终端),输入以下指令查看已连接的磁盘设备
ls -l /dev/ | grep sd
发现设备为/dev/sdb,设备下有一个分区为sdb1,即挂载/dev/sdb1就可以读取U盘文件。 - 进入/mnt目录并创建挂载目录
cd /mnt && mkdir udisk - 将U盘设备挂载到目录下(U盘为 /dev/sdb1)
mount /dev/sdb1 /mnt/udisk - 查看挂载情况
df -h - 查看U盘文件 cd /mnt/udisk/ && ls –al