Redis installer script internally makes use of curl
vi ~/.curlrc
Add http export
http_proxy=http://username:password@proxy:port
Install development tools aka build-essential from Ubuntu/Debian world –
yum install “Development Tools”
Install TCL which is a requisite for Redis
tar -xvf tcl8.5.11-src.tar.gz
cd tcl8.5.11
cd unix/
./configure
sudo make install
Download redis installer script from http://redis.io/download
tar -xvf redis-2.4.15.tar.gz
make
Test out the installation like so –
make test
It may show an error related to tcl during ‘make test’. That is a known issue, can be safely ignored.
Start the redis server
./redis-server &
On another session, you can start playing on the redis client –
cd redis-2.4.15/src/
./redis-cli