Automating the installation of VM and mandatory packages for a Web application.
- Vagrant >=1.5
- Ansible >=1.6.1
- lsyncd
Install role dependency:
$ ansible-galaxy install leonidas.nvm
$ ansible-galaxy install geerlingguy.apache
$ ansible-galaxy install lesmyrmidons.mongodbDownload and move to folder:
$ cd /path/vm-environment-developmentCopy the file parameters.rb.dist to parameters.rb:
$ cp parameters.rb.dist parameters.rbChange the file parameters.rb as desired.
To run VM and execute ansible for install all package:
$ vagrant up --provisionTo do so, we will use lsyncd. You just run it once.
$ lsyncd -rsyncssh /folder/project vagrant@192.168.40.10 /vagrant/project/- Ajenti (Web administration server)
- Mariadb (equal mysql)
- MongoDB (No-SQL v2.6.1)
- PHP5 (PHP 5.4.x)
- Composer (Dependency manager for PHP)
- Phpmyadmin (To administration database)
- nvm (Virtual Nodejs)
- git
MIT / BSD