Giter Club home page Giter Club logo

tbase-docker's Introduction

tbase-docker

创建 tbase docker环境


shell使用方法

手工执行顺序如下:

  1. sh rebuild_run_docker.sh 重新构建镜像,编译安装tbase
  2. sh create_docker.sh 创建容器并且复制脚本
  3. 执行sh run_createuser.shsh run_createrootrsa.sh
  4. 执行sh create_authkey.sh
  5. sh init_tbase.sh

直接执行脚本:

chmod +x *.sh && autoStart.sh


观察最终结果成功如下:

node_name node_type node_port node_host nodeis_primary nodeis_preferred node_id node_cluster_name
gtm G 50001 172.42.0.10 t f 428125959 tbase_cluster
cn001 C 30004 172.42.0.11 f f -264077367 tbase_cluster
dn001 D 20008 172.42.0.12 t f 2142761564 tbase_cluster
dn002 D 20009 172.42.0.13 f f -17499968 tbase_cluster
(4 rows)

连接tbase

psql -h ${CoordinateNode_IP} -p ${CoordinateNode_PORT} -U ${pgxcOwner} -d postgres

tbase-docker's People

Contributors

liaorui avatar wzfxue avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.