0

i am attempting to get redis-server running in my rails app. i am following this post here (the version numbers are a little outdated) but it seems from the error i am getting

@rob:~/Work/boogle[master]$ redis-server
bash: /usr/local/bin/redis-server: No such file or directory

that the file isnt being found! as you can see its looking for it in /usr/local/bin/ the post i am following suggested that i cp src/redis-server src/redis-cli /usr/bin which suggests that /usr/local/bin/ and /usr/bin are different bin files is it safe to just cp src/redis-server src/redis-cli /usr/local/bin i am a little scared to mess with the bin files, and creating a 'redis-ception ' by running redis-server in the home dir.

I have a bad feeling like my bin or .bashrc file is F'd, any suggestions?

4

1 回答 1

1

该指南要求您通过源安装 redis。

你不需要这个。

您可以简单地使用 apt 安装 redit:

sudo add-apt-repository ppa:rwky/redis
sudo apt-get update
sudo apt-get install redis-server
于 2013-04-23T09:14:30.857 回答