下载和启动实例
1、下载和启动Cassandra,生产环境会使用HBase作为Storage backend,但在开发环境部署HBase比较复杂
http://cassandra.apache.org/download/ 下载3.11.2
解压后 sh bin/cassandra -f, 默认绑定IP:127.0.0.1 PORT:9042
启动thrift,sh ./bin/nodetool enablethrift 默认绑定IP:127.0.0.1 PORT:9160
2、下载和启动ES
JanusGraph的发布包自带ES,sh /elasticsearch/bin/elasticsearch,默认绑定IP:127.0.0.1 PORT:9200
也可以使用独立的ES,但建议5.0以上版本。
PS:centos6下启动es5.0以上版本遇到的问题及解决方法
[1]: max file descriptors [10240] for elasticsearch process is too low, increase to at least [65536]
ulimit -n 65536
[2]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
修改/etc/sysctl.conf配置文件,
cat /etc/sysctl.conf | grep vm.max_map_count
vm.max_map_count=262144
如果不存在则添加
1、下载和启动Cassandra,生产环境会使用HBase作为Storage backend,但在开发环境部署HBase比较复杂
http://cassandra.apache.org/download/ 下载3.11.2
解压后 sh bin/cassandra -f, 默认绑定IP:127.0.0.1 PORT:9042
启动thrift,sh ./bin/nodetool enablethrift 默认绑定IP:127.0.0.1 PORT:9160
2、下载和启动ES
JanusGraph的发布包自带ES,sh /elasticsearch/bin/elasticsearch,默认绑定IP:127.0.0.1 PORT:9200
也可以使用独立的ES,但建议5.0以上版本。
PS:centos6下启动es5.0以上版本遇到的问题及解决方法
[1]: max file descriptors [10240] for elasticsearch process is too low, increase to at least [65536]
ulimit -n 65536
[2]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
修改/etc/sysctl.conf配置文件,
cat /etc/sysctl.conf | grep vm.max_map_count
vm.max_map_count=262144
如果不存在则添加