Run the following command to create a key named test containing "Test Successful":.You will see that Redis is running on 127.0.0.1:6379 which is the default for running in Windows. Run the following command to run redis-cli:.Run the following command to start Redis:
#INSTALL REDIS IN WINDOWS INSTALL#
Run the following command to install Redis on Ubuntu: Run the following command to update and upgrade Ubuntu: You will be asked to enter a username & password (IMPORTANT! Do not forget these as you will require them for any maintenance of this setup) There are multiple ways to do this so I will leave you to investigate what works the best for your environment.
![install redis in windows install redis in windows](https://www.fatalerrors.org/images/blog/ce9291371427bb2d5fa7de04326ca5de.jpg)
If you want to ensure that the WSL is running on reboot etc you should setup a way to activate the linux distribution.
![install redis in windows install redis in windows](https://stackjava.com/wp-content/uploads/2019/03/install-redis-windows-8.png)
Scroll down the list and tick Windows Subsystem for Linux.Click next several times to get to the features option.open the start menu and search for 'Turn Windows features on or off" and select, this will open the Add Roles and Features wizard.You can enable WSL in two ways, through the UI or using Powershell.
![install redis in windows install redis in windows](https://www.kindacode.com/wp-content/uploads/2021/06/redis.jpg)
This allows you to run the latest version of Redis and is an alternative to the process that is explained in the Qlik Alerting installation pre-requisites, you will need to manage this install and any updates and maintenance yourself if you choose this option.Įnable Windows Subsystem for Linux (WSL) on Windows 2019 server
#INSTALL REDIS IN WINDOWS HOW TO#
This document is provided as an example of how to use the WSL feature in Windows 2019 to run Redis natively in Linux on the same Windows 2019 machine as your Qlik Alerting install.