Linux-CentOS下Couchbase的安装
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了Linux-CentOS下Couchbase的安装,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含4449字,纯文字阅读大概需要7分钟。
内容图文

Linux-CentOS下Couchbase的安装
按照红色加粗字体步骤即可:
1.下载
[root@localhost test]# wget http://packages.couchbase.com/releases/2.0.0/couchbase-server-enterprise_x86_64_2.0.0.rpm
--2016-05-16 03:06:33-- http://packages.couchbase.com/releases/2.0.0/couchbase-server-enterprise_x86_64_2.0.0.rpm
Resolving packages.couchbase.com... 54.231.112.123
Connecting to packages.couchbase.com|54.231.112.123|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 126522833 (121M) [application/x-redhat-package-manager]
Saving to: “couchbase-server-enterprise_x86_64_2.0.0.rpm”
100%[======================================>] 126,522,833 55.8K/s in 9m 44s
2016-05-16 03:16:19 (212 KB/s) - “couchbase-server-enterprise_x86_64_2.0.0.rpm” saved [126522833/126522833]
2.安装
[root@localhost test]# 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
出现错误,根据上面的错误,寻找包含 libcrypto.so.6 的安装包:
[root@localhost test]# yum provides */libcrypto.so.6
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirrors.skyshe.cn
* extras: mirrors.pubyun.com
* updates: mirrors.pubyun.com
openssl098e-0.9.8e-18.el6_5.2.i686 : A compatibility version of a general
: cryptography and TLS library
Repo : base
Matched from:
Filename : /usr/lib/libcrypto.so.6
openssl098e-0.9.8e-18.el6_5.2.x86_64 : A compatibility version of a general
: cryptography and TLS library
Repo : base
Matched from:
Filename : /usr/lib64/libcrypto.so.6
openssl098e-0.9.8e-20.el6.centos.1.x86_64 : A compatibility version of a general
: cryptography and TLS library
Repo : updates
Matched from:
Filename : /usr/lib64/libcrypto.so.6
openssl098e-0.9.8e-20.el6.centos.1.i686 : A compatibility version of a general
: cryptography and TLS library
Repo : updates
Matched from:
Filename : /usr/lib/libcrypto.so.6
看到openssl098e-0.9.8e-18.el6_5.2.x86_64,继续下面的命令:
[root@localhost test]# yum install openssl098e-0.9.8e-18.el6_5.2.x86_64
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirrors.skyshe.cn
* extras: mirrors.pubyun.com
* updates: mirrors.pubyun.com
Resolving Dependencies
--> Running transaction check
---> Package openssl098e.x86_64 0:0.9.8e-18.el6_5.2 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
openssl098e x86_64 0.9.8e-18.el6_5.2 base 761 k
Transaction Summary
================================================================================
Install 1 Package(s)
Total download size: 761 k
Installed size: 2.2 M
Is this ok [y/N]: y
Downloading Packages:
openssl098e-0.9.8e-18.el6_5.2.x86_64.rpm | 761 kB 00:02
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
Importing GPG key 0xC105B9DE:
Userid : CentOS-6 Key (CentOS 6 Official Signing Key) <centos-6-key@centos.org>
Package: centos-release-6-7.el6.centos.12.3.x86_64 (@anaconda-CentOS-201508042137.x86_64/6.7)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : openssl098e-0.9.8e-18.el6_5.2.x86_64 1/1
Verifying : openssl098e-0.9.8e-18.el6_5.2.x86_64 1/1
Installed:
openssl098e.x86_64 0:0.9.8e-18.el6_5.2
Complete!
3.安装
[root@localhost test]# rpm --install couchbase-server-enterprise_x86_64_2.0.0.rpm
Starting couchbase-server/usr/bin/dirname: extra operand `2>&1"‘
Try `/usr/bin/dirname --help‘ for more information.
[ OK ]
You have successfully installed Couchbase Server.
Please browse to http://localhost.localdomain: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://localhost:8091/index.html
原文:http://www.cnblogs.com/zhangtingzu/p/5499072.html
内容总结
以上是互联网集市为您收集整理的Linux-CentOS下Couchbase的安装全部内容,希望文章能够帮你解决Linux-CentOS下Couchbase的安装所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。