When you login to the machine there should be a folder “node” in your home directory. Change directory to “node” and run the command “./goal node start -d ./data”.
Unless you add the path to “node” to the environment path variable the shell doesn’t know where the goal executable lives. By appending “./” you are saying in this directory, run goal.
In your home directory (~) edit the .bash_profile file to include
export ALGORAND_DATA=~/algorand/data (pointing to you data folder path).
After saving new shells will have variable loaded, type env to see all the environment variables. The goal program will be able to read the path to its data folder directly and you can stop using -d ./data.
Note, to take effect in your current shell, it has to be reloaded, which you can do with source ~/.bash_profile.