ligang 2018-03-21 12:26:12 3079次浏览 1条回复 2 0 0

Vagrant box for PHP projects,集成了当前最新的php虚拟机开发环境,see:https://github.com/chinahub/vagrant-lnmp

Include

  • centos/6.7
  • nginx/1.12.2
  • mariadb/10.1.23
  • php/7.1.7
  • python2.6.7
  • composer

Install

项目地址: (git clone) git clone https://github.com/chinahub/lnmp.git 建立box镜像关联 vagrant box add lnmpBox lnmp.box 初始化 vagrant init lnmpBox 启动虚拟机 vagrant up

Configuration

有host-only access/private_network/public_network三种模式可供选择 因本地单机开发,本配置选择为private_network 本地集群参考:https://www.vagrantup.com/docs/multi-machine/

您需要登录后才可以回复。登录 | 立即注册