Skip to content

Instantly share code, notes, and snippets.

@passion8
Created August 31, 2017 09:13
Show Gist options
  • Save passion8/2769147c5352df4dad610100226f3b66 to your computer and use it in GitHub Desktop.
Save passion8/2769147c5352df4dad610100226f3b66 to your computer and use it in GitHub Desktop.
sudo apt-get update
mkdir -p PredictionIO-0.11.0-incubating/vendors
wget http://www-eu.apache.org/dist/incubator/predictionio/0.11.0-incubating/apache-predictionio-0.11.0-incubating.tar.gz
tar -xzf apache-predictionio-0.11.0-incubating.tar.gz -C PredictionIO-0.11.0-incubating
sudo add-apt-repository ppa:webupd8team/java -y && \
apt-get update && \
echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections && \
apt-get install -y oracle-java8-installer && \
apt install oracle-java8-unlimited-jce-policy && \
rm -r /var/cache/oracle-jdk8-installer
export JAVA_HOME=/usr/lib/jvm/java-8-oracle
PredictionIO-0.11.0-incubating/make-distribution.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment