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 進行相關配置。
全站熱搜
留言列表