This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If you are facing an error like that on new MacOS version. | |
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun | |
It means that you need to install XCode command line, open a Terminal and run this command: | |
$ xcode-select --install | |
Note: | |
If you want to download and install Command Line tools manually, it can be downloaded from: https://developer.apple.com/download/more/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---- install Oracle JDK 1.8 | |
$ wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u141-b15/336fa29ff2bb4ef291e347e091f7f4a7/jdk-8u141-linux-x64.rpm | |
$sudo yum install -y jdk-8u141-linux-x64.rpm | |
---- install OpenJDK | |
$ vi install.sh | |
yum install -y java-1.8.0-openjdk-devel | |
yum remove java-1.7.0-openjdk | |
wget http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo -O /etc/yum.repos.d/epel-apache-maven.repo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/pkkummermo/grafana-vagrant-puppet-box | |
Vagrant.configure("1") do |config| | |
config.vm.box = "puppet_ubuntu12" | |
config.vm.box_url = "http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-12042-x64-vbox4210.box" | |
#config.vm.box = "ubuntu/trusty64" | |
# config.vm.box_url = "https://vagrant-kvm-boxes.s3.amazonaws.com/trusty64_kvm.box" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1-) Download and install Brew | |
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
$ brew update | |
$ brew upgrade | |
$ brew install wget | |
$ brew install cmake | |
2-) Download and install OpenCV 2.4.9 | |
$ wget http://downloads.sourceforge.net/project/opencvlibrary/opencv-unix/2.4.9/opencv-2.4.9.zip?r=http%3A%2F%2Fopencv.org%2Fdownloads.html&ts=1413724769&use_mirror=ufpr |