Run the following command to install the required dependencies:
sudo apt install curl tar wget aria2 clang pkg-config libssl-dev jq build-essential git make ncdu -yDownload and install Go:
wget "https://golang.org/dl/go1.23.0.linux-amd64.tar.gz"
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf "go1.23.0.linux-amd64.tar.gz"
rm "go1.23.0.linux-amd64.tar.gz"Add Go binaries to your PATH:
echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> $HOME/.bash_profile
source $HOME/.bash_profileCheck if Go is installed correctly:
go versionClone the Celestia-Node repository:
cd $HOME
rm -rf celestia-node
screen -S CELESTIA
git clone https://github.com/celestiaorg/celestia-node.git
cd celestia-node/Switch to the latest version (v0.20.4):
git fetch --tags
git checkout tags/v0.20.4Build and install Celestia Node:
make build-jemalloc
make install
make cel-key
celestia versionInitialize the Celestia light node:
celestia light init --p2p.network celestiaGenerate a key for the light node:
./cel-key add CHOOSE_A_NAME --keyring-backend test --node.type light --p2p.network celestiaStart the light node using the created key:
celestia light start --core.ip consensus.lunaroasis.net --keyring.keyname ENTER_THE_NAME_YOU_CHOSE_BEFOREThis completes the setup of a Celestia light node with version v0.20.4. Ensure your node is running correctly and syncing with the network.