OrientDB单机安装教程

step one:设置ORIENTDB_HOME in ~/.bash_rc

export ORIENTDB_HOME="your soft directory"

step two:修改config/orientdb-server-config.xml,设置用户登录密码

<users>
    <user resources="*" password="orientdb" name="orientdb"/>
    <user resources="connect,server.listDatabases,server.dblist" password="spark" name="guest"/>
</users>

step three:修改bin/orientdb.sh

orientdb启动默认需要root权限,修改配置去除root权限限制

# You have to SET the OrientDB installation directory here
ORIENTDB_DIR="$ORIENTDB_HOME"
ORIENTDB_USER="orientdb"

start方法修改为:
#su $ORIENTDB_USER -c "cd \"$ORIENTDB_DIR/bin\"; /usr/bin/nohup ./server.sh 1>$LOG_DIR/orientdb.log 2>$LOG_DIR/orientdb.err &"
/usr/bin/nohup ./server.sh 1>$LOG_DIR/orientdb.log 2>$LOG_DIR/orientdb.err &

stop方法修改为:
#su $ORIENTDB_USER -c "cd \"$ORIENTDB_DIR/bin\"; /usr/bin/nohup ./shutdown.sh 1>>$LOG_DIR/orientdb.log 2>>$LOG_DIR/orientdb.err &"
/usr/bin/nohup ./shutdown.sh 1>>$LOG_DIR/orientdb.log 2>>$LOG_DIR/orientdb.err &

bin/server.sh启动进程服务 or bin/orientdb.sh start/stop 后台启动服务

neo4j单机节点安装:修改conf/neo4j.conf

dbms.connector.http.address=172.19.163.83:7474
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值