• 在 Linux CentOS 上安装 Couchbase Server


    Couchbase 是一个开源的、分布式的、面向文档(document-oriented)的 NoSQL 数据库,并且内置了 Memcached 服务。本文分享的是自己在 Linux 上成功安装 Couchbase Server 的实际操作步骤。

    Linux 发行版是 CentOS。

    1. 下载 Couchbase 安装包

    用 wget 命令进行下载:

    wget http://packages.couchbase.com/releases/2.0.0/couchbase-server-enterprise_x86_64_2.0.0.rpm

    2. 用 rpm 命令进行安装 Couchbase

    rpm --install couchbase-server-enterprise_x86_64_2.0.0.rpm

    命令运行之后出错:

    error: Failed dependencies:
        libcrypto.so.6()(64bit) is needed by couchbase-server-2.0.0-1976.x86_64
        libssl.so.6()(64bit) is needed by couchbase-server-2.0.0-1976.x86_64

    3. 安装 openssl

    根据第 2 步中的错误,寻找包含 libcrypto.so.6 的安装包,运行下面的命令:

    yum provides */libcrypto.so.6

    发现 openssl098e-0.9.8e-17.el6.centos.2.x86_64

    安装该版本的 opensll 包:

    yum install openssl098e-0.9.8e-17.el6.centos.2.x86_64

    4. 重新安装 Couchbase

    rpm --install couchbase-server-enterprise_x86_64_2.0.0.rpm

    安装成功!显示下面的信息:

    Starting couchbase-server[  OK  ]

    You have successfully installed Couchbase Server.
    Please browse to http://cache:8091/ to configure your server.
    Please refer to http://couchbase.com for additional resources.

    Please note that you have to update your firewall configuration to
    allow connections to the following ports: 11211, 11210, 11209, 4369,
    8091 and from 21100 to 21299.

    By using this software you agree to the End User License Agreement.
    See /opt/couchbase/LICENSE.txt.

    然后通过浏览器访问 http://ip:8091 进行相关配置。

    【注】安装Couchbase的文件夹要进行这样的授权设置:chown -R couchbase:couchbase .

  • 相关阅读:
    Web Workers 的基本信息
    关于前端框架的一些观点
    解密jQuery内核 DOM操作方法(二)html,text,val
    解密jQuery内核 DOM操作
    解密jQuery内核 DOM操作的核心buildFragment
    解密jQuery内核 DOM操作的核心函数domManip
    前端MVC框架Backbone 1.1.0源码分析(二)
    前端MVC框架Backbone 1.1.0源码分析(一)
    解密jQuery内核 Sizzle引擎筛选器
    解密jQuery事件核心
  • 原文地址:https://www.cnblogs.com/dudu/p/linux_install_couchbase.html
Copyright © 2020-2023  润新知