windows安装OrientDB总结
2016-04-09 19:14
387 查看
下载commons-daemon-1.0.15-bin-windows.zip,下载地址http://mirrors.noc.im/apache//commons/daemon/binaries/windows/commons-daemon-1.0.15-bin-windows.zip,并解压
下载orientdb-community-2.1.13.zip ,下载地址http://orientdb.com/download.php?email=unknown@unknown.com&file=orientdb-community-2.1.13.zip&os=win,并解压
在orientDB目录下新建server文件夹,并将
复制到server目录下,并将其重命名为
,注意按照大小进行命名,别弄错了.
创建一个文本文件并将其命名为installService.bat,将以下内容复制进去,
将set str= 后的内容设置为自己机器上的jvm.dll以及数据库锁存放的位注意要用32位的,我一开始用的64位的,结果老报错,后来才发现的.
5.在cmd窗口中输入
,程序自动执行,然后打开服务即可看到orientDB已经在服务中,右键启动即可,
6.浏览器输入http://localhost:2480/studio/index.html#/ 即显示登录页面
第一次写博客,刚安装完以后准备写来着,结果CSDN维护.回家以后想在家里机器装一个,结果orientDB官网打不开了无法下载,好事多磨,最终还是写完,算是给自己的一个总结吧,也希望能帮到有需要的朋友,少走些弯路,One for all and all for one.
下载orientdb-community-2.1.13.zip ,下载地址http://orientdb.com/download.php?email=unknown@unknown.com&file=orientdb-community-2.1.13.zip&os=win,并解压
在orientDB目录下新建server文件夹,并将
复制到server目录下,并将其重命名为
,注意按照大小进行命名,别弄错了.
创建一个文本文件并将其命名为installService.bat,将以下内容复制进去,
:: OrientDB Windows Service Installation @echo off rem Remove surrounding quotes from the first parameter set str=C:\Program Files (x86)\Java\jdk1.7.0_55\jre\bin\server\jvm.dll rem Check JVM DLL location parameter if "%str%" == "" goto missingJVM set JVM_DLL=%str% rem Remove surrounding quotes from the second parameter set str=C:\orientdb rem Check OrientDB Home location parameter if "%str%" == "" goto missingOrientDBHome set ORIENTDB_HOME=%str% set CONFIG_FILE=%ORIENTDB_HOME%/config/orientdb-server-config.xml set LOG_FILE=%ORIENTDB_HOME%/config/orientdb-server-log.properties set LOG_CONSOLE_LEVEL=info set LOG_FILE_LEVEL=fine set WWW_PATH=%ORIENTDB_HOME%/www set ORIENTDB_ENCODING=UTF8 set ORIENTDB_SETTINGS=-Dprofiler.enabled=true -Dcache.level1.enabled=false -Dcache.level2.strategy=1 set JAVA_OPTS_SCRIPT=-XX:+HeapDumpOnOutOfMemoryError rem Install service OrientDBGraph.exe //IS --DisplayName="OrientDB GraphEd" ^ --Description="OrientDB Graph Edition, aka GraphEd, contains OrientDB server integrated with the latest release of the TinkerPop Open Source technology stack supporting property graph data model." ^ --StartClass=com.orientechnologies.orient.server.OServerMain --StopClass=com.orientechnologies.orient.server.OServerShutdownMain ^ --Classpath="%ORIENTDB_HOME%\lib\*" --JvmOptions "-Dfile.Encoding=%ORIENTDB_ENCODING%;-Djava.util.logging.config.file="%LOG_FILE%";-Dorientdb.config.file="%CONFIG_FILE%";-Dorientdb.www.path="%WWW_PATH%";-Dlog.console.level=%LOG_CONSOLE_LEVEL%;-Dlog.file.level=%LOG_FILE_LEVEL%;-Dorientdb.build.number="@BUILD@";-DORIENTDB_HOME=%ORIENTDB_HOME%" ^ --StartMode=jvm --StartPath="%ORIENTDB_HOME%\bin" --StopMode=jvm --StopPath="%ORIENTDB_HOME%\bin" --Jvm="%JVM_DLL%" --LogPath="%ORIENTDB_HOME%\log" --Startup=auto EXIT /B :missingJVM echo Insert the JVM DLL location goto printUsage :missingOrientDBHome echo Insert the OrientDB Home goto printUsage :printUsage echo usage: echo installService JVM_DLL_location OrientDB_Home EXIT /B
将set str= 后的内容设置为自己机器上的jvm.dll以及数据库锁存放的位注意要用32位的,我一开始用的64位的,结果老报错,后来才发现的.
5.在cmd窗口中输入
,程序自动执行,然后打开服务即可看到orientDB已经在服务中,右键启动即可,
6.浏览器输入http://localhost:2480/studio/index.html#/ 即显示登录页面
第一次写博客,刚安装完以后准备写来着,结果CSDN维护.回家以后想在家里机器装一个,结果orientDB官网打不开了无法下载,好事多磨,最终还是写完,算是给自己的一个总结吧,也希望能帮到有需要的朋友,少走些弯路,One for all and all for one.
相关文章推荐
- python入门
- TCP/IP协议族-----13、运输层简单介绍
- ViewPager左右滑动
- CentOS安装gitlab,gerrit,jenkins并配置ci流程
- 房屋面积实测表
- socket编程UDP客户端原理简介
- HDU 4059 容斥原理+快速幂+逆元
- 输出1000 ——2000的闰年
- 文件传输基础——Java IO流
- VMware网络连接模式详解:桥接、NAt、host-only
- 基于C#反射机制的工厂模式
- 关于eclipse连接不到genymotion的问题,eclipsegenymotion
- Linux 下wifi 驱动开发(三)—— SDIO接口WiFi驱动浅析
- ZooKeeper的选主机制
- 结队编程———黄金点游戏
- hdu 2296 Ring AC自动机+DP
- TCP/IP协议栈分析
- [BZOJ1037] [ZJOI2008] 生日聚会Party - 高维dp
- Linux 下wifi 驱动开发(二)—— WiFi模块浅析
- 下载jar包的网址