At the minute, the only way to install the cardano-node
and the cardano-cli
, necessary to run a stake pool on Shelley, is to compile them. Compilation can be troublesome for some and lead to issues. To reduce complexity and have predictable results, I use a Docker build environment. This setup will always to build against the latest cardano-node
version and pioneer-*
tag as in the official documentation.
IMPORTANT: you must run these steps to compile cardano-node
and cardano-cli
on your local computer, and copy them over to your servers. This is to avoid useless load and installing compilation software on your servers.
Install and run Docker Desktop for your OS from the official site, on your local computer.
git clone https://github.com/gacallea/cardanoNodeBuilder.git
cd cardanoNodeBuilder
docker-compose up --build -d
docker container cp build_builder_1:/usr/local/bin cardano-bins/
NOTE: Make sure you point to your actual servers.
scp cardano-bins/bin/cardano-node node-server:/usr/local/bin/
scp cardano-bins/bin/cardano-cli node-server:/usr/local/bin/
scp cardano-bins/bin/cardano-node relay-server:/usr/local/bin/
scp cardano-bins/bin/cardano-cli relay-server:/usr/local/bin/