debian安装Neo4j

参考官网文档:http://debian.neo4j.org/


为了简化Neo4j的安装,Neo提供了三个Debian仓库

1、测试版本

2、里程碑版本 为即将到来的Neo4j发布

3、稳定版本
默认使用的是稳定版本
为了使用这些包,我们运行以下命令:(各种坑来了)wget -O - http://debian.neo4j.org/neotechnology.gpg.key| apt-key add - # Import our signing key
echo 'deb http://debian.neo4j.org/repo stable/' > /etc/apt/sources.list.d/neo4j.list # Create an Apt sources.list file
aptitude update -y # Find out about the files in our repository
aptitude install neo4j -y # Install Neo4j, community edition

运行
wget -O - http://debian.neo4j.org/neotechnology.gpg.key| apt-key add - # Import our signing key时候
遇到错误:gpg symbol lookup error /usr/local/lib/libreadline.so.6 undefined symbol up
运行:
su
mkdir temp
mv /usr/local/lib/libreadline* temp
ldconfig 
apt-get update
然后运到错误:E: Release file for http://mirrors.163.com/debian/dists/wheezy-updates/Release is expired (invalid since 16h 48min 59s). Updates for this repository will not be applied.
则运行:
aptitude -o Acquire::Check-Valid-Until=false update  
apt-get -o Acquire::Check-Valid-Until=false update







發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章