Brew install redis (osx 10.7)

I tried installing Redis on osx 10.7 via homebrew in bash and I get the following error:

==> Downloading http://redis.googlecode.com/files/redis-2.6.9.tar.gz Already downloaded: /Library/Caches/Homebrew/redis-2.6.9.tar.gz ==> make -C /private/tmp/redis-wQAX/redis-2.6.9/src CC=cc Error: Permission denied - /usr/local/var/db 

Redis is not installed from what I can say.

 $ ps -aux | grep redis ps: No user named 'x' 

I canโ€™t find a solution and I donโ€™t know who to ask! Please let me know if you have a workaround or solution / suggestion. Thanks!

+7
source share
2 answers

I also use osx 10.7. I think you do not need to install Redis through homebrew. You can simply follow the simple instructions on the redis homepage :

enter image description here

+9
source

in bash:

 cd /usr/local/var/ ls 

the db directory is most likely missing, create it:

 mkdir db 

then run

 brew install redis 

check / usr / local / var / log

 ls 

Most likely, the directory "log" is missing, create it

 mkdir log brew install redis 
+8
source

All Articles