• 初试couchbase(安装配置)


    转载自:http://hi.baidu.com/longqiqi521/item/66a4565bd9ff33adacc857a5

    couchbase属于nosql系列,个人感觉它要比mongodb操作简单,mongo的查询语句太复杂。在数据的持久性方面它区别于其他nosql的唯一大亮点是不受限于其内存分配了多少,只要磁盘空间够大,数据就会一直往里面写,也就是说无论给couchbase分配了多少内存,甚至内存满了,只要磁盘还有空间,内存中的数据也还会慢慢同步到磁盘,redis在方面就不行,redis内存满了,就不会向磁盘同步数据.couchbase还有一个亮点就是可以并行同步向多台服务器写数据,甚至在两台不同的服务器同时写同一个key,也无关。

     

    下载地址;http://www.couchbase.com/download 

     

    安装:rpm --install couchbase-server  版本.rpm

     

    安装成功后会出现如下提示:

    Starting Couchbase server: [ OK ]You have successfully installed Couchbase Server.Please browse to http://hostname:8091/ to configure your server.Please refer to http://couchbase.com/support foradditional resources.Please note that you have to update your firewall configuration toallow connections to the following ports: 11211, 11210, 4369, 8091and from 21100 to 21199.By using this software you agree to the End User License Agreement.See /opt/couchbase/LICENSE.txt.

     

    配置(默认端口为8091)

    浏览器输入:localhost:8091 

    详细介绍配置参考

    https://www.couchbase.com/docs/couchbase-manual-1.8/couchbase-getting-started-setup.html

  • 相关阅读:
    python基础知识
    常见的python练习题
    常用的Git命令
    使用MySQL命令行备份和恢复数据库
    常用的MySQL命令
    常用的Linux命令
    Python 3 配置文件处理
    Python 3 MySQL数据库操作
    Python3 MySQL
    python BeautifulSoup4--例子
  • 原文地址:https://www.cnblogs.com/mingaixin/p/2957926.html
Copyright © 2020-2023  润新知