Vmware里部署CentOs7共享目录


当前第2页 返回上一页

VMware默认的共享路径是在/mnt/hgfs,这是写死在VMware Tools的脚本里的,我们可以从/etc/init.d/vmware-tools查到:


1

2

3

4

5

6

7

8

9

10

11

12

13

vmhgfs_mnt="/mnt/hgfs"

#Mount all hgfs filesystems"

 vmware_mount_vmhgfs() {

  if [ "`is_vmhgfs_mounted`" = "no" ]; then

   if [ "`vmware_vmhgfs_use_fuse`" = "yes" ]; then

    mkdir -p $vmhgfs_mnt

    vmware_exec_selinux "$vmdb_answer_BINDIR/vmhgfs-fuse \

     -o subtype=vmhgfs-fuse,allow_other $vmhgfs_mnt"

   else

     vmware_exec_selinux "mount -t vmhgfs .host:/ $vmhgfs_mnt"

   fi

 fi

 }

想了解更多教程,请关注PHP中文网!

以上就是Vmware里部署CentOs7共享目录的详细内容,更多文章请关注木庄网络博客

返回前面的内容

相关阅读 >>

如何在centos7下搭建ftp服务器

centos7如何关机?

centos7配置ip地址的两种方法详解

如何在centos7在设置ip地址

centos7如何切换到图形界面

centos7下yum安装软件总是失败怎么办

centos7下yum安装报错怎么办

centos7系统中端口无法访问怎么办

什么是nfs?分享在centos7上实现nfs共享

centos7下如何设置输入密码三次错误后锁定用户

更多相关阅读请进入《VMware》频道 >>



打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...