我安装的vagrant进入虚拟机后 我想修改源码 在哪修改

文档问题 · shen1228 · 于 6年前 发布 · 3143 次阅读

如果是打包的,那我怎么进行二开?

共收到 8 条回复 问题提问
Fecmall#16年前 0 个赞

应该是 /www/web/develop/fecshop

这个是根目录。

forecho#26年前 0 个赞

vagrant 配置文件里面有写一个默认共享的文件夹,可以在 Windows 里面开发(写代码)。

Fecmall#36年前 0 个赞

@forecho [[#2楼](#comment2)](#comment2) 嗯,我那个box没有做。

Vagrantfile中的配置

# Share an additional folder to the guest VM. The first argument is
  # the path on the host to the actual folder. The second argument is
  # the path on the guest to mount the folder. And the optional third
  # argument is a set of non-required options.
  config.vm.synced_folder "D:\\php\\project\\lab", "/home/lab"
shen1228#46年前 0 个赞

config.vm.synced_folder "D:\php\project\lab", "/home/lab" 我加了这句后 本地并没有共享文件

Fecmall#56年前 0 个赞

@shen1228 #4楼 你直接shell进入虚拟机, cd /www/web/develop/fecshop 在这里改

shen1228#66年前 0 个赞

根本没有你说的目录啊

Fecmall#76年前 0 个赞

@shen1228 #6楼 不会玩linux,先去玩linux

forecho#86年前 1 个赞

@shen1228 #6楼 你还是学一下 vagrant 怎么使用吧,你使用姿势不对。看一下我之前推荐的文章链接。

添加回复 (需要登录)
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册
Your Site Analytics