參考官網文檔: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