Vmware10中Centos7挂载Windows主机的共享文件夹
2017-07-13 16:50
429 查看
1、设置共享权限
2、安装VMware tools
点击虚拟机
点击安装 VMware tools
将/run/media/zhaojq/VMware\ Tools 目录下的VMwareTools-9.6.2-1688356.tar.gz拷贝到家目录下
解压后生成vmware-tools-distrib
[zhaojq@localhost vmware-tools-distrib]$ ls bin doc etc FILES INSTALL installer lib vmware-install.pl
运行./vmware-install.pl
[zhaojq@localhost vmware-tools-distrib]$ ./vmware-install.pl
一直enter
The path "" is not valid path to the gcc binary. Would you like to change it? [yes] no 输入 no The path "" is not a valid path to the 3.10.0-514.26.2.el7.x86_64 kernel headers. Would you like to change it? [yes] no 输入 no
安装成功后返回
Enjoy, --the VMware team
2、挂载Windows主机的共享文件夹
mnt/hgfs 目录
[zhaojq@localhost ~] cd /mnt/hgfs/ [zhaojq@localhost hgfs] pwd /mnt/hgfs
vmware-hgfsclient 命令查看当前共享的目录
[zhaojq@localhost hgfs]$ vmware-hgfsclient E
mount报错
[zhaojq@localhost hgfs]$ sudo mount -t vmhgfs .host:/E /mnt/hgfs Error: cannot mount filesystem: No such device
vmhgfs-fuse,需要安装工具包
[zhaojq@localhost hgfs]$ yum install open-vm-tools-devel -y [zhaojq@localhost hgfs]$ vmhgfs-fuse .host:/E /mnt/hgfs
3、查看挂载
注意:需要root权限查看。Windows 主机的E盘情况
Centos虚拟机下的挂载情况
[root@localhost hgfs]# ls jashkenas-coffeescript-1.12.6-0-gf0e9837.tar.gz LeaRun敏捷后台开发框架_6.3.4 $RECYCLE.BIN System Volume Information LeaRun_6.3.4.zip node-v6.11.1-linux-x64.tar.xz redis-3.2.9.tar.gz
挂载成功
相关文章推荐
- 主机windows虚拟机vmware ubuntu共享文件夹
- svnadmin hotcopy前,CentOS7挂载windows共享文件夹问题
- CentOS7挂载windows下的共享文件夹
- vmware下 ubuntu与Windows主机共享文件夹hgfs为空的解决办法
- vmware linux挂载windows共享文件夹
- VMware,win7与linux centos6.4文件互传,linux下挂载windows共享文件夹,vmware tools安装方法
- VMware安装ubuntu,通过/mnt/hgfs 挂载共享Windows系统文件夹
- 【Linux虚拟机】设置vmware下的虚拟机与主机windows共享文件夹
- vmware 虚拟 ubuntu 挂载 windows 共享文件夹
- Vmware Ubuntu 虚拟机与Windows主机共享文件夹
- vmware下 ubuntu与Windows主机共享文件夹hgfs为空的解决办法
- VMware,win7与linux centos6.4文件互传,linux下挂载windows共享文件夹,vmware tools安装方法
- ubuntu挂载局域网windows主机的共享文件夹
- Windows主机(Host)下Virtualbox与Ubuntu(Guest)共享文件夹
- 用mount挂载远程Windows共享文件夹进行文件拷贝的方法
- Xubuntu挂载局域网中的 windows 共享文件夹
- 如何让Vmware Linux访问主机共享文件夹
- VMWare虚拟机与主机共享文件夹(如何安装VMWare tools)windows与windows共...
- VMware下Ubuntu与宿主机简单共享文件夹
- linux虚拟机使用VMware的NAT共享windows主机IP上网