Couchbase is an open-source, distributed, document-oriented (document-oriented) NoSQL database with built-in Memcached services. This article shares the practical steps to successfully install Couchbase Server on Linux.
Linux distributions are CentOS.
1. Download Couchbase installation package
To download using the wget command:
wget http://packages.couchbase.com/releases/2.0.0/couchbase-server-enterprise_x86_64_2.0.0.rpm
2. Use the rpm command to install Couchbase
RPM--install couchbase-server-enterprise_x86_64_2.0.0.rpm
Error after command run:
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. Install OpenSSL
According to the error in step 2nd, look for the installation package that contains the libcrypto.so.6, and run the following command:
Yum provides */libcrypto.so.6
Found openssl098e-0.9.8e-17.el6.centos.2.x86_64
Install this version of the OPENSLL package:
Yuminstall openssl098e-0.9.8e-17.el6.centos.2.x86_64
4. Reinstall Couchbase
RPM--install couchbase-server-enterprise_x86_64_2.0.0.rpm
Installation Successful! Display the following information:
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. Please note that you have to update your firewall configuration to allow connections to the following, 11210, 11209, 4369, 8091 and from 21100 to 21299. By using this software your agree to the end User License agreement. See/opt/couchbase/license.txt.
It then accesses the http://ip:8091 through the browser to make the related configuration.
This column more highlights: http://www.bianceng.cnhttp://www.bianceng.cn/OS/Linux/