A simple tuturial for a dockerize steem witness deployment

in #steem7 months ago (edited)

image.png

Clone someguy123's tool

git clone https://github.com/steemfans/steem-docker-ex.git

Pull the latest docker image

docker pull ety001/steem-mira:0.23.1
docker tag ety001/steem-mira:0.23.1 steem:latest

Download the latest backup data

Visit here https://files.steem.fans/ to get the latest backup data.

Using a backup data will speed up your procress.

For the disk less space users, you could try the stream way to download and decompress backup data. Like this:
wget -c -qO- https://files.steem.fans/data/xxxxx.tar.lz4 | lz4 -d | tar x

Move the backup data

After downloaded, unarchive it. You will get a folder named blockchain.

Move it to the tools folder:

mv blockchain steem-docker-ex/data/witness_node_data_dir

Config the witness node

cd steem-docker-ex/data/witness_node_data_dir/
cp config.ini.example  config.ini

Add your sign key into the config.ini file.

Run your node

cd steem-docker-ex
./run.sh start

Display Log

./run.sh logs

Any Issue

If you have any issue, please join our discord for help.

https://discord.gg/C6CgUqUmUU

Vote

I'm also a witness. Thank you for voting me.

Sort:  

Welcome to You Deserve https://steemit.com/trending/hive-183209
Welcome to you. We hope that you invite your friends and deal with us, beginners in the community

Is there a guide for Full Node?

you can check my guide ;)

hi, thank you for the wonderful guide.

is there any way to decomporess the block.log lz4 file to sd card?
I have downloaded the lz4 file where there is no space to decompress it.

So, can i decompress the lz4 file to sd card (512G) directly? I tried to find but could not find one.

Hi, you could try the stream way to download and decompress the file like this:

wget -c -qO- https://files.steem.fans/data/xxxxx.tar.lz4 | lz4 -d | tar x

oh, thank you. I tried to decompress the file as follows:

$ sudo lz4 -d blocklog.tar.lz3 ~/steem-docker-ex/data/witness_node_dir/blockchain/block_log

It seems working. If not, I will try your suggestion. thanks.

Thank you for the guide.
I am trying to run a witness node on raspberry pi 4, but your docker image does not support arm64 arch. Do you have any images for arm64 or could you guide me how to do that? I am familiar with docker.