mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-17 02:11:38 +02:00
This commit bumps up karaf to 3.0.5. This commit also bumps up the jetty to 8.1.18.v20150929. Change-Id: I52849c38b535205db8c4e00e799b332f63b7e3f2
22 lines
838 B
Bash
Executable File
22 lines
838 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# Script to install ONOS dependencies on Ubuntu 14.04
|
|
#
|
|
|
|
echo debconf shared/accepted-oracle-license-v1-1 select true | sudo debconf-set-selections
|
|
|
|
echo debconf shared/accepted-oracle-license-v1-1 seen true | sudo debconf-set-selections
|
|
|
|
sudo apt-get install software-properties-common -y
|
|
sudo add-apt-repository ppa:webupd8team/java -y
|
|
sudo apt-get update && sudo apt-get install oracle-java8-installer oracle-java8-set-default git wget -y
|
|
export JAVA_HOME=/usr/lib/jvm/java-8-oracle
|
|
|
|
cd; mkdir Downloads Applications
|
|
cd Downloads
|
|
wget http://download.nextag.com/apache/karaf/3.0.5/apache-karaf-3.0.5.tar.gz
|
|
wget http://archive.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
|
|
tar -zxvf apache-karaf-3.0.5.tar.gz -C ../Applications/
|
|
tar -zxvf apache-maven-3.3.9-bin.tar.gz -C ../Applications/
|
|
|