/devspace

DevSpace Vagrant is a simple Ubuntu Trusty64 vagrant configuration for LAMP stack environment.

Primary LanguagePHP

#DevSpace Vagrant

DevSpace Vagrant is a simple Ubuntu Trusty64 vagrant configuration for LAMP stack developers which also includes many related modern development tools.

Overview

This vagrant use ubuntu/trusty64 from Atlas Vagrant Box. On your 'vagrant up' command, this vagrantfile will automatically download the box. Vagrant folder here contain a bootstrap.sh file which provision the vagrant box.

You need to place your projects in projects directory. This directory is synced with /var/www/html directory in the virtual machine. This project folder also contain a config folder which is used during the provisioning.

This vagrant box is configured to use '1024mb' of RAM and 1 Cpu. You can change ths configuration from Vagrantfile.

Included packages

  • Ubuntu Trusty64 (64-Bit)
  • Apache 2
  • PHP v5.6.7 with mysql, mcrypt, memcached, memcache, sqlite, xmlrpc, geoip gd, xdebug, php5-fpm, php5-common
  • MySQL v5.5.41
  • Git v1.9.1
  • Node v0.10.38
  • Composer v1.0.0-alpha9
  • NPM v1.4.28
  • Bower v1.3.12

Included Dependencies

The following dependencies are installed using apt-get as they are required to install and build other modules:

  • cURL
  • python-software-properties
  • build-essential
  • libev-dev

Installation

Install via Git

To use DevSpace vagrant, clone this github repo

$ git clone https://github.com/arifulhb/devspace.git

to your mac/pc/linux. When clone is complete, go to the devspace and now you are ready to use your Virtual Machine.

Use

Start the VM

$ cd /devspace
$ vagrant up

First time of your 'vagrant up' will provision the vagrant. You can see the status of your VM from http://192.168.33.10. You can check the phpinfo from http://192.168.33.10/phpinfo.php

Requirements

You must have Vagrant and VirtualBoxinstalled in your pc.

Default Credentials

These are credentials setup by default.

##Host Address:

  • Hose: 192.168.33.10 (Change in Vagrantfile if you like)

SSH

  • Username: vagrant
  • Password: vagrant
  • Port: 22

MySQL Credentials

  • Username: root
  • Password: root
  • Host: localhost
  • Port: 3306

Disclaimer

This vagrantfile and provision is only tested in Mac.