Using Node.sh (deprecated)
This option is deprecated and is not supported anymore. Please update your node Using Node Binary.
1. Stop Systemd Service
sudo service harmony stop
2. Backup Files
Create a folder called "backup
" in case it does not exist:
Backup both node.sh
and harmony
binary file:
cp {node.sh,harmony} backup
3. Download Node.sh
Before we proceed to next steps we need to download the necessary files:
curl -LO https://harmony.one/node.sh && chmod +x node.sh
./node.sh -d && mv staging/* ./
curl -LO https://harmony.one/node.sh && chmod +x node.sh
./node.sh -d -N testnet && mv staging/* ./
Check the Binary CLI and node.sh version that was downloaded:
./harmony -V
./node.sh -v
4. Restart Systemd Service
sudo service harmony restart
To check your node follow instructions on Checking A Node.