Report this

What is the reason for this report?

Can't install Redis on my CentOS 6.5

Posted on March 29, 2014

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?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

That means Redis isn’t running. You will need to start it by running <pre>/usr/local/bin/redis-server /path/to/config</pre>. See <a href=“http://redis.io/topics/quickstart”>http://redis.io/topics/quickstart</a>.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.