Sign inSign up

nodecloud/bee

By nodecloud

Updated about 5 years ago

Image
2

9.9K

nodecloud/bee repository overview

  • 1.安装Docker

sudo yum install -y yum-utils && sudo yum-config-manager \ --add-repo \ https://download.docker.com/linux/centos/docker-ce.repo && yum install -y docker-ce docker-ce-cli containerd.io && sudo systemctl enable docker && sudo systemctl start docker

  • 2.部署容器

docker volume create bee-volume && \ docker run -d --restart=always -v bee-volume:/home/bee/.bee -p 1635:1635 -p 1634:1634 -p 1634:1634/udp -p 1633:1633 --name=node_bee nodecloud/bee:1.1.0 start \ --debug-api-enable --resolver-options "https://cloudflare-eth.com" --password 自定义密码

  • 3.定时兑票

wget -O /usr/local/bin/cashout.sh https://gist.github.com/ralph-pichler/3b5ccd7a5c5cd0500e6428752b37e975/raw/aa576d6d28b523ea6f5d4a1ffb3c8cc0bbc2677f/cashout.sh && chmod +x /usr/local/bin/cashout.sh

yum install crontabs -y && systemctl enable crond && systemctl start crond && systemctl status crond && echo "*/30 * * * * bash /usr/local/bin/cashout.sh cashout-all" >> /etc/crontab

crontab /etc/crontab && crontab -l

  • 4.获取钱包私钥

wget https://github.com/ethersphere/exportSwarmKey/releases/download/v0.1.0/export-swarm-key-linux-amd64 && chmod +x ./export-swarm-key-linux-amd64

./export-swarm-key-linux-amd64 /var/lib/docker/volumes/bee-volume/_data/keys/ 自定义密码


  • 说明
    - --password 钱包密码

Tag summary

Content type

Image

Digest

Size

37.7 MB

Last updated

about 5 years ago

docker pull nodecloud/bee:1.1.0