STR-NaN
Website
  • 🏠Home
  • 🔗mainnet
    • Algorand
      • 🖥️Installation
      • 🔁Switching Network
      • ⚡Fast Sync
      • 🔎Find Server and Token
      • 🌐Custom Port (Optional)
      • 🛠️Troubleshooting
      • 💡Useful Command
    • Goracle
      • 🖥️Installation
      • ⬆️Upgrade
      • 🛠️Troubleshooting
      • 💡Useful Command
  • 🔗testnet
    • Algorand
      • 🖥️Installation
      • 🔁Switching Network
      • ⚡Fast Sync
      • 🔎Find Server and Token
      • 🌐Custom Port (Optional)
      • 🛠️Troubleshooting
      • 💡Useful Command
    • Aleo
      • 🖥️Installation
      • 💡Useful Command
    • BlockX
      • 🖥️Installation
    • Goracle
      • 🖥️Installation
      • ⬆️Upgrade
      • 🛠️Troubleshooting
      • 💡Useful Command
    • Impact Protocol
      • 🖥️Installation
      • 💡Useful Command
    • NuLink
      • 🖥️Installation
      • ⬆️Upgrade
      • 🛠️Troubleshooting
      • 💡Useful Command
    • Polymer
      • 📝Challenge 3
Powered by GitBook
On this page

Was this helpful?

  1. mainnet
  2. Algorand

Useful Command

PreviousTroubleshootingNextGoracle

Last updated 1 year ago

Was this helpful?

Add sudo if you're not in ROOT users.

Check your node status using curl

Change your port if you're using custom port.

curl -X GET \
     -H "X-Algo-API-Token: yourtoken" \
     "http://127.0.0.1:8080/v2/status"

Check your algorand service status

In this step you will find the port you are using in the algorand node.

systemctl status algorand

Restart node

systemctl restart algorand

Check node status

goal node status -d /var/lib/algorand

Stop node

systemctl stop algorand

Delete Algorand from your server

apt-get remove algorand algorand-devtools
sudo rm -rf /var/lib/algorand/

Add variable

In this step if you want to use goal node status without using -d flags you can follow this command below.

echo "export ALGORAND_DATA=/var/lib/algorand" >> ~/.bash_profile
source ~/.bash_profile

Now you can use this command without using -d flags.

goal node status

I'll add more command soon, i just exploring algorand node.

🔗
💡
⚠️
⚠️
⚠️
⚠️