Skip to main content

概述

官网

https://www.risingwavetutorial.com/docs/install

Docker Compose 方式安装

项目准备

先把项目克隆下来

git clone https://github.com/risingwavelabs/risingwave.git
cd docker

启动的时候默认使用MinIO作为存储,当然也可以用hdfs等等其他的分布式存储。

https://docs.risingwave.com/docs/current/risingwave-docker-compose/

项目启动

docker compose up -d

项目访问

RisingWave Dashboard

http://192.168.61.202:5691

Grafana

http://192.168.61.202:3001

MinIO

http://192.168.61.202:9400

账号密码: hummockadmin

Prometheus

http://192.168.61.202:9500

客户端连接

安装客户端

先安装yum源
# Install the repository RPM:
yum install https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm
#再安装客户端
yum install postgresql12

psql -V
psql -h localhost -p 4566 -d dev -U root