Prerequisites
Prepare your server for Cardano Node 10.6.2 installation.
1) System update and required packages
sudo apt-get update -y
sudo apt-get upgrade -y
sudo apt-get install -y \
curl wget jq git tmux htop nload unzip xz-utils \
build-essential pkg-config libffi-dev libgmp-dev libssl-dev \
libsystemd-dev zlib1g-dev libncurses-dev libtool autoconf automake \
libsodium-dev2) Directory layout and environment variables
mkdir -p $HOME/.local/bin
cd $HOME
mkdir -p cnode
cd cnode
mkdir -p config db sockets keys logs scripts
grep -q 'export PATH="$HOME/.local/bin:$PATH"' $HOME/.bashrc || \
echo 'export PATH="$HOME/.local/bin:$PATH"' >> $HOME/.bashrc
grep -q 'CARDANO_NODE_SOCKET_PATH' $HOME/.bashrc || \
echo 'export CARDANO_NODE_SOCKET_PATH="$HOME/cnode/sockets/node.socket"' >> $HOME/.bashrc
source $HOME/.bashrc3) Verify architecture
Output
Artifact to download
4) Source-build prerequisites (optional)
Dependency
Version
5) Firewall
6) Sanity checks
Last updated