# Hướng dẫn chạy Story-Node

By [ESC Base](https://paragraph.com/@escbase) · 2024-09-05

---

1\. Chuẩn bị VPS
----------------

![](https://storage.googleapis.com/papyrus_images/eca6b16486f880e4f9075ec2ebe99e322a2302a997fb634df61d3a8a989d9c74.png)

*   Máy nhà
    
*   [Contabo](https://geni.us/contabo)
    

2\. Tải, cài đặt client và đồng bộ chain
----------------------------------------

    mkdir story_binary
    cd story_binary
    mkdir geth_client
    mkdir story_client
    wget https://story-geth-binaries.s3.us-west-1.amazonaws.com/geth-public/geth-linux-amd64-0.9.2-ea9f0d2.tar.gz
    wget https://story-geth-binaries.s3.us-west-1.amazonaws.com/story-public/story-linux-amd64-0.9.11-2a25df1.tar.gz
    tar zxvf story-linux-amd64-0.9.11-2a25df1.tar.gz --strip-components=1 -C story_client
    tar zxvf geth-linux-amd64-0.9.2-ea9f0d2.tar.gz --strip-components=1 -C geth_client
    #Chạy cửa sổ mới bằng tmux
    tmux
    #truy cập thư mục geth_client
    cd geth_client
    #đồng bộ geth
    ./geth --iliad --syncmode full
    #Chạy cửa sổ mới tmux cho story_client
    tmux
    #truy cập thư mục story_client
    cd story_client
    #tạo một số thứ (thay <tên node> bằng tên node của bạn)
    ./story init --network iliad --moniker <tên node>
    #chạy story_client:
    ./story run
    

Sau đó đợi đồng bộ xong thì xuống bước 3

3\. Tạo validator
-----------------

3.1. Lấy địa chỉ ví và faucet:

    #truy cập thư mục story_client
    cd story_client
    #lấy địa chỉ ví
    ./story validator export
    #lấy private key bằng lệnh:
    ./story validator export --export-evm-key --evm-key-path .env
    

3.2. Faucet 1 IP tại đây:

[https://faucet.story.foundation/](https://faucet.story.foundation/)

3.3. Tạo validator

    ./story validator create --stake 1000000000000000000
    #tạo xong thì tìm địa chỉ ví validator
    cd ~/.story/story/config
    cat priv_validator_key.json | grep address
    #xác nhận bằng truy cập: (thay đuôi bằng địa chỉ ví vào bằng link dưới)
    

[https://testnet.story.explorers.guru/validator/](https://testnet.story.explorers.guru/validator/)

Tham khảo thêm tại

[https://docs.story.foundation/docs/node-setup](https://docs.story.foundation/docs/node-setup)

---

*Originally published on [ESC Base](https://paragraph.com/@escbase/h-ng-d-n-ch-y-story-node)*
