标签:.com 注意 bsp 挂载 tools 使用 共享文件 tool centos
首先下载VMware和CentOs7的镜像
安装VMware我是参考的https://www.cnblogs.com/wuyx/p/7246675.html,已经非常详细了
然后需要配置网络了 参考https://www.linuxidc.com/Linux/2017-07/145845.htm
第三步搭建lnmp环境 https://lnmp.org/
设置共享目录 参考:https://blog.csdn.net/joson_yuan/article/details/71805269?utm_source=itdadao&utm_medium=referral
1.安装VMWare tools
2.在虚拟机中设置共享目录
使用 mount -t vmhgfs .host:/shared /mnt/hgfs 命令挂载该共享文件夹(注意:带.号的哦),其中.host:/Documents是共享名,只需把Documents换成
使用vmware-hgfsclient 命令得到的目录,/mnt/hgfs是挂载点
设置为随机启动后自动挂载
编辑 /etc/fstab,添加下面一行
.host:/shared /mnt/hgfs vmhgfs defaults 0 0 (按需写)
其中 host:/share 中的share是共享名,可以通过命令:vmware-hgfsclient 查看
标签:.com 注意 bsp 挂载 tools 使用 共享文件 tool centos
原文地址:https://www.cnblogs.com/wangziyue/p/9491932.html