. <(wget -qO- https://raw.githubusercontent.com/Agus1224/NODE_TESTNET/main/ZEEKA/zk.sh)
sudo apt update && sudo apt upgrade -y
sudo apt install wget jq git libssl-dev cmake -y
. <(wget -qO- https://raw.githubusercontent.com/Agus1224/NODE_TESTNET/main/ZEEKA/rust.sh)
source "$HOME/.cargo/env"
git clone https://github.com/zeeka-network/bazuka
cd bazuka
cargo build
cargo install --path .
bazuka init --seed 'your seed phrase' --network debug --node 127.0.0.1:8765
sudo tee <<EOF >/dev/null /etc/systemd/system/zeeka.service
[Unit]
Description=Zeeka node
After=network.target
[Service]
User=$USER
ExecStart=`RUST_LOG=info which bazuka` node --listen 0.0.0.0:8765 --external "YOUR IP":8765 --network debug --db ~/.bazuka-debug --bootstrap 5.161.152.123:8765 --bootstrap 65.108.201.41:8765 --bootstrap 185.213.25.229:8765 --bootstrap 45.88.106.199:8765 --bootstrap 148.251.1.124:8765 --bootstrap 195.54.41.115:8765 --bootstrap 195.54.41.130:8765 --discord-handle "YOUR DISCORD"
Restart=on-failure
RestartSec=3
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
Replace "YOUR IP" with your IP VPS, and replace the discord-handle "YOUR DISCORD" with your discord user.
cd bazuka
git pull origin master
cargo install --path .
sudo systemctl daemon-reload
sudo systemctl enable zeeka
sudo systemctl restart zeeka
. <(wget -qO- https://raw.githubusercontent.com/Agus1224/NODE_TESTNET/main/ZEEKA/insert_variable.sh) -n zeeka_log -v "sudo journalctl -fn 100 -u zeeka" -a
zeeka_log
rustup self uninstall -y
rm -rf bazuka
rm -rf zk.sh
cd bazuka && git pull origin master && cargo build && cargo install --path .
Then Delete
rm -rf ~/.bazuka-debug а
rm -rf /~/.bazuka-debug
Restart
sudo systemctl daemon-reload
sudo systemctl enable zeeka
sudo systemctl restart zeeka
Check log
zeeka_log