THIS GUIDE IS FOR EDUCATIONAL PURPOSE ONLY. IT COMES WITH NO WARRANTY AND SHOULD BE USED AT YOUR OWN RISKS. MAKE THE APPROPRIATE BACKUPS!!! THIS GUIDE ASSUME YOU FOLLOWED https://www.coincashew.com/coins/overview-ada/guide-how-to-build-a-haskell-stakepool-node
Written by QCPOL (https://qcpol.stakepool.quebec)
sudo apt update
sudo apt upgrade
sudo apt autoremove
cd $HOME
git clone https://github.com/input-output-hk/cardano-node.git cardano-node-1.32.1
cd cardano-node-1.32.1
git fetch --all --recurse-submodules --tags
git checkout tags/1.32.1
cabal update
cabal configure -O0 -w ghc-8.10.4
echo -e "package cardano-crypto-praos\n flags: -external-libsodium-vrf" > cabal.project.local
rm -rf $HOME/cardano-node-1.32.1/dist-newstyle/build/x86_64-linux/ghc-8.10.4
cabal build cardano-cli cardano-node
sudo systemctl stop cardano-node
sudo cp $(find $HOME/cardano-node-1.32.1/dist-newstyle/build -type f -name "cardano-cli") /usr/local/bin/cardano-cli
sudo cp $(find $HOME/cardano-node-1.32.1/dist-newstyle/build -type f -name "cardano-node") /usr/local/bin/cardano-node
sudo systemctl start cardano-node