Follow the steps given below to installation Redis on Ubuntu:
First setup a non-root person using sudo and then installation build and test dependencies:
sudo apt update
sudo apt full-upgrade
sudo apt install build-essential tcl


To continue press Y

Install Redis Server
Use the following command to installation Redis server:
sudo apt-get install redis-server


Now Redis Server is installed. You can start the Redis server:
Start Redis Server
You the following command to start redis server:
redis-server

Start Redis Client
Redis server is started out so you can start redis customer to make communication between them.
redis-cli

Verify if Redis is working
Execute the following command:
redis-cli
This will open a redis prompt.
redis 127.0.0.1:6379>
In the above prompt, 127.0.0.1 is machine’s IP address and 6379 is the port on which Redis server is running.
Now type the following PING command.
It specifies that Redis is efficaciously hooked up on your system.

Next TopicRedis Configuration
Leave a Review