GithubHelp home page GithubHelp logo

vagrantfiles's Introduction

Vagrant 安装

vagrant plugin install vagrant-disksize

注意 虚拟机存储空间默认设置为 30GB, 可以在 vagrantfile 中设置

创建虚拟机

clone 当前项目,在有 Vagrantfile 的目录下,执行:

git clone https://github.com/YuanfuC/Vagrantfiles.git

cd Vagrantfiles/8074

vagrant up
  • 关闭虚拟机
cd Vagrantfiles/8074

vagrant halt
  • 进入虚拟机
cd Vagrantfiles/8074

vagrant ssh 

共享文件夹

Vagrantfiles/share是虚拟机与主机的共用文件目录。例如:将文件移动到 Vagrantfiles/share 目录,在虚拟机中的 /home/vagrant/workspace 目录下可以访问。

vagrantfiles's People

Contributors

zerozero-robotic avatar yuanfuc avatar

Watchers

James Cloos avatar

Forkers

hcflight

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.