couchbase 5.x 安装文档

下载rpm 包:

安装前依赖:
1、disables Transparent Huge Pages (THP) on boot
vim /etc/init.d/disable-thp

#!/bin/bash
          ### BEGIN INIT INFO
          # Provides:          disable-thp
          # Required-Start:    $local_fs
          # Required-Stop:
          # X-Start-Before:    couchbase-server
          # Default-Start:     2 3 4 5
          # Default-Stop:      0 1 6
          # Short-Description: Disable THP
          # Description:       disables Transparent Huge Pages (THP) on boot
          ### END INIT INFO

          case $1 in
          start)
          if [ -d /sys/kernel/mm/transparent_hugepage ]; then
          echo 'never' > /sys/kernel/mm/transparent_hugepage/enabled
          echo 'never' > /sys/kernel/mm/transparent_hugepage/defrag
          elif [ -d /sys/kernel/mm/redhat_transparent_hugepage ]; then
          echo 'never' > /sys/kernel/mm/redhat_transparent_hugepage/enabled
          echo 'never' > /sys/kernel/mm/redhat_transparent_hugepage/defrag
          else
          return 0
          fi
          ;;
          esac

chmod a+x /etc/init.d/disable-thp && chkconfig disable-thp on 
部署安装:

rpm --install --relocate /opt/couchbase=/data2/couchbase couchbase-server-enterprise-5.0.1-centos7.x86_64.rpm


安装初试化配置:
规划
/data1/couchbase 做为数据盘
/data2/ 做为index 做为索引数据盘
每个couchbase节点 配额暂定 40G;可随时调整;
bucket 类型: couchbase类型

官方操作文档:


couchbase TTL 设置

Document Expiration

文档过期时间设置
https://developer.couchbase.com/documentation/server/current/sdk/core-operations.html#devguide_kvcore_generic__expiry






Pingbacks已打开。

引用地址

评论
  1. EvaGal EvaGal 发布于 2021年3月9日 01:43 #

    <a href="http://nexiumesomeprazole.com/">nexium pills 40 mg</a>

  2. PaulGal PaulGal 发布于 2021年3月9日 02:02 #

    <a href="https://packcialis.com/">cialis for sale without prescription</a> <a href="https://iviagrabuy.com/">viagra price comparison</a> <a href="https://nexiumesomeprazole.com/">nexium 20mg prescription</a> <a href="https://viagrareva.com/">20 mg sildenafil cost</a> <a href="https://cialisdt.com/">generic cialis cheapest price</a>

发表评论