Installing redis is really easy. I have done it on several VM. But on one instance, I am facing the following problem.
[root@server redis-2.4.2]# make cd src &am
make[2]: cc: Command not found
This means that c compiler is uninstalled, or that it's not in $PATH.
$PATH
Try which cc, this should tell the directory where cc is installed, if it is.
which cc
cc
Otherwise, you can use your distro repository to install it.
In Ubuntu: sudo aptitude install build-essential.
sudo aptitude install build-essential