当前位置:网站首页>Neo4j service configuration
Neo4j service configuration
2022-08-08 06:32:00 【feifeiyechuan】
1. Remote server Linux configuration environment:
(1) Installation package
# python environment:python3.6.8py2neo==3.1.2# neo4j environmentneo4j==3.5.6(2) neo4j configuration
vim conf/neo4j.conf;# check config filedbms.connectors.default_listen_address=0.0.0.0#remote accessdbms.connector.bolt.enabled=true #bolt service, default port 7687dbms.connector.http.enabled=true #http service, default port 7474dbms.connector.https.enabled=true #https service, default port 7473# Note that if you want to modify the service port, only modify bolt and httpsE.g:Just modify the content: the following port number is set by yourself, by the way, the port mapping of my server is 9008:10125, 9009:10126dbms.connector.bolt.listen_address=0.0.0.0:9009dbms.connector.http.listen_address=0.0.0.0:9008(3) Local pyneo access:
class Neo4j(object):def __init__(self):# Note that you need to use user="", password="" instead of author=(), it may be a version problem, try them allself.graph = Graph(host='0.0.0.0', http_port=9008, bolt_port=9009, user="neo4j",password="123456")# Low-level analysis (location: py2neo/database/__init__)The full set of `settings` supported are:============================================================ ===========================Keyword Description Type(s) Default============================================================ ===========================``bolt`` Use Bolt* protocol (`None` means autodetect) bool, ``None`` ``None````secure`` Use a secure connection (Bolt/TLS + HTTPS) bool ``False````host`` Database server host name str ``'localhost'````http_port`` Port for HTTP traffic int ``7474````https_port`` Port for HTTPS traffic int ``7473````bolt_port`` Port for Bolt traffic int ``7687````user`` User to authenticate as str ``'neo4j'````password`` Password to use for authentication str `no default`============================================================ ===========================(4) Remote access (pay attention to the port call, the website uses the http port, the login uses the bolt port, remember to modify it)

边栏推荐
猜你喜欢
随机推荐
代码自动初始化
How many times the neural network is generally trained, the neural network training time is too long
Validated plan
Neural network to solve what problem, neural network results is not stable
C语言详解童年游戏“9*9扫雷”
利用pycharm自定义关键字颜色
大恒工业相机搭建双目相机(软件)
C-默认构造函数什么情况下才真正被合成
4G/5G频谱资源协同关键技术
Nvidia Jetson Xavier安装中文输入法(googlepinyin)
Kingbase ES创建过程,报错:PL/SQL block not end correctly
打开deploy和manager图形化界面打不开
Tensorboard 对训练性能影响
postgres 安装 14 版本出现错误提示解决办法
np.iinfo和 np.finfo的用法
stack-queue
轮播图-js
YoloV4训练自己的数据集(五)
C face recognition
Disadvantages of flex layout









