It is helpful to have a local Centos Linux installation for development and testing.
Step-by-step guide
Note: run the following commands from a Terminal window.
Install Brew:
- Note: you might need to install the Xcode tools first, run Xcode, and accept the license agreement
- xcode-select –install
- ruby -e "$(curl -fsSL https://raw.githubusercontent.
com/Homebrew/install/master/ install)"
Install Vagrant:
- brew cask install vagrant
- brew cask install vagrant-manager
Install Parallels Vagrant plugin:
- vagrant plugin install vagrant-parallels
Setup a directory for your Vagrant project:
- mkdir new_vagrant_project
- cd new_vagrant_project
Install Centos:
- vagrant init bento/centos-7.2
- vagrant up --provider parallels
SSH to your new VM:
- vagrant ssh
Resources:
- http://parallels.github.io/
vagrant-parallels/docs/ getting-started.html - http://www.howtogeek.com/
211541/homebrew-for-os-x- easily-installs-desktop-apps- and-terminal-utilities/ - http://sourabhbajaj.com/mac-
setup/Vagrant/README.html
I hope that you found this helpful. Now that you have it setup you can install whatever tools that you like such as Ansible, Java, etc... Cheers.