Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Redis

You're reading from   Learning Redis Design efficient web and business solutions with Redis

Arrow left icon
Product type Paperback
Published in Jun 2015
Publisher
ISBN-13 9781783980123
Length 318 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Vinoo Das Vinoo Das
Author Profile Icon Vinoo Das
Vinoo Das
Arrow right icon
View More author details
Toc

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:
    Installing Redis on Mac OS

    Folder structure for a Mac distribution

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

    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:
    Installing Redis on Mac OS

    Redis client...

You have been reading a chapter from
Learning Redis
Published in: Jun 2015
Publisher:
ISBN-13: 9781783980123
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 €18.99/month. Cancel anytime