GithubHelp home page GithubHelp logo

vagrant-centos7-php's Introduction

Vagrant CentOS7 PHP Development Environment

This project sets up a CentOS 7.1 (64bit) virtual machine to run your PHP project in. It mounts your PHP project directory so that you can use your favorite editors to work.

Requirements

  • VirtualBox - Free virtualization software. Download
  • Vagrant - Tool for working with VirtualBox images. Download

Tested on

Host OS VirtualBox Vagrant
Mac OS X 10.10.5 5.0.10 1.7.4
Ubuntu 14.04 4.3.28 1.6.5

What's in the Development Environment?

Directory Structure

project/                 ... your project directory
├── public/              ... web document root
└── vagrant-centos7-php/ ... this repository

If your web document root is not public folder, but the project folder, try to run the following commands:

$ cd /path/to/project/
$ ln -s . public

How to Use

Installation

$ cd /path/to/project/
$ git clone https://github.com/sjestadt/vagrant-centos7-php.git
$ cd vagrant-centos7-php/
$ vagrant up

Accessing Your Project

Vagrant

Here are common commands:

command description
vagrant up starts the virtual machine and provisions it
vagrant provision provisions the vagrant machine
vagrant suspend will save the current running state of the machine and stop it
vagrant halt attempts a graceful shutdown of the machine
vagrant ssh gives you SSH access to the virtual machine
vagrant destroy will destroy the machine
vagrant status shows status of the machine
vagrant global-status shows status of all virtual machines

References

If you look for CentOS6:

vagrant-centos7-php's People

Contributors

kenjis avatar sjestadt avatar

Watchers

 avatar  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.