This makes a virtual machine which has several programming languages.
- java 8
- node 0.12.x
- nvm
- npm
- typescript
- coffeescript
- mocha
- php 5.5
- composer
- ruby 2.2
- scala 2.11.6
- sbt 0.13.8
- activator 1.3.2
- python3
- git 2.x
- mysql 5.6
- VirtualBox
- Vagrant 1.7 or later
- Ansible
Add ubunt1404 to vagrant box
vagrant box add ubuntu1404 https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box
And then make your own Vagrantfile and hosts.
Vagrantfile.sample and hosts.sample are sample files.
Export the private key path for GitHub and OS user name of guest PC.
export PRIVATE_KEY_PATH=~/.ssh/id_rsa
export OS_USER_NAME=vagrant
All roles are included in all.yml.
If you want to choose using roles, make your own yaml file.
git clone https://github.com/code-check/env-builder.git code-check-env
cd code-check-env
vagrant up
ansible-playbook all.yml
vagrant ssh
The location of ssh private key was changed from 1.7.
Check existence of .vagrant/machines/default/virtualbox/private_key
If you destroyed the virtual machine and recreate it.
Its host signature changes.
So, you have to remove existing host signature(192.168.33.101) from known_hosts.