Centos 安装 neo4j

This is experimental and not considered safe for production. You have been warned.

Please note that this repo contains pre-release as well as release versions of Neo4j. To ensure that you get a release version you must specify an explicit version when installing.

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-2.2.6





=============================================方法二================================================================================

Run the following commands to download and import neotechnology's public gpg key into the rpm keyring

cd /tmp
wget http://debian.neo4j.org/neotechnology.gpg.key
sudo rpm --import neotechnology.gpg.key

Create the neo4j repo file using you editor of choice and add it to the yum repos definition directory. Add the following lines to the neo4j.repo file

[neo4j]  name=Neo4j Yum Repo  baseurl=http://yum.neo4j.org enabled=1  gpgcheck=1

nano neo4j.repo
sudo cp neo4j.repo /etc/yum.repos.d/

Finally run the command to install neo4j

sudo yum install neo4j

Here are some things to note with the install:

  • - An java jdk (openjdk) is installed and configured for you even if you already have one on the server.
  • - The neo4j binaries are installed to /usr/share/neo4j
  • - The neo4j properties files are installed to /etc/neo4j
  • - The default/initial database location is /var/lib/neo4j
  • - Neo4j is installed as a service in the stopped state. You can start it by running sudo service neo4j start. By default, the neo4j instance is only accessible viahttp://localhost:7474/. If you want to enable outside access, you need to uncomment the line in the neo4j-server.properties file: #org.neo4j.server.webserver.address=0.0.0.0 and restart the server.

本文参与腾讯云自媒体分享计划,欢迎正在阅读的你也加入,一起分享。

发表于

我来说两句

0 条评论
登录 后参与评论

相关文章

来自专栏VRPinea

智能家居应用|三星套路玩的深,AR走进格里芬

801
来自专栏数据的力量

莫言:人一上网就变得厚颜无耻

网络是个被文人雅士吹唬得神乎其神的地方,也是个被同样的文人雅士贬斥得一文不值的地方。至于我个人,对于自己不懂或是不太懂的事物,总是出言谨慎,不敢轻易臧否。去年被...

834
来自专栏域名资讯

小心新型“抢注域名”诈骗 !

浙江的林老板花一万多元注册的域名,有人说要用百万元收购。喜不自胜的他又听信了对方的建议掏钱让他们帮忙抢注类似域名坐等赚钱。前前后后花了47万元,最后人却不见了,...

800
来自专栏腾讯NEXT学位

1分钟get程序猿时尚穿搭指南,变身宇宙最靓的仔!

最近! 票圈流行着这样一则新闻: 快递员凌晨送件,将下班程序员认成小偷 啥?段子? NO!有图有真相~ 翠花儿!上图! ? ? ? ? 程序猿呢! 是自带黑...

571
来自专栏菩提树下的杨过

Javascript:模仿淘宝的信用评价

老板昨天开会说:要给公司的购物平台增加信用评价功能,用户体验参考淘宝。 于是今天研究了一下,用jQuery模似一个类似的效果:  ? 代码如下: <!D...

2067
来自专栏Python专栏

有时间BB,不如想想怎么让别人闭嘴吧

经过上次「SKR!虎扑66万JRS大战3300万吴亦凡护卫队,别逼我拿Python」一事,我发现观众里有很多JRs,「这就是灌篮」一定不陌生。

973
来自专栏SeanCheney的专栏

如何模仿教父

FBI网站有组织犯罪的页面专门有介绍Cosa nostra:https://www.fbi.gov/investigate/organized-crime/hi...

981
来自专栏区块链大本营

冻结黑客账户!6万EOS被盗的最新仲裁结果出来了

近期大热的EOS版狼人杀遭遇黑客攻击,60686.4190个EOS被盗,上线不到2天的EOS狼人游戏被迫停服。

482
来自专栏CSDN技术头条

我被程序员打了!!

本来这事,以我腼腆的性格我是不想说的,昨晚上被俩程序员打!了!哥们内心实在是憋屈!在这里一吐为快!

942
来自专栏小狼的世界

惊闻NBC在奥运后放弃使用Silverlight

奥运初始的时候,媒体对于NBC使用Silverlight技术进行了高调的宣传,没想到奥运会结束刚刚三周的时间,NBC就弃用了Siverlight,重新采用Ado...

962

扫码关注云+社区