Installation of Linux-centos under Couchbase
Follow the red bold font steps:
1. Download
[Email protected] 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 ... 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. Install
[[email protected] 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) was needed by COUCHBASE-SERVER-2.0.0-1976.X86_64
An error occurred, based on the above error, look for the installation package containing the libcrypto.so.6:
[[email protected] test]# Span style= "color: #ff0000;" > 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
: cryptogr Aphy 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
See OPENSSL098E-0.9.8E-18.EL6_5.2.X86_64, continue with the following command:
[Email protected] 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 'll 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) <[email protected]>
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. Installation
[Email protected] 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 the http://couchbase.com for additional resources.
Your firewall configuration to
Allow connections to the following ports:11211, 11210, 11209, 4369,
8091 and from 21100 to 21299.
By using this software agree to the End User License agreement.
See/opt/couchbase/license.txt.
Verify that the installation is successful:
Http://localhost:8091/index.html
Installation of Linux-centos under Couchbase