export ORIENTDB_HOME="your soft directory"
<users>
<user resources="*" password="orientdb" name="orientdb"/>
<user resources="connect,server.listDatabases,server.dblist" password="spark" name="guest"/>
</users>
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 &
dbms.connector.http.address=172.19.163.83:7474