https://github.com/nnfuzzy/dsmachine
Vagrant & Ansible usage to generate a basic data science machine
https://github.com/nnfuzzy/dsmachine
Last synced: about 2 months ago
JSON representation
Vagrant & Ansible usage to generate a basic data science machine
- Host: GitHub
- URL: https://github.com/nnfuzzy/dsmachine
- Owner: nnfuzzy
- Created: 2016-01-03T16:40:34.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-09-11T15:53:04.000Z (almost 9 years ago)
- Last Synced: 2025-03-01T06:11:15.511Z (over 1 year ago)
- Language: Shell
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# dsmachine
Vagrant/Ansible usage to generate a simple - data science machine -
* I'll improve the env_vars part asap (DRY)
## Install necessary packages (debian based systems)
* Install vagrant
```
https://releases.hashicorp.com/vagrant/2.0.0/vagrant_2.0.0_x86_64.deb
sudo dpkg -i vagrant_2.0.0_x86_64.deb
```
* Install virtualbox
```
sudo apt-get install virtualbox
sudo apt-get install virtualbox-dkms
sudo apt-get install virtualbox-guest-dkms
```
* Install ansible
```
sudo apt-get install software-properties-common
sudo apt-add-repository ppa:ansible/ansible
sudo apt-get update
sudo apt-get install ansible
```
### Now generate your data science machine i.e.
You can provision everything direct inside the Vagrant file , but I'd like to have it decoupled
```
* Total installation (not recommended)
vagrant up
ansible-playbook data-science.yml
* Single tags
ansible-playbook data-science.yml --list-tags
ansible-playbook data-science.yml -t base
* Grouped tags
ansible-playbook data-science.yml -t "base,spark,mongodb"
* Install local
ansible-playbook data-science.yml -i "localhost," -c local -t base
```
#### Contributors
* [Christian Schulz](https://twitter.com/nnfuzzy)