How to Install Redis On Ubuntu 18.04 LTS Linux




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


Partner Sites

VideoToGifs.com

EasyOnlineConverter.com

SqliteTutorials.com





Be the first to comment

Leave a Reply

Your email address will not be published.


*