加入收藏 | 设为首页 | 会员中心 | 我要投稿 佛山站长网 (https://www.0757zz.com/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 服务器 > 搭建环境 > Linux > 正文

Linux CentOS上安装Couchbase Server的过程

发布时间:2016-10-12 18:47:46 所属栏目:Linux 来源:网络整理
导读:Couchbase 是一个开源的、分布式的、面向文档(document-oriented)的 NoSQL 数据库,并且内置了 Memcached 服务。本文分享的是自己在 Linux 上成功安装 Couchb

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 包:

yuminstall 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 进行相关配置。

本栏目更多精彩内容:http://www.bianceng.cn/OS/Linux/

(编辑:佛山站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    热点阅读