如何把windows里的文件共享到linux虚拟机里去

2024-12-22 01:05:06
推荐回答(1个)
回答1:

虚拟机安装vmware tools工具,即可实现物理机和主机拖动文件进行传输。1、打开虚拟机--点击菜单栏“虚拟机”--“安装VMware Tools”。 2、然后子Linux系统下的VMware Tools目录即可看的安装包了。 3、使用Linux终端命令安装VMware Tools工具。 #复制安装包到/tmp目录下 [root@localhost VMware Tools]# cp VMwareTools-8.1.3-203739.tar.gz /tmp #进入tmp目录 [root@localhost VMware Tools]# cd /tmp #查看tmp目录下文件 [root@localhost tmp]# ls gconfd-root scim-helper-manager-socket-root keyring-lbbFvv scim-panel-socket:0-root mapping-root scim-socket-frontend-root orbit-root ssh-FmnVlj2751 scim-bridge-0.3.0.lockfile-0@localhost:0.0 virtual-root.ZxmHUV scim-bridge-0.3.0.socket-0@localhost:0.0 VMwareTools-8.1.3-203739.tar.gz #解压VMware Tools安装包 [root@localhost tmp]# tar -zxf VMwareTools-8.1.3-203739.tar.gz [root@localhost tmp]# ls gconfd-root scim-panel-socket:0-root keyring-lbbFvv scim-socket-frontend-root mapping-root ssh-FmnVlj2751 orbit-root virtual-root.ZxmHUV scim-bridge-0.3.0.lockfile-0@localhost:0.0 VMwareTools-8.1.3-203739.tar.gz scim-bridge-0.3.0.socket-0@localhost:0.0 vmware-tools-distrib scim-helper-manager-socket-root [root@localhost tmp]# cd vmware-tools-distrib/ [root@localhost vmware-tools-distrib]# ls bin doc etc FILES INSTALL installer lib vmware-install.pl #执行安装 [root@localhost vmware-tools-distrib]# ./vmware-install.pl Creating a new VMware Tools installer database using the tar4 format. Installing VMware Tools.