- Xem cấu hình yêu cầu tối thiểu để chạy node: https://docs.celestia.org/nodes/light-node#hardware-requirements
- Chạy theo các bước dưới đây:
sudo apt update && sudo apt upgrade -y && sudo apt install curl tar wget clang pkg-config libssl-dev jq build-essential git make ncdu -y && cd ~ && wget "https://go.dev/dl/go1.19.1.linux-amd64.tar.gz" && sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf "go1.19.1.linux-amd64.tar.gz"&& rm "go1.19.1.linux-amd64.tar.gz" && echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> $HOME/.bash_profile && source $HOME/.bash_profile && go version && cd ~ && rm -rf celestia-node && git clone https://github.com/celestiaorg/celestia-node.git && cd celestia-node/ && git checkout tags/v0.5.0-rc5 && make install && make cel-key && celestia light init
- Khởi tạo ví, nhớ copy lưu thông tin lại =>
cd ~/celestia-node/ && ./cel-key add my_celes_key --keyring-backend test --node.type light
- Cài đặt Celestia node chạy ngầm 24/7
nano /etc/systemd/system/celestia-lightd.service
- Paste đoạn sau sau đó nhấn Ctrl+X để lưu lại
[Unit]
Description=celestia-appd Cosmos daemon
After=network-online.target
[Service]
User=root
ExecStart=/usr/local/bin/celestia light start --core.ip https://limani.celestia-devops.dev --core.grpc.port 9090 --gateway --gateway.addr 127.0.0.1 --gateway.port 26659
Restart=on-failure
RestartSec=3
LimitNOFILE=4096
[Install]
WantedBy=multi-user.target
- Khởi động lightd service
systemctl enable celestia-lightd && systemctl start celestia-lightd && systemctl status celestia-lightd
===> Thấy Actived màu xanh là OK nhé.
Active mạng Arabica Devnet trên ví Keplr truy cập link dưới:
https://docs.celestia.org/developers/keplr/