zoukankan      html  css  js  c++  java
  • 在 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 .

  • 相关阅读:
    jquery源码 DOM加载
    用 Vue 全家桶二次开发 V2EX 社区
    java中初始化对象变量的方法
    跟我一起学extjs5(08--自己定义菜单1)
    NYOJ 57 6174问题
    Android 手动按power键上锁,没有锁屏提示音,无法恢复【单机必现】
    说好的加班呢
    排序总结之高速排序
    【c语言】模拟实现库函数的atof函数
    Oracle存储过程update受外键约束的主键值时完整性冲突解决方式
  • 原文地址:https://www.cnblogs.com/dudu/p/linux_install_couchbase.html
Copyright © 2011-2022 走看看