0% found this document useful (0 votes)
262 views3 pages

Installing Redis On Mac OS X - Jasdeep Singh

This document provides instructions for installing Redis on Mac OS X or Linux. It explains how to install Homebrew (if needed), download the Redis source code, compile and test it. It also describes creating a hidden Redis directory with a configuration file and starting the Redis server.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
262 views3 pages

Installing Redis On Mac OS X - Jasdeep Singh

This document provides instructions for installing Redis on Mac OS X or Linux. It explains how to install Homebrew (if needed), download the Redis source code, compile and test it. It also describes creating a hidden Redis directory with a configuration file and starting the Redis server.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Jasdeep Singh

Passionate Ruby, Ruby on Rails, JavaScript, Co!eeScript Developer based out of Toronto.
Installing Redis on Mac OS X
!
May 22, 2012
This post explains how you can install Redis on your Mac OS X system. The instructions will stay pretty much same for
any Linux/Unix based system.
If you have Homebrew:
If you dont have Homebrew:
Grab the latest copy of Redis from this link. At the time of this writing the latest stable release is 2.4.14. Follow the in-
structions below now.
Download Redis. I downloaded redis to my Downloads folder on Mac.
First execute the make test command to make sure Redis can complete a clean install on your computer.
If no problems were found, continue by executing make on your terminal
!
"
#
$ &' ()*+,-.+/'0)12'304"565!6
$ 7/82 9209
$ 7/82
1 brew install redis
view raw
view raw
view raw
view raw
view raw
view raw
installing-redis1.sh hosted with ! by GitHub
!
"
#
$ &' ()*+,-.+/'0)12'304"565!6
$ 7/82 9209
$ 7/82
installing-redis1.sh hosted with ! by GitHub
Next, move these 2 directories into your /usr/bin directory. Youll need to do this as the sudo user.
!
"
$ 0:'+ 7; 01&)12'304021;21 ):01)<3-
$ 0:'+ 7; 01&)12'304&.3 ):01)<3-
installing-redis2.sh hosted with ! by GitHub
!
"
$ 0:'+ 7; 01&)12'304021;21 ):01)<3-
$ 0:'+ 7; 01&)12'304&.3 ):01)<3-
installing-redis2.sh hosted with ! by GitHub
Now, make a hidden redis directory in your home folder and add a config file called redis.conf into this folder.
You can consult the Redis Documentation on what options/parameters you can configure using this conf file.
!
"
$ 78'31 ()512'30
$ 9+:&= ()512'30)12'305&+->
installing-redis3.sh hosted with ! by GitHub
!
"
$ 78'31 ()512'30
$ 9+:&= ()512'30)12'305&+->
installing-redis3.sh hosted with ! by GitHub
Start up the redis server using:
! $ 12'304021;21
view raw
view raw
Google+
installing-redis4.sh hosted with ! by GitHub
installing-redis4.sh hosted with ! by GitHub
Jasdeep Singh
"
#
6
!#?@A6" "@ B/C "!D"AD6@ E F21;21 09/192'G H2'30 ;2103+- "565!6
!#?@A6" "@ B/C "!D"AD6@ E I=2 021;21 30 -+, 12/'C 9+ /&&2J9 &+--2&93+-0 +- J+19 K#A@
!#?@A6" "@ B/C "!D"AD6@ 4 ? &.32-90 &+--2&92' #? 0./;20$G @""#?6 <C920 3- :02
!
"
#
6
$ 12'304021;21
!#?@A6" "@ B/C "!D"AD6@ E F21;21 09/192'G H2'30 ;2103+- "565!6
!#?@A6" "@ B/C "!D"AD6@ E I=2 021;21 30 -+, 12/'C 9+ /&&2J9 &+--2&93+-0 +- J+19 K#A@
!#?@A6" "@ B/C "!D"AD6@ 4 ? &.32-90 &+--2&92' #? 0./;20$G @""#?6 <C920 3- :02

You might also like