Vagrant教程

DeeLMind小于 1 分钟

Vagrant教程

虚拟机教程

YouTube系列教程open in new window

B站系列教程open in new window

Vagrant教程

YouTube系列教程open in new window

B站系列教程open in new window

安装配置

  • 修改BOX安装目录
Set VAGRANG_HOME  E:\myvagrant
config.vm.provision "file", source: "test.txt", destination: "c://test.txt"
config.vm.provision "shell", path: "test.ps1"

网络配置

  • 端口映射:
config.vm.network "forwarded_port", guest: 80, host: 8080
config.vm.network "forwarded_port", guest: 2003, host: 12003, protocol: "tcp"
上次编辑于:
贡献者: DeeLMind