Can be achieved by configuring the environment variable
vim .bash_profile export PATH=/home/redis-2.6.13/src:$PATH