承接 enkas/vagrant 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

enkas/vagrant

最新稳定版本:0.4.0

Composer 安装命令:

composer require enkas/vagrant

包简介

Shell scripts to install and configure Cent OS 6 trough Vagrant Up

README 文档

README

Documentation

If you're just getting started with Vagrant, it is highly recommended you start with the getting started guide.

Vagrant Doc

Config Local Machine (Unix)

Step1: Add the fallowing host line to /etc/hosts

sudo nano /etc/hosts

127.0.0.1 vagrant.lo web.lo 192.168.33.22 www.vagrant.lo www.web.lo

Step2: Install via Composer

  • Create your New Web App project folder
    $ cd ~
    $ mkdir new_project
    $ cd ./new_project
  • run
    composer require enkas/vagrant:dev-master

or add to your composer.json

{
  "require" : {
    "enkas/vagrant": "dev-master"
  }
}
  • and run
    composer update

Step3: Vagrant Up

Step3.1: Optional overwrite vagrant constants

you may copy, the ./vendor/enkas/vagrant/_conf/my_conf.rb to ./my_conf.rb and change change your environmental constants as you want

cp ./vendor/enkas/vagrant/_conf/my_conf.rb ./my_conf.rb

Step3.2: Create web folder

create folder ./www_web this folder may host your application and can be accessed later on at www.web.lo

Step3.3: Vagrant Up

cd ./vendor/enkas/vagrant
vagrant up

Step4: Access the project

Access from local machine the address:

or using port forwarding

To connect to your vagrant server

vagrant ssh

统计信息

  • 总下载量: 3.68k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-02-23