Home - pford68/node-redis GitHub Wiki
Redis is a fast and efficient in-memory key-value store. It is also known as a data structure server, as the keys can contain strings, lists, sets, hashes and other data structures.
brew install redis
- Download redis and unpack it.
- cd into $REDIS_INSTALL_HOME
- Run
make
- Run
make test
- Run
make install
to install into/usr/local/bin
Installing as a background daemon that starts when the system starts.
% cd utils
% ./install_server.sh
The script will ask you a few questions and will setup everything you need to run Redis properly as a background daemon that will start again on system reboots.
You'll be able to stop and start Redis using the script named /etc/init.d/redis_, for instance /etc/init.d/redis_6379.
- Start the Redis Server: type
redis-server
- For the Redis shell, type
redis-cli
.
On Mac OS X, I actually have pm2
manage Redis. Thus, the Redis server is always on.