DevSpace Vagrant is a simple Ubuntu Trusty64 vagrant configuration for LAMP stack developers which also includes many related modern development tools.
Ubuntu 14.04 Vagrant Box – DevSpace
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/htmldirectory 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.
DevSpace Vagrant 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.
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
List of Packages in DevSpace Vagrant
- PHP 5.6.7
- MySQL 5.5.41
- Git 1.9
These are credentials setup by default.
Host Address: – Hose: 192.168.33.10 (Change in Vagrantfile if you like)
SSH: vagrant / vagrant
– Host: localhost
– Port: 3306