#DevSpace Vagrant
DevSpace Vagrant is a simple Ubuntu Trusty64 vagrant configuration for LAMP stack developers which also includes many related modern development tools.
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.
- 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
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
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
You must have Vagrant and VirtualBoxinstalled in your pc.
These are credentials setup by default.
##Host Address:
- Hose: 192.168.33.10 (Change in Vagrantfile if you like)
- Username: vagrant
- Password: vagrant
- Port: 22
- Username: root
- Password: root
- Host: localhost
- Port: 3306
This vagrantfile and provision is only tested in Mac.