Setup/Install Redis Server on Windows 10 - onlinetutorialspoint

PROGRAMMINGJava ExamplesC Examples
Java Examples
C Examples
C Tutorials
aws
JAVAEXCEPTIONSCOLLECTIONSSWINGJDBC
EXCEPTIONS
COLLECTIONS
SWING
JDBC
JAVA 8
SPRING
SPRING BOOT
HIBERNATE
PYTHON
PHP
JQUERY
PROGRAMMINGJava ExamplesC Examples
Java Examples
C Examples
C Tutorials
aws
In this tutorial, I am going to show how to install the Redis server in windows 10 operating system.
Redis stands for Remote Dictionary Server, and it is an open-source in-memory key-value data structure store. It supports data structures such as strings, hashes, list, set and more. Redis comes with different flavours like caching, session management, producer/consumer topic messaging and database.
Redis is speedy because everything is stored in an in-memory, so there is no hardware involved init. Redis was written in C language, that is why it is extremely fast.
Step 1: Download the latest Redis zip file from the official git hub location. For me it is redis-2.4.5-win32-win64.zip.
Step 2: Extract redis-2.4.5-win32-win64.zip file in your preferred location.
Step 3: It will come with two different folders, one is for 32bit, and another one is for 64bit based on your operating system.
Step 4: Goto 64bit there you can find the below files.
Step 4: Double click on the redis-server.exe file, there you can see the redis-server startup and wait for connecting to clients like below.
Step 5: Now open the redis-cli.exe file to the redis command-line interface.
As this acts as a redis client, as soon as we open this cli, we can see the client connected message in redis server like below.
Now we can say that the redis server and client connected successfully. Now let’s try to pass some messages from the client to the redis server.
As we discussed redis is an in-memory key-value data structure store so that the data in redis represents as key-value pairs.
Inserting data in redis:
redis 127.0.0.1:6379> set "name" "chandra shekhar"
OK
Reading data from redis:
redis 127.0.0.1:6379> get "name"
"chandra shekhar"
Open two individual redis-cli, make one cli as a producer and another one as a consumer.
The syntax for Subscribe:
subscribe "java-books"
subscribe is a keyword is used to accept a channel, where the channel is java_books.
The syntax for Publish:
publish "java-books" "java8 in action"
Like subscribe, publish is also a keyword to post a message on a specific topic. On the above example, I publish my message like “java8 in action” on “java-books” subscribers.
Redis Document
Happy Learning 🙂

Spring Boot Redis Cache Example – Redis Server
How to setup or install MongoDB on Windows 10
How to install AWS CLI on Windows 10
Spring Boot Redis Data Example CRUD Operations
Install Apache Kafka on Windows 10
Install Mysql on Windows 10 Step by Step
How to install RabbitMQ on Windows 10
Install Docker Desktop on Windows 10
How to install PuTTY on windows 10
How to install SOAPUI on Windows 10
How to install Docker Toolbox on Windows 10
How to Install Git windows 10 Operating System
Install Apache Solr on Windows 10
How to install Android Studio on Windows 10
Flask – How to install/setup Flask SQLAlchemy ?

Spring Boot Redis Cache Example – Redis Server
How to setup or install MongoDB on Windows 10
How to install AWS CLI on Windows 10
Spring Boot Redis Data Example CRUD Operations
Install Apache Kafka on Windows 10
Install Mysql on Windows 10 Step by Step
How to install RabbitMQ on Windows 10
Install Docker Desktop on Windows 10
How to install PuTTY on windows 10
How to install SOAPUI on Windows 10
How to install Docker Toolbox on Windows 10
How to Install Git windows 10 Operating System
Install Apache Solr on Windows 10
How to install Android Studio on Windows 10
Flask – How to install/setup Flask SQLAlchemy ?






ZYX
October 27, 2020 at 5:06 am - Reply 

thank you. but...
you are using a underline in ‘subscribe “java_books”‘
and a dash in ‘publish “java-books” “java8 in action”‘









chandrashekhar
October 27, 2020 at 11:32 am - Reply 

Thanks for catching 🙂 updated..











prideaux
October 12, 2021 at 12:21 am - Reply 

Dude you wrote this in 2018! Yet you point to a VERY OLD VERSION of redis on github 29 Dec 2011 !!! Crazy










ZYX
October 27, 2020 at 5:06 am - Reply 

thank you. but...
you are using a underline in ‘subscribe “java_books”‘
and a dash in ‘publish “java-books” “java8 in action”‘









chandrashekhar
October 27, 2020 at 11:32 am - Reply 

Thanks for catching 🙂 updated..






thank you. but...
you are using a underline in ‘subscribe “java_books”‘
and a dash in ‘publish “java-books” “java8 in action”‘





chandrashekhar
October 27, 2020 at 11:32 am - Reply 

Thanks for catching 🙂 updated..




Thanks for catching 🙂 updated..





prideaux
October 12, 2021 at 12:21 am - Reply 

Dude you wrote this in 2018! Yet you point to a VERY OLD VERSION of redis on github 29 Dec 2011 !!! Crazy




Dude you wrote this in 2018! Yet you point to a VERY OLD VERSION of redis on github 29 Dec 2011 !!! Crazy
 


Δ
 Spring Boot – Hello World
 Spring Boot – MVC Example
 Spring Boot- Change Context Path
 Spring Boot – Change Tomcat Port Number
 Spring Boot – Change Tomcat to Jetty Server
 Spring Boot – Tomcat session timeout
 Spring Boot – Enable Random Port
 Spring Boot – Properties File
 Spring Boot – Beans Lazy Loading
 Spring Boot – Set Favicon image
 Spring Boot – Set Custom Banner
 Spring Boot – Set Application TimeZone
 Spring Boot – Send Mail
 Spring Boot – FileUpload Ajax
 Spring Boot – Actuator
 Spring Boot – Actuator Database Health Check
 Spring Boot – Swagger
 Spring Boot – Enable CORS
 Spring Boot – External Apache ActiveMQ Setup
 Spring Boot – Inmemory Apache ActiveMq
 Spring Boot – Scheduler Job
 Spring Boot – Exception Handling
 Spring Boot – Hibernate CRUD
 Spring Boot – JPA Integration CRUD
 Spring Boot – JPA DataRest CRUD
 Spring Boot – JdbcTemplate CRUD
 Spring Boot – Multiple Data Sources Config
 Spring Boot – JNDI Configuration
 Spring Boot – H2 Database CRUD
 Spring Boot – MongoDB CRUD
 Spring Boot – Redis Data CRUD
 Spring Boot – MVC Login Form Validation
 Spring Boot – Custom Error Pages
 Spring Boot – iText PDF
 Spring Boot – Enable SSL (HTTPs)
 Spring Boot – Basic Authentication
 Spring Boot – In Memory Basic Authentication
 Spring Boot – Security MySQL Database Integration
 Spring Boot – Redis Cache – Redis Server
 Spring Boot – Hazelcast Cache
 Spring Boot – EhCache
 Spring Boot – Kafka Producer
 Spring Boot – Kafka Consumer
 Spring Boot – Kafka JSON Message to Kafka Topic
 Spring Boot – RabbitMQ Publisher
 Spring Boot – RabbitMQ Consumer
 Spring Boot – SOAP Consumer
 Spring Boot – Soap WebServices
 Spring Boot – Batch Csv to Database
 Spring Boot – Eureka Server
 Spring Boot – MockMvc JUnit
 Spring Boot – Docker Deployment