GithubHelp home page GithubHelp logo

cess-multi-buckets-script's Introduction

使用脚本部署cess多节点

下载脚本到节点服务器

git clone https://github.com/alpha7b/cess-multi-buckets-script.git

准备

  1. 准备好钱包及测试币
  2. 将config_sample.json重命名为config.json,里面信息按需要填写

运行

  1. 安装docker和cess客户端
source 1_docker_cess.sh
  1. 创建文件夹及config.yaml
source 1_config_yaml.sh
  1. 创建docker-compose
source 3_docker_compose.sh

查看

查看单个节点信息

# 查看container log
docker ps
docker logs <container_name> -f -n 20

# 查看bucket数据
docker exec <STORAGE_CONTAINER_NAME> cess-bucket --config /opt/bucket/config.yaml stat

# 查看bucket收益
docker exec <STORAGE_CONTAINER_NAME> cess-bucket --config /opt/bucket/config.yaml reward

查看当前机器所有节点的数据

source 4_get_stat.sh

删除bucket container

docker stop $(docker ps -aq --filter ancestor=cesslab/cess-bucket:testnet) && docker rm $(docker ps -aq --filter ancestor=cesslab/cess-bucket:testnet)

并行删除文件

find /path/to/your/folder -type f | parallel rm

cess-multi-buckets-script's People

Contributors

alpha7b avatar

Stargazers

 avatar

Watchers

 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.