vmware和windows共享文件

要使VMware中的共享设置生效,需先在Linux虚拟机中安装VMware Tools。安装步骤包括挂载CD-ROM、解压安装包、运行安装脚本及重新加载网络模块。完成安装后,在VMware中设置共享将能正常工作。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

要使得vmware的setting里的共享有效,首先要确保vmware里的ubuntu已经安装了vmware-tools工具,安装方法如下:

To install VMware Tools in a Linux guest

1     On the host, select VM > Install VMware Tools.

3     If your Linux distribution does not automatically mount CD-ROMs, mount the VMware Tools virtual CD-ROM image.

a     If necessary, create the /mnt/cdrom directory:

mkdir /mnt/cdrom

b     Mount the CD-ROM drive.

mount /dev/cdrom /mnt/cdrom

4     Change to a work directory (for example, /tmp):

cd /tmp

5     If a previous installation exists, delete the previous vmware-tools-distrib directory.

6     Uncompress the installer:

tar zxpf /mnt/cdrom/VMwareTools-<x.x.x>-<yyyy>.tar.gz

The value <x.x.x> is the product version number and <yyyy> is the build number of the product release.

7     If necessary, unmount the CD-ROM image.

umount /dev/cdrom

8     Run the VMware Tools installer.

cd vmware-tools-distrib

./vmware-install.pl

9     If you are updating VMware Tools, reboot the virtual machine or manually reload the pvscsi, vmxnet, and vmxnet3 Linux kernel modules.

If you reload the modules, networking on the virtual machine is interrupted.

10   Enter the following commands to restore the network:

/etc/init.d/network stop

rmmod vmxnet

modprobe vmxnet

/etc/init.d/network start

安装好后,点vmware->setting即可

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值