- install vagrant
- install vagrant-vbguest plugin
- install VirtualBox 5.0+
- install ansible
- install NFS support
ansible-playbook -i env/prod/main.ini setup_server.yml -u root --ask-pass
Add this line in your
/etc/hosts
file:10.10.5.60 dev.local
And then it will be avaible in browser at: http://dev.local
sudo su
sudo apt-get install vim git -y
sudo apt-get update
sudo apt-get install -y software-properties-common python-keyczar
sudo apt-add-repository ppa:ansible/ansible -y
sudo apt-get update
sudo apt-get install -y ansible
ansible --version
wget https://releases.hashicorp.com/vagrant/1.8.6/vagrant_1.8.6_x86_64.deb
sudo dpkg -i vagrant_1.8.6_x86_64.deb
wget http://download.virtualbox.org/virtualbox/5.0.26/virtualbox-5.0_5.0.26-108824~Ubuntu~trusty_amd64.deb
sudo dpkg -i virtualbox-5.0_5.0.26-108824~Ubuntu~trusty_amd64.deb
vagrant plugin install vagrant-vbguest
sudo apt install nfs-kernel-server
git clone git@github.com:kisphp/ansible-ub16php7.git ~/Desktop/www
cd ~/Desktop/www
vagrant up