Can't install Redis on my CentOS 6.5

March 29, 2014 5.2k views
Hi everyone, I need to install Redis on my CentOS 6.5 machine to use with my Rails application. I browsed the web to figure out how to do it and proceeded with the following commands: wget https://redis.googlecode.com/files/redis-2.6.14.tar.gz // latest stable tar -xf redis-2.6.14.tar.gz cd redis-2.6.14 make install make test sudo make install Until now, everything fine! But then I try running Redis finally and I get the following error: Could not connect to Redis at 127.0.0.1:6379: Connection refused What is going on? Can anyone help me with this?
1 Answer
That means Redis isn't running. You will need to start it by running
/usr/local/bin/redis-server /path/to/config
. See http://redis.io/topics/quickstart.
Have another answer? Share your knowledge.