码迷,mamicode.com
首页 > 系统相关 > 详细

Linux-CentOS下Couchbase的安装

时间:2016-05-16 20:03:18      阅读:839      评论:0      收藏:0      [点我收藏+]

标签:

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

技术分享

Linux-CentOS下Couchbase的安装

标签:

原文地址:http://www.cnblogs.com/zhangtingzu/p/5499072.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!