# Namada node setup **Published by:** [cyberG|DVS](https://paragraph.com/@cyberg/) **Published on:** 2023-11-30 **URL:** https://paragraph.com/@cyberg/namada-node-setup ## Content Install packages:sudo apt update && sudo apt upgrade -y sudo apt-get install -y make git-core libssl-dev pkg-config libclang-12-dev build-essential protobuf-compiler Install Rust:curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y source $HOME/.cargo/env Install Go:ver="1.20.3" && wget "https://golang.org/dl/go$ver.linux-amd64.tar.gz" && sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf "go$ver.linux-amd64.tar.gz" && rm "go$ver.linux-amd64.tar.gz" && echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> $HOME/.bash_profile && source $HOME/.bash_profile && go version Install Comet BFT:cd $HOME git clone https://github.com/cometbft/cometbft.git cd cometbft git checkout v0.37.2 make build sudo cp $HOME/cometbft/build/cometbft /usr/local/bin/ cometbft version Build binaries:export ALIAS="" && export CHAIN_ID=public-testnet-14.5d79b6958580 && export BASE_DIR=$HOME/.local/share/namada && export TM_HASH=v0.1.4-abciplus sed -i '/public-testnet/d' "$HOME/.bash_profile" sed -i '/NAMADA_TAG/d' "$HOME/.bash_profile" sed -i '/WALLET_ADDRESS/d' "$HOME/.bash_profile" echo "export BASE_DIR=$HOME/.local/share/namada" >> ~/.bash_profile echo "export NAMADA_TAG=$NEWTAG" >> ~/.bash_profile echo "export CHAIN_ID=$NEWCHAINID" >> ~/.bash_profile source ~/.bash_profile cd $path_namada/namada git fetch && git checkout $NAMADA_TAG make build-release Check version:namada --version Download genesis:namada client utils join-network --chain-id $CHAIN_ID --genesis-validator $ALIAS Create service:sudo tee /etc/systemd/system/namadad.service > /dev/null <<EOF [Unit] Description=namada After=network-online.target [Service] User=$USER WorkingDirectory=$BASE_DIR Environment=CMT_LOG_LEVEL=p2p:none,pex:error Environment=NAMADA_CMT_STDOUT=true Environment=NAMADA_LOG=info ExecStart=$(which namada) node ledger run StandardOutput=syslog StandardError=syslog Restart=always RestartSec=10 LimitNOFILE=65535 [Install] WantedBy=multi-user.target EOF Start node and check logs:sudo systemctl daemon-reload && sudo systemctl enable namadad && sudo systemctl restart namadad && sudo journalctl -u namadad -fo cat ## Publication Information - [cyberG|DVS](https://paragraph.com/@cyberg/): Publication homepage - [All Posts](https://paragraph.com/@cyberg/): More posts from this publication - [RSS Feed](https://api.paragraph.com/blogs/rss/@cyberg): Subscribe to updates - [Twitter](https://twitter.com/vadyhodler777): Follow on Twitter