Skip to content
Snippets Groups Projects
Commit 1b42f3c0 authored by Michael Boniface's avatar Michael Boniface
Browse files

Update install-neo4j.sh

parent ffed8788
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,7 @@
# https 7473
sudo apt update -o Acquire::CompressionTypes::Order::=gz
sudo apt install wget openjdk-11-jdk -y
sudo apt install wget openjdk-11-jre-headless cypher-shell -y
# configure apt
wget -O - https://debian.neo4j.org/neotechnology.gpg.key | sudo apt-key add -
......@@ -61,7 +61,7 @@ echo "neo4j ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
# run as neo4j. hence the weird su neo4j -c "sudo..."
echo "----->Installing neo4j"
su neo4j -c "sudo apt-get install cypher-shell neo4j=1:3.4.0 -y"
su neo4j -c "sudo apt-get install neo4j=1:3.4.0 -y"
su neo4j -c "sed -i s/\#dbms.connectors.default_listen_address=0.0.0.0/dbms.connectors.default_listen_address=0.0.0.0/g /etc/neo4j/neo4j.conf"
su neo4j -c "sed -i s/\#dbms.connector.bolt.listen_address=:7687/dbms.connector.bolt.listen_address=0.0.0.0:7687/g /etc/neo4j/neo4j.conf"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment