CouchBase 4.0 개발자 버전이 릴리즈 되었다.
SQL 구문으로 CouchBase에 저장된 도큐먼트들을 조회할 수 있도록 기능이 개선되었다.
- http://blog.couchbase.com/introducing-developer-preview-for-couchbase-server-4.0
- http://docs.couchbase.com/4.0/getting-started/installing.html
- http://distrowatch.com/table.php?distribution=centos
- http://www.couchbase.com/nosql-databases/downloads#PreRelease
# OS CentOS7 지원 cat /etc/redhat-release CentOS Linux release 7.1.1503 (Core) rpm -qa *-release centos-release-7-1.1503.el7.centos.2.8.x86_64 ###################################################### # 설치시 주의해야 할 것.. # http://blog.couchbase.com/often-overlooked-linux-os-tweaks ###################################################### yum install wget mkdir -p /usr1/program cd /usr1/program wget --continue http://packages.couchbase.com/releases/4.0.0-dp/couchbase-server-enterprise-4.0.0-dp-centos7.x86_64.rpm sudo rpm --install couchbase-server-enterprise-4.0.0-dp-centos7.x86_64.rpm service couchbase-server start ###################################################### # PUBLIC ZONE 방화벽 오픈 # http://www.conory.com/note_linux/42477 # https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Security_Guide/sec-Using_Firewalls.html ###################################################### firewall-cmd --permanent --zone=public --add-port=8091/tcp firewall-cmd --permanent --zone=public --add-port=8092/tcp firewall-cmd --permanent --zone=public --add-port=11211/tcp firewall-cmd --permanent --zone=public --add-port=11210/tcp firewall-cmd --permanent --zone=public --add-port=11209/tcp firewall-cmd --permanent --zone=public --add-port=4369/tcp firewall-cmd --permanent --zone=public --add-port=21100-21299/tcp firewall-cmd --reload -- 방화벽 존의 설정 파일 확인 /etc/firewalld/zones/public.xml systemctl enable couchbase-server ###################################################### ## new feature N1QL ## http://docs.couchbase.com/4.0/n1ql/getting-started.html ###################################################### cd /opt/couchbase/bin ./cbq -engine=http://localhost:8093 -- Settings > Sample Buckets beer-sample 버켓 생성 -- 1. primary key 생성 CREATE PRIMARY INDEX ON `beer-sample` USING GSI; -- 2. grouping SELECT DISTINCT type FROM `beer-sample`; -- 3. query SELECT * FROM `beer-sample` WHERE type="brewery" LIMIT 1;
'NoSQL > CouchBase' 카테고리의 다른 글
Couchbase 3.0 install (0) | 2014.10.20 |
---|---|
Viber라는 회사가 몽고DB에서 couchbase 마이그레이션 (0) | 2014.03.12 |
Couchbase vs. Apache CouchDB (1) | 2014.01.17 |
CouchDB (0) | 2014.01.13 |