Giter Club home page Giter Club logo

subspace-3c's Introduction

MUSTAFANIN DİKKATİNE; ÖDÜL YOK DİYORLAR... FORKLAMAYI UNUTMAYIN.

Tavsiye Edilen Sistem Gereksinimleri

  • CPU: 4+ ÇEKİRDEK
  • RAM: 4+ GB (Önerilen 8)
  • SSD: Kodda gireceğiniz boyut ile bağlantılı gireceğiniz değer dışında +50GB yer olmalı. (Kodda Plot Size:1GB girilecekse HDD'nin en az 51GB olmalı ki ben sıkıntılara karşı bunun 70-80GB den aşağı olmamasını ÖNERİYORUM.)
  • İşletim Sistemi: Ubuntu 20.04LTS

Kurulum Adımları ve Kodları

  • Daha önce testlere katıldıysanız aynı cüzdanı kullanın. Eğer ilk defa katılıyorsanız 2. adımdan cüzdan oluşturun.
  • https://polkadot.js.org/extension/ sitesinden cüzdan kurulumu yapıp cüzdan oluşturuyoruz ve bize verdiği gizli kelimeleri kesinlikle saklıyoruz. Ayrıca .json dosyasını da indirip yedeklemeyi unutmayın.
  • Daha sonra aşağıdaki kodlarla adım adım yükleme işlemine geçiyoruz.Script ile kurulum kısa bir zamanda tamamlanıyor o yüzden yükleme adımı için onu kullanıyoruz.

-Kurulumu aşağıdaki kodlarla başlatıyoruz ve root kullanısında olun.

wget -q -O gemini3.sh https://raw.githubusercontent.com/okannako/subspacenetwork/main/gemini3.sh && chmod +x gemini3.sh && sudo /bin/bash gemini3.sh
  • Yükleme bittikten sonra öncelikle aşağıdaki kodlarla Tmux yükleyip bir tmux sayfası açıyorsunuz. Tmux olmazsa sürekli çalışmaz.
cd
sudo apt install tmux
tmux new -s subspace
  • Sayfayı açtıktan sonra ilk olarak ayarlarımızı yapmak için alttaki kodu çalıştırıyoruz.
./subspace-cli-ubuntu-x86_64-v3-v0.1.10-alpha init

-Burada sırayla bize sorduğu sorulara şu cevapları veriyoruz. 1-) Cüzdan adresimizi soruyor, subspace adresimizi giriyoruz. 2-) Node isminizi soruyor, istediğiniz bir ismi verebilirsiniz, listede bu isminiz görünecek. 3-) Enter 4-) Plot Size sorusunda minimum değer olarak 1GB (Değer girme şekli böyle olmalı yoksa hata alırsınız) girebilirsiniz, maximum yok. 5-) Enter 6-) Enter

  • Şimdi aşağıdaki kodla da nodenumuzu başlatıyoruz. Bir süre sonra Node started successfully! uyarısı verecek ve sisteme eşitlenmeye başlayacak. Bu süre günlerde sürebilir.
./subspace-cli-ubuntu-x86_64-v3-v0.1.10-alpha farm
  • Bundan sonra Tmux ekranını direkt kapatabilirsiniz ya da arkaya atmak için ctri+b d kombinasyonunu kullanabilirsiniz. Tekrar girmek içinse tmux attach -t subspace kodunu kullanabilirsiniz.

Servisle Çalıştırmak (İsteğe Bağlı)

  • Aşağıdaki kodu tek kod şeklinde girerek servis dosyası oluşturabilir daha sonraki kodlarıda başlatıp loglardan izleyebilirsiniz.
sudo tee <<EOF >/dev/null /etc/systemd/system/subspaced.service
[Unit]
Description=Subspaced Farmer
After=network-online.target

[Service]
User=root
ExecStart=/root/subspace-cli-ubuntu-x86_64-v3-v0.1.10-alpha farm --verbose
Restart=on-failure
RestartSec=3
LimitNOFILE=4096

[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl restart subspaced
sudo journalctl -u subspaced -f --no-hostname -o cat

Güncelleme 0.1.10

  • Güncelleme yaptıktan sonra init adımını tekrar yapmalısınız.
sudo systemctl stop subspaced
cd
wget https://github.com/subspace/subspace-cli/releases/download/v0.1.10-alpha/subspace-cli-ubuntu-x86_64-v3-v0.1.10-alpha
chmod +x subspace-cli-ubuntu-x86_64-v3-v0.1.10-alpha

Node Silmek

-Node silmek için tmux ekranında ctrl+c yaptıktan sonra aşağıdaki kodları girmeniz yeterli

rm -rf ~/.local/share/subspace*
rm -rf /etc/systemd/system/subspaced*
rm -rf /usr/local/bin/subspace*

subspace-3c's People

Contributors

kyergus avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.