2014年5月18日 星期日

How to install NEO4j in CENTOS / REDHAT by using YUM

Neo4j Yum Repo

This is experimental and not considered safe for production. You have been warned.
First, you'll want our key:
cd /tmp
wget http://debian.neo4j.org/neotechnology.gpg.key
rpm --import neotechnology.gpg.key
Then, you'll want to add our yum repo to /etc/yum.repos.d/neo4j.repo:
cat <<EOF>  /etc/yum.repos.d/neo4j.repo
[neo4j]
name=Neo4j Yum Repo
baseurl=http://yum.neo4j.org
enabled=1
gpgcheck=1
EOF
Finally, install a package
yum install neo4j