GithubHelp home page GithubHelp logo

workstation's Introduction

workstation

使用 vagrant 搭建 php 开发环境

从无到有

准备工作

安装 vagrant

下载 vagrant 官网地址 并安装

安装 virtual box

下载 VirtualBox 官网地址 并安装

克隆仓库到本地

  git clone [email protected]:newiep/workstation.git vagrant
  cd vagrant

开始搭建

添加 box 到 vagrant

  vagrant box add metadata.json

我已经把准备好的环境打包并上传到七牛,上面的命令会从七牛下载 box 文件并添加到 vagrant, 中间可能会等待一些时间

查看是否已经添加成功

  vagrant box list

如果看到 newiep/workstation (virtualbox, 0.0.1) 的列表,证明添加成功

启动环境

vagrant up

耐心等环境启动完毕就可以了,然后可以用 vagrant ssh 进入到虚拟机里,happy coding ^_^

workstation's People

Contributors

newiep avatar troubleman avatar

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.