Giter VIP home page Giter VIP logo

shardeum-node's Introduction

Hướng dẫn chạy Shardeum Node

Shardeum-Node

PHẦN 1: Thuê VPS (trên Contabo)

Liên kết : https://contabo.com/en/vps/

Chọn gói : CLOUD VPS M

image

PHẦN 2: Cách kết nối với VPS của bạn

Với Windows: Tải Putty ( Bạn có thể cài đặt bằng liên kết này "https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html" ).

Sau khi tải xong:

  1. Bây giờ khởi chạy Putty
  2. Nhập địa chỉ IP mà Contabo đã gửi qua Email vào ô (Host Name (or IP address)) -> Nhấn "Open"
  3. Giao diện máy chủ sẽ mở ra và yêu cầu bạn cung cấp thông tin đăng nhập:
    1. Tại dòng login as:. Nhập "root" nhấn Enter
    2. Tại dòng [email protected]'s password. Nhập mật khẩu đã được Contabo gửi qua Email

image Giao diện đăng nhập thành công

PHẦN 3: Cài đặt

Tiến hành cập nhật các gói

sudo apt-get install curl
sudo apt update && sudo apt upgrade -y
sudo apt install docker.io
docker --version

Kiểm tra xem docker có đang hoạt động không (nên trả về phiên bản 20.10.12 trở lên)

Cài đặt docker-compose

sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
docker-compose --version

Kiểm tra xem docker-compose có hoạt động không (nên trả về phiên bản 1.29.2 trở lên)

Cài đặt Tmux

Để có thể quản lý nhiều nodes trên một vps

apt install tmux
tmux

Tải xuống và cài đặt validator

(Bên trong tmux được định danh bằng số : 0,1,2,.. Nằm ở thành màu xanh dưới màn hình)

curl -O https://gitlab.com/shardeum/validator/dashboard/-/raw/main/installer.sh && chmod +x installer.sh && ./installer.sh
By running this installer, you agree to allow the Shardeum team to collect this data. (y/n)?:

Nhập : y, sau đó nhấn Enter

Do you want to run the web based Dashboard? (y/n):

Nhập : y, sau đó nhấn Enter

Set the password to access the Dashboard:

Nhập mật khẩu do bạn đặt (nhớ lưu lại), sau đó nhấn Enter

Enter the port (1025-65536) to access the web based Dashboard (default 8080):

Nhập 8080, sau đó nhấn Enter

If you wish to set an explicit external IP, enter an IPv4 address (default=auto):

Nhấn Enter

If you wish to set an explicit internal IP, enter an IPv4 address (default=auto):

Nhấn Enter

To run a validator on the Sphinx Validator 1.X network, you will need to open two ports in your firewall.
This allows p2p communication between nodes.
Enter the first port (1025-65536) for p2p communication (default 9001):

Nhấn Enter

Enter the second port (1025-65536) for p2p communication (default 10001):

Nhấn Enter

What base directory should the node use (defaults to ~/.shardeum):

Nhấn Enter

image Đợi vài phút

image Bây giờ bạn có thể thực bước tiếp theo

Mở validator CLI

cd .shardeum
./shell.sh

Mở validator GUI

operator-cli gui start
operator-cli gui start

Truy cập trình duyệt web và truy cập theo đường dẫn sau

https://localhost:8080/

Thay “localhost” bằng địa chỉ IP VPS

image

Sau đo nhập mật khẩu ở trên mà mình đã đặt ở bước trên

image Giao diện sau khi đăng nhập thành công

Chuyển sang tab : Maintenance

image Giao diện trang Maintenance

Nhấn Start Node (đợi một chút)

Làm theo hướng dẫn sau để có thể nhận SHM :

liên kết :

Claim Testnet SHM | Shardeum Docs

Tiếp theo kết nối với ví của bạn đã có SHM, nhấn vào Connect Wallet (Hoàn thành các bước xác thực với ví)

image

Sau khi đã kết nối với ví của mình

Sau đó bạn nhấp vào "Add Stake", bạn sẽ thấy như sau:

hiha

Nhập 10 và Nhấn “Stake”

Tham khảo:

Hướng dẫn từ trang chính thức từ Shardeum : https://docs.shardeum.org/node/run/validator

shardeum-node's People

Contributors

lyeoeon1 avatar

Stargazers

80Humor avatar Olimjon Sadykov avatar 0xSerendipity avatar Vladimir Understanding avatar Iman avatar Khang Huynh 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.