Welcome Zstake Service
0G Labs
Storage KV
0g storage kv is a key value store built on top of the 0g storage system this guide provides detailed steps to deploy and run a 0g storage kv node 🖥️ hardware requirements component storage kv memory 32 gb ram cpu 8 cores disk size matches the kv streams it maintains bandwidth 🛞 auto installer ⌨️ source <(curl s https //raw\ githubusercontent com/zstake xyz/test/refs/heads/main/0g kv install sh) # kv install 🛰️ auto version update ⌨️ source <(curl s https //raw\ githubusercontent com/zstake xyz/test/refs/heads/main/0g kv update sh) # kv update 🕹️ manual installer 1\ install necessary packages ⌨️ sudo apt update && sudo apt upgrade y 2\ clone the 0g storage kv repository from github ⌨️ git clone b v1 4 0 https //github com/0glabs/0g storage kv git 4\ build the project in release mode ⌨️ cd $home/0g storage kv git stash git fetch all tags git checkout 1e7c207 git submodule update init cargo build release 5\ edit the configuration file ⌨️ rm rf $home/0g storage kv/run/config toml curl o $home/0g storage kv/run/config toml https //raw\ githubusercontent com/zstake xyz/test/main/0g kv config toml 6\ create a systemd service file ⌨️ sudo tee /etc/systemd/system/0gkv service > /dev/null <\<eof \[unit] description=0g kv node after=network target \[service] user=root workingdirectory=$home/0g storage kv/run execstart=$home/0g storage kv/target/release/zgs kv config $home/0g storage kv/run/config toml restart=always restartsec=10 limitnofile=65535 standardoutput=journal standarderror=journal syslogidentifier=zgs kv \[install] wantedby=multi user target eof 7\ start the service immediately ⌨️ sudo systemctl daemon reload && sudo systemctl enable 0gkv && sudo systemctl start 0gkv ⌨️ useful commands 8\ log check ⌨️ sudo journalctl u 0gkv f o cat 스크린샷 2024 08 27 오후 8 49 42 png