作家
登录

NoSQL: 如何在Ubuntu 16.04上安装OrientDB

作者: 来源: 2017-08-02 16:54:03 阅读 我要评论

 
  • | This is the first time the server is running. Please type a | 
  • password of your choice for the 'root' user or leave it blank | 
  • to auto-generate it. | 
  • | | 
  • To avoid this message set the environment variable or JVM | 
  • | setting ORIENTDB_ROOT_PASSWORD to the root password to use. | 
  • +---------------------------------------------------------------+ 
  • Root password [BLANK=auto generate it]: ******** 
  • Please confirm the root password: ******** 
  • 再更改 /opt/orientdb 目次的所有权:

    1. # chown -R orientdb:orientdb /opt/orientdb 

    改变办事器设备文件的权限:

    1. # chmod 640 /opt/orientdb/config/orientdb-server-config.xml 

    下载体系守护过程办事

    OrientDB 的紧缩包包含一个办事文件 /opt/orientdb/bin/orientdb.service。我们将其复制到 /etc/systemd/system 文件夹下:

    1. # cp /opt/orientdb/bin/orientdb.service /etc/systemd/system 

    编辑该办事文件:

    1. # systemctl status orientdb 
    1. # $EDITOR /etc/systemd/system/orientdb.service 

    个中 [service] 内容块看起来竽暌功该是如许的:

    1. [Service] 
    2. User=ORIENTDB_USER 
    3. Group=ORIENTDB_GROUP 
    4. ExecStart=$ORIENTDB_HOME/bin/server.sh 

    将其改成如下样式:

    1. [Service]User=orientdb Group=orientdb ExecStart=/opt/orientdb/bin/server.sh 

    保存并退出。

    从新加载体系守护过程:

    1. # systemctl daemon-reload 
    1. # systemctl start orientdb 
    2. # systemctl enable orientdb 

    确认 OrientDB 的状况:

    上述指令应当会输出:

    总结

    在这个指导中,我们看到了一些关系型数据库治理体系(RDBMS)以及非关系型数据库治理体系(NoSQL DBMS)的简单对比。我们也安装 OrientDB 社区版的办事器端并完成了其基本的设备。

    1. ● orientdb.service - OrientDB Server 
    2.  Loaded: loaded (/etc/systemd/system/orientdb.service; disabled; vendor preset: enabled) 
    3.  Active: active (running) ... 

    这是我们安排完全的 OrientDB 基本举措措施的第一步,也是我们用于治理大年夜型体系数据的起步。

    【编辑推荐】

    1. Linux连接投影仪(ubuntu)掉败或显示不正常
    2. uCareSystem:Ubuntu/Linux Mint的一体化体系更新和保护对象
    3. Chromebook若何双启动:Ubuntu 17.04 GNOME和Chrome OS

        推荐阅读

        大数据时代 CIO与CMO的融合之道

      “你们根本不懂得市场!”“技巧上的事你们也不懂!”“你们的技巧就是座封闭的孤岛!”“那你们也不克不及背着我们本身去找供给商!”以大年夜数据>>>详细阅读


      本文标题:NoSQL: 如何在Ubuntu 16.04上安装OrientDB

      地址:http://www.17bianji.com/lsqh/36519.html

    关键词: 探索发现

    乐购科技部分新闻及文章转载自互联网,供读者交流和学习,若有涉及作者版权等问题请及时与我们联系,以便更正、删除或按规定办理。感谢所有提供资讯的网站,欢迎各类媒体与乐购科技进行文章共享合作。

    网友点评
    自媒体专栏

    评论

    热度

    精彩导读
    栏目ID=71的表不存在(操作类型=0)