当前位置:网站首页>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)

边栏推荐
猜你喜欢

Neo4j服务配置

梅科尔工作室-深度学习-BP神经网络

二、TF2 常见问题解决

How many times the neural network is generally trained, the neural network training time is too long

独立成分分析ICA/FastICA

YoloV4训练自己的数据集(三)

Pit Filling Simulated Hash Table

使用pyQt 网格布局(QGridLayout)创建一个计算器

PostgreSQL中想新建一个用户,让他仅能访问指定数据表,不能通过客户端工具看到表结构和函数内容,是否有方案可解决?

装机~ E5 剪辑
随机推荐
网络安全:系统文件属性
Stream API
正则表达式
4G/5G频谱资源协同关键技术
学生管理系统
kdeplot()核密度估计图的介绍
Test and Debug
docker安装Mysql和其数据持久化
图像融合评价方式
postgres 安装 14 版本出现错误提示解决办法
图像融合简介
ffmpeg获取视频时长和分辨率
Key technologies for 4G/5G spectrum resource coordination
2022届暑期实习笔经面经总结,已拿微软微信offer
C人脸识别
大恒工业相机搭建双目相机(软件)
YoloV4训练自己的数据集(二)
scikit-learn随机数据生成实例
基于knn的手写数字识别
word写论文中的一些方法