boost V2

yugabytedb

wget https://downloads.yugabyte.com/releases/2.19.0.0/yugabyte-2.19.0.0-b190-linux-x86_64.tar.gz
tar xvfz yugabyte-2.19.0.0-b190-linux-x86_64.tar.gz 
cd yugabyte-2.19.0.0/

配置 YugabyteDB

./bin/post_install.sh

运行

./bin/yugabyted start

boostd-data run yugabyte 运行报错

Error: starting yugabyte store: starting local index directory service: running postgres migrations: getting number of rows in PieceTracker table: pq: SSL is not enabled on the server
  • 添加参数 ?sslmode=disable
nohup boostd-data run yugabyte \
  --hosts 127.0.1.1 \
  --connect-string="postgresql://yugabyte:yugabyte@127.0.1.1:5433?sslmode=disable" \
  --addr 0.0.0.0:8044 > /var/log/boostd-data/boostd-data.log 2>&1 &

Boost Setup 设置

[LocalIndexDirectory]
  ServiceApiInfo = "ws://192.168.1.2:8044"
  [LocalIndexDirectory.Yugabyte]
    Enabled = true
    ConnectString = "postgresql://yugabyte:yugabyte@127.0.1.1:5433&sslmode=disable"

web

  • web无法访问修改配置文件
[Graphql]
  ListenAddress = "0.0.0.0"
  Port = 8080

参考

  1. New Boost Setup