Skip to content

Instantly share code, notes, and snippets.

View jptiancai's full-sized avatar
🎯
Focusing

Gangzi jptiancai

🎯
Focusing
View GitHub Profile
@rolandjitsu
rolandjitsu / spark.md
Last active February 25, 2021 08:51 — forked from ololobus/Spark+ipython_on_MacOS.md
Apache Spark installation for Mac OS X

Apache Spark

Install steps for Apache Spark on Mac OS X using Homebrew.

Install Java Development Kit


Download and install it from oracle.com, then add following code to your .bash_profile, .zshrc, etc.:

# Apache Spark
if which java > /dev/null; then export JAVA_HOME=$(/usr/libexec/java_home); fi
@sr75
sr75 / wget-jdk-oracle-install-example.txt
Last active March 16, 2023 11:28
wget command to install Oracle JAVA JDK from stupid oracle website for centos and ubuntu
http://d.stavrovski.net/blog/post/how-to-install-and-setup-oracle-java-jdk-in-centos-6
# rpm
wget --no-cookies \
--no-check-certificate \
--header "Cookie: oraclelicense=accept-securebackup-cookie" \
"http://download.oracle.com/otn-pub/java/jdk/7u55-b13/jdk-7u55-linux-x64.rpm" \
-O jdk-7-linux-x64.rpm
# ubuntu