Last active
August 5, 2016 09:18
-
-
Save vlado/c19b5c1f6c4540d6605afc939fcbead2 to your computer and use it in GitHub Desktop.
Revisions
-
vlado revised this gist
Aug 1, 2016 . 1 changed file with 0 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -10,9 +10,4 @@ sudo mv /tmp/neo4j.list /etc/apt/sources.list.d sudo apt-get update sudo apt-get install neo4j -y echo "dbms.security.auth_enabled=false" | sudo tee -a /etc/neo4j/neo4j.conf -
vlado revised this gist
Aug 1, 2016 . 1 changed file with 2 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -10,10 +10,9 @@ sudo mv /tmp/neo4j.list /etc/apt/sources.list.d sudo apt-get update sudo apt-get install neo4j -y echo "Adding custom neo4j config" echo "dbms.security.auth_enabled=false" | sudo tee -a /etc/neo4j/neo4j.conf echo "dbms.connector.http.address=0.0.0.0:7474" | sudo tee -a /etc/neo4j/neo4j.conf echo "Custom config added" # curl -H "Content-Type: application/json" -X POST -d '{"password":"secret"}' -u neo4j:neo4j http://localhost:7474/user/neo4j/password echo "Password changed" -
vlado revised this gist
Aug 1, 2016 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -13,6 +13,7 @@ sudo apt-get install neo4j -y echo "neo4j status" sudo neo4j status echo "dbms.security.auth_enabled=false" | sudo tee -a /etc/neo4j/neo4j.conf echo "dbms.connector.http.address=0.0.0.0:7474" | sudo tee -a /etc/neo4j/neo4j.conf echo "Changing password" # curl -H "Content-Type: application/json" -X POST -d '{"password":"secret"}' -u neo4j:neo4j http://localhost:7474/user/neo4j/password echo "Password changed" -
vlado revised this gist
Aug 1, 2016 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -15,3 +15,4 @@ sudo neo4j status echo "dbms.security.auth_enabled=false" | sudo tee -a /etc/neo4j/neo4j.conf echo "Changing password" # curl -H "Content-Type: application/json" -X POST -d '{"password":"secret"}' -u neo4j:neo4j http://localhost:7474/user/neo4j/password echo "Password changed" -
vlado revised this gist
Aug 1, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -14,4 +14,4 @@ echo "neo4j status" sudo neo4j status echo "dbms.security.auth_enabled=false" | sudo tee -a /etc/neo4j/neo4j.conf echo "Changing password" # curl -H "Content-Type: application/json" -X POST -d '{"password":"secret"}' -u neo4j:neo4j http://localhost:7474/user/neo4j/password -
vlado revised this gist
Aug 1, 2016 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -13,6 +13,5 @@ sudo apt-get install neo4j -y echo "neo4j status" sudo neo4j status echo "dbms.security.auth_enabled=false" | sudo tee -a /etc/neo4j/neo4j.conf echo "Changing password" curl -H "Content-Type: application/json" -X POST -d '{"password":"secret"}' -u neo4j:neo4j http://localhost:7474/user/neo4j/password -
vlado revised this gist
Aug 1, 2016 . 1 changed file with 0 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -10,12 +10,6 @@ sudo mv /tmp/neo4j.list /etc/apt/sources.list.d sudo apt-get update sudo apt-get install neo4j -y echo "neo4j status" sudo neo4j status echo "dbms.security.auth_enabled=false" | sudo tee -a /etc/neo4j/neo4j.conf -
vlado revised this gist
Aug 1, 2016 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -19,4 +19,6 @@ echo "neo4j started" echo "neo4j status" sudo neo4j status echo "dbms.security.auth_enabled=false" | sudo tee -a /etc/neo4j/neo4j.conf sudo neo4j status echo "Changing password" curl -H "Content-Type: application/json" -X POST -d '{"password":"secret"}' -u neo4j:neo4j http://localhost:7474/user/neo4j/password -
vlado revised this gist
Aug 1, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -10,7 +10,6 @@ sudo mv /tmp/neo4j.list /etc/apt/sources.list.d sudo apt-get update sudo apt-get install neo4j -y echo "neo4j status" sudo neo4j status echo "starting neo4j" @@ -19,4 +18,5 @@ sudo neo4j start echo "neo4j started" echo "neo4j status" sudo neo4j status echo "dbms.security.auth_enabled=false" | sudo tee -a /etc/neo4j/neo4j.conf curl -H "Content-Type: application/json" -X POST -d '{"password":"secret"}' -u neo4j:neo4j http://localhost:7474/user/neo4j/password -
vlado revised this gist
Aug 1, 2016 . 1 changed file with 7 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -11,5 +11,12 @@ sudo apt-get update sudo apt-get install neo4j -y echo "dbms.security.auth_enabled=false" | sudo tee -a /etc/neo4j/neo4j.conf echo "neo4j status" sudo neo4j status echo "starting neo4j" sudo neo4j stop sudo neo4j start echo "neo4j started" echo "neo4j status" sudo neo4j status curl -H "Content-Type: application/json" -X POST -d '{"password":"secret"}' -u neo4j:neo4j http://localhost:7474/user/neo4j/password -
vlado revised this gist
Aug 1, 2016 . 1 changed file with 1 addition and 6 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -11,10 +11,5 @@ sudo apt-get update sudo apt-get install neo4j -y echo "dbms.security.auth_enabled=false" | sudo tee -a /etc/neo4j/neo4j.conf sudo neo4j start curl -H "Content-Type: application/json" -X POST -d '{"password":"secret"}' -u neo4j:neo4j http://localhost:7474/user/neo4j/password -
vlado created this gist
Aug 1, 2016 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,20 @@ #! /usr/bin/env bash set -e source /opt/change-java-version.sh change-java-version 8 wget -O - https://debian.neo4j.org/neotechnology.gpg.key | sudo apt-key add - echo 'deb http://debian.neo4j.org/repo stable/' >/tmp/neo4j.list sudo mv /tmp/neo4j.list /etc/apt/sources.list.d sudo apt-get update sudo apt-get install neo4j -y echo "dbms.security.auth_enabled=false" | sudo tee -a /etc/neo4j/neo4j.conf curl -H "Content-Type: application/json" -X POST -d '{"password":"secret"}' -u neo4j:neo4j http://localhost:7474/user/neo4j/password echo "====================================================================" echo "Following commands should be used with sudo" neo4j echo "====================================================================" java -version echo "===================================================================="