We will use official box "ubuntu/xenial64" and modify it to work with Vagrant.
- Vagrantfile
Install HomeBrew first
brew update
brew tap caskroom/cask
brew install brew-caskIf you get the error "already installed", follow the instructions to unlink it, then install again:
| sudo cp netmonitor.sh /usr/bin/netmonitor.sh | |
| sudo chmod 755 /usr/bin/netmonitor.sh | |
| sudo crontab -e | |
| Add to crontab: | |
| */2 * * * * /usr/bin/netmonitor.sh 2>&1 | /usr/bin/logger -t netmonitor |
| # 20160704 - Cloned this gist from natelandau/.bash_profile | |
| # --------------------------------------------------------------------------- | |
| # | |
| # Description: This file holds all my BASH configurations and aliases | |
| # | |
| # Sections: | |
| # 1. Environment Configuration | |
| # 2. Make Terminal Better (remapping defaults and adding functionality) | |
| # 3. File and Folder Management | |
| # 4. Searching |
| ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### | |
| ### Shell script to download Oracle JDK / JRE / Java binaries from Oracle website using terminal / command / shell prompt using wget. | |
| ### You can download all the binaries one-shot by just giving the BASE_URL. | |
| ### Script might be useful if you need Oracle JDK on Amazon EC2 env. | |
| ### Script is updated for every JDK release. | |
| ### Features:- | |
| # 1. Resumes a broken / interrupted [previous] download, if any. | |
| # 2. Renames the file to a proper name with including platform info. |
| >>vagrant provision | |
| the ffi-yajl and yajl-ruby gems have incompatible C libyajl libs and should not be loaded in the same Ruby VM | |
| falling back to ffi which might work (or might not, no promises) | |
| ==> default: Loading Berkshelf datafile... | |
| .... | |
| All good...in the run... I think | |
| Is this normal? Same happens on | |
| >>vagrant up. |