,,,,,,他是一个较新的,发展迅速的nosql数据库技术.2014年,推出宣布使用他替换mongodb,以适应10个亿级的用户量,目前,他已大量运用于生产环境,国内使用的公司主要有新浪,腾讯等。由于中文资料较少,阅读了官方文档中的部分介绍后,将资料翻译和汇总如下。
,,,,,,他是CouchDB和MemBase的合并。而MemBase是基于Memcached的。因此他联合了他的简单可靠和Memcached的高性能,以及MemBase的可扩展性。
,,,,,,
,,,,,,他可用于单机环境,也可以和其他服务器一起提供分布式的数据存储。
[root@localhost ~] #, systemctl stop firewalld (root@localhost ~) #, systemctl disable firewalld Removed symlink /etc/systemd/系统/dbus-org.fedoraproject.FirewallD1.service。 Removed symlink /etc/systemd/系统/basic.target.wants/firewalld.service。 (root@localhost ~) #, vi /etc/sysconfig/selinux #,却;能够file controls 从而state of SELinux 提醒,系统。 #,SELINUX=,还要take one of these three 价值观: #,,,,,enforcing 作用;SELinux security policy is 执行。 #,,,,,permissive 作用;SELinux prints warnings instead of 执行。 #,,,,,disabled 作用;No SELinux policy is 加载。 禁用SELINUX=#,SELINUXTYPE=,还要take one of three two 价值观: #,,,,,targeted 作用;targeted processes 断开连接;保护, #,,,,,minimum 作用;Modification of targeted 政策只Only selected processes 断开连接;保护。 #,,,,,mls 作用;Multi Level Security 保护。 SELINUXTYPE=目标 [root@localhost ~) #, setenforce 0
2,下载他
[root@localhost ~] #, wget https://packages.couchbase.com/releases/4.6.2/couchbase-server-enterprise-4.6.2-centos7.x86_64.rpm
他官网地址:https://痢痢羨.couchbase.com/downloads
3,确认依赖包是否安装,如果没安装百胜安装下。
[root@localhost ~] #, rpm -qa |, grep “pkgconfig" pkgconfig el7.x86_64——0.27.1 - 4. (root@localhost ~) #, rpm -qa |, grep “openssl" openssl 1.0.1e - 42. el7.9.x86_64——填词 openssl el7.9——1.0.1e - 42.。x86_64
4,安装他
[root@localhost ~] #, rpm -ivh couchbase-server-enterprise-4.6.2-centos7.x86_64.rpm 准备中…,,,,,,,,,,,,,,,,,,,,,,,,,,# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #,(100%) 警告:,Transparent hugepages  looks 用be active 以及should not 。 Please look  at http://bit.ly/1ZAcLjD as  for 请;用PERMANENTLY alter 却;能够设置。 警告:,Swappiness is  not set 用0。 Please look  at http://bit.ly/1k2CtNn as  for 请;用PERMANENTLY alter 却;能够设置。 Minimum RAM  required ,:, 4 GB System RAM configured : 0.95 GB Minimum number  of processors required : 4,核心 Number of  processors 提醒,system ,,,: 1,核心 正在升级/安装…… ,,1:他-服务器- 4.6.2 - 3905 -,,,,,,# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #,(100%) Created symlink 得到/etc/systemd/系统/multi-user.target.wants/couchbase-server.service 用/usr/lib/systemd/系统/couchbase-server.service。 你have successfully  installed Couchbase 服务器。 Please browse 用http://localhost.localdomain: 8091/,用configure your 服务器。 Please refer 用http://couchbase.com for  additional 资源。 Please note  that 你;have 用update your firewall configuration allow connections 用,following 港口: 4369,,8091,用8094,,9100,用9105,,9998,,9999,,11209,用11211, 11214,,11215,,18091,用18093年,以及得到21100,用21299。 null null nullcentos 7.4部署他集群