In this post we will see How To Install Redis On Ubuntu Linux
To install Redis, run the following commands:
$ mkdir redis && cd redis $ curl -O http://download.redis.io/redis-stable.tar.gz $ tar xzvf redis-stable.tar.gz $ cd redis-stable $ make $ make test $ sudo make install
Now to start Redis server, you can run this command.
$ redis-server
To Test if Redis server is running run this command.
$ redis-cli ping
If it replies “PONG”, then it’s good to go!
To set a value run the following commands
$ redis-cli redis> set foo bar OK redis> get foo "bar"
Video Instructions
Leave a Reply