Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Learning Redis

You're reading from  Learning Redis

Product type Book
Published in Jun 2015
Publisher
ISBN-13 9781783980123
Pages 318 pages
Edition 1st Edition
Languages
Author (1):
Vinoo Das Vinoo Das
Profile icon Vinoo Das

Installing Redis on Mac OS


Installing Redis is really simple on a Mac OS. Follow these steps and you are good to go:

  1. Download the package from Internet. For this, you can use the following command: wget http://download.redis.io/releases/redis-2.8.3.tar.gz

  2. Untar the compressed tar xzf redis-2.8.3.tar.gz file.

  3. This will create a folder; go to the folder by issuing the cd redis-2.8.3 command.

  4. Compile the file by issuing the make command. This will compile the binaries and create a folder structure, as shown in the following screenshot:

    Folder structure for a Mac distribution

  5. Type the src/redis-server command; this will start the server, as shown in the following screenshot:

    Starting the Redis server in the Apple environment

  6. Your Redis server is running and it is ready to accept the requests in port 6379. Open another terminal and go the same folder form where you installed Redis. Type the command src/redis-client; this will start the client shell, as shown in the following screenshot:

    Redis client...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}