1. Log into Shell
2. go to your home directory usually (/home/ycsoftware or /root/) for example.
3. vi .bash_profile
4. enter your environment variables in the $PATH line separated by colon.
5. Log out an Log back in and your $PATH should still be in there
use the command # $PATH to output your environment variables