/zeeka

Zeeka TR Kurulum ve Güncelleme Reheberi

1-Değişkenleri tanımlayalım

IP=`wget -qO- eth0.me`
DISCO=DISCORD1234    #<<< Bu kısım değişecek, Discord adınızı yazın

2-Değişkenleri bash dosyasına kaydediyoruz.

echo "export IP="${IP}"" >> $HOME/.bash_profile
echo "export DISCORD="${DISCORD}"" >> $HOME/.bash_profile
source $HOME/.bash_profile

3-Güncelleme ve gereksinimleri yüklüyoruz

sudo apt update && sudo apt upgrade -y
sudo apt install wget jq git libssl-dev cmake -y
sudo apt install curl build-essential gcc make -y

4-Rustu Yüklüyoruz

curl https://sh.rustup.rs -sSf | sh -s -- -y
source ~/.cargo/env

5-Bazuka kurulumuna başlıyoruz

cd # ana dizine çıktık
rm -r bazuka #varsa eski bazuka klasörünü siliyoruz
git clone https://github.com/zeeka-network/bazuka && cd bazuka
git pull origin master
cargo install --path .   #noktayı unutma

6-Bazukayı init edelim

cd
bazuka init --seed "BURAYA SENIN KELIMELERIN" --network chaos --node 127.0.0.1:8765

7-Servis dosyası oluşturuyoruz, bu kodları tek seferde kopyalayın

sudo tee <<EOF >/dev/null /etc/systemd/system/zeekad.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 $IP:8765 --network chaos --db /root/.bazuka-chaos --bootstrap 195.201.222.205:8765 --bootstrap 34.132.176.19:8765 --discord-handle "$DISCO"
Restart=on-failure
RestartSec=3
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF






sudo systemctl daemon-reload
sudo systemctl enable zeekad
sudo systemctl restart zeekad

sudo journalctl -f -u zeekad

Faydalı komutlar

Logları izlemek için bu komutu kullanın, işiniz bittiğinde CRTL+C ile çıkın

sudo journalctl -f -u zeekad

Versiyon, node sayısı ve block bilgileri için

bazuka status

Cuzdan bilgileriniz için

bazuka wallet

Güncelleme olduğunda alttaki kodları terminalinize yapıştırın

sudo systemctl stop zeekad
cd $HOME/bazuka
git pull origin master
cargo update
cargo install --path .
rm -rf /root/.bazuka-chaos
sudo systemctl restart zeekad
sudo journalctl -f -u zeekad