Linux CentOS上安裝Couchbase Server的過程

來源:互聯網
上載者:User

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.cnhttp://www.bianceng.cn/OS/Linux/

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.