Last active
December 20, 2015 14:59
-
-
Save hpherzog/6151130 to your computer and use it in GitHub Desktop.
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
#!/bin/sh | |
NEO4J_INSTALL_USER = "foo" | |
cd /tmp | |
(cat <<-SRC | |
# neo4j | |
deb http://debian.neo4j.org/repo stable/ | |
SRC | |
) > /etc/apt/sources.list.d/neo4j.list | |
# neo4j apt key | |
wget http://debian.neo4j.org/neotechnology.gpg.key | |
apt-key add neotechnology.gpg.key | |
apt-get update | |
apt-get install -y \ | |
java-package \ | |
openjdk-6-jdk \ | |
lsof | |
wget \ | |
--no-cookies \ | |
--header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com" \ | |
"http://download.oracle.com/otn-pub/java/jdk/7u25-b15/jdk-7u25-linux-i586.tar.gz" | |
su -c "fakeroot make-jpkg jdk-7u25-linux-i586.tar.gz" $NEO4J_INSTALL_USER |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment