在 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.rpm2.?用 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_64libssl.so.6()(64bit) is needed by couchbase-server-2.0.0-1976.x86_643. 安裝 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_644. 重新安裝 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 .
總結
以上是生活随笔為你收集整理的在 Linux CentOS 上安装 Couchbase Server的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 关于Jquery中ajax方法data参
- 下一篇: js中document.getEleme