Flavio Castro
Committed by Gerrit Code Review

Adding installation script for Ubuntu 14.04

Change-Id: Ibd215d2c8af82a9e725d159d710a80a4263515ab
1 +#!/bin/bash
2 +#
3 +# Script to install ONOS dependencies on Ubuntu 14.04
4 +#
5 +
6 +echo debconf shared/accepted-oracle-license-v1-1 select true | sudo debconf-set-selections
7 +
8 +echo debconf shared/accepted-oracle-license-v1-1 seen true | sudo debconf-set-selections
9 +
10 +sudo apt-get install software-properties-common -y
11 +sudo add-apt-repository ppa:webupd8team/java -y
12 +sudo apt-get update && sudo apt-get install oracle-java8-installer oracle-java8-set-default git wget -y
13 +export JAVA_HOME=/usr/lib/jvm/java-8-oracle
14 +
15 +cd; mkdir Downloads Applications
16 +cd Downloads
17 +wget http://download.nextag.com/apache/karaf/3.0.3/apache-karaf-3.0.3.tar.gz
18 +wget http://archive.apache.org/dist/maven/maven-3/3.3.1/binaries/apache-maven-3.3.1-bin.tar.gz
19 +tar -zxvf apache-karaf-3.0.3.tar.gz -C ../Applications/
20 +tar -zxvf apache-maven-3.3.1-bin.tar.gz -C ../Applications/
21 +