Installation
source <(curl -s https://raw.githubusercontent.com/NodersUA/Scripts/main/Andromeda)# Update the repositories
apt update && apt upgrade -y# Install developer packages
apt install curl iptables build-essential git wget jq make gcc nano tmux htop nvme-cli pkg-config libssl-dev libleveldb-dev tar clang bsdmainutils ncdu unzip libleveldb-dev -y# Install Go (one command)
ver="1.20.1" && \
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
# go version go1.20.1 linux/amd64# Set the variables
# Come up with the name of your node and replace it instead <your_moniker>
MONIKER_ANDROMEDA=<your_moniker>
echo 'export MONIKER_ANDROMEDA='$MONIKER_ANDROMEDA >> $HOME/.bash_profile
echo "export CHAIN_ID_ANDROMEDA=galileo-3" >> $HOME/.bash_profile
echo "export PORT_ANDROMEDA=15" >> $HOME/.bash_profile
source $HOME/.bash_profile
# check whether the last command was executedLast updated