用户工具

站点工具


linux:vagrant

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录前一修订版
后一修订版
前一修订版
linux:vagrant [2017/12/14 10:07] – add vagrant ssh memorylinux:vagrant [2023/12/03 10:24] (当前版本) – 外部编辑 127.0.0.1
行 58: 行 58:
   end   end
 end end
 +</code>
 +
 +==== configuration ====
 +
 +Port forward:
 +
 +<code ruby>
 +config.vm.network "forwarded_port", guest: 8080, host: 8080
 </code> </code>
  
行 63: 行 71:
  
   * [[https://www.vagrantup.com/docs/index.html|Vagrant Documentation]]   * [[https://www.vagrantup.com/docs/index.html|Vagrant Documentation]]
 +  * [[https://favoorr.github.io/2017/01/06/vagrant-virtualbox-vagrantfile-config-best-practices/|vagrant 虚拟机配置最佳实践]]
linux/vagrant.1513217256.txt.gz · 最后更改: 2023/12/03 10:24 (外部编辑)