ronaro
(usa Ubuntu)
Enviado em 25/02/2017 - 20:18h
oi,
fiz primeira parte das suas instruções e instalei o oracle. quando fui para segunda parte e digitei sudo apt-key add - ficou carregando um tempão e não aconteceu nada. a versão que aprece do oracle quando digito java -version é essa:
java -version
java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)
aparece acesso negado quando digito /etc/profile.
/etc/profile
bash: /etc/profile: Permissão negada
com sudo gedit /etc/profile aparece isso:
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
if [ "$PS1" ]; then
if [ "$BASH" ] && [ "$BASH" != "/bin/sh" ]; then
# The file bash.bashrc already sets the default PS1.
# PS1='\h:\w\$ '
if [ -f /etc/bash.bashrc ]; then
. /etc/bash.bashrc
fi
else
if [ "`id -u`" -eq 0 ]; then
PS1='# '
else
PS1='$ '
fi
fi
fi
if [ -d /etc/profile.d ]; then
for i in /etc/profile.d/*.sh; do
if [ -r $i ]; then
. $i
fi
done
unset i
fi
JAVA_HOME=/usr/local/java/jre1.8.0_111
PATH=$PATH:$HOME/bin:$JAVA_HOME/bin
export JAVA_HOME
export PATH
aqui está o site com as intruções para instalar:
http://debian.neo4j.org/?_ga=1.261979534.2092435742.1487996392
no site tem essa nota:
A note about weak digest algorithms
The original keys used to sign packages in this repository used the SHA-1 algorithm. Apt now warns about the use of weaker algorithms and issues the following warning message:
Signature by key 66D34E951A8C53D90242132B26C95CF201182252 uses weak digest algorithm (SHA1)
It's safe to use these packages. We will switch to new keys soon: we're now distributing the current public key and a new public key using the SHA256 algorithm. We'll start signing packages with the new public key before the end of 2016.
mais essas instruções:
Using the Debian repository
The Neo4j Debian repository can be used on Debian and Debian-based distributions like Ubuntu.
Documentation for the Neo4j 3.0 (and above) Debian package is available here.
To use the repository add it to the list of sources:
wget -O -
https://debian.neo4j.org/neotechnology.gpg.key | sudo apt-key add -
echo 'deb
https://debian.neo4j.org/repo stable/' | sudo tee /etc/apt/sources.list.d/neo4j.list
sudo apt-get update
Installing Neo4j
To install the latest Neo4j Community Edition:
sudo apt-get install neo4j
To install the latest Neo4j Enterprise Edition:
sudo apt-get install neo4j-enterprise
If you have any questions, please ask on Stack Overflow
A note about Java 8: Java 8 is not included in Ubuntu 14.04 LTS, or Debian 8 (jessie) and will have to be installed manually prior to installing or upgrading Neo4j to version 3.0 or above. Please see the manual for more details.
por favor me ajude.