So if you plan to study something related to servers, it is convenient to have it at hand. Redis is a program that is becoming more and more necessary on servers.
WINDOWS INSTALL REDIS PASSWORD
In order to use them, the password must be specified: 127.0.0.1:6379> AUTH angeloĪnd now we can execute any command, for example, the ping. In case you haven’t done it, you won’t see an error. Then, open the Redis port in the Firewall: sudo firewall-cmd -add-port=6379/tcp -permanentĪnd if you try to make a command, it will give an error because we need the password that we will have defined before. Now, verify that Redis is listening for all requests from IP addresses under the specified port. In the end, save the changes and close the editor.įor the changes to take effect, restart the service. If you want to request a password to execute the commands in Redis, add the following directive: requirepass But you can also specify an IP address.īy default, Redis uses port 6379 but you can change it in the port directive. Change it to: bind 0.0.0.0Īnd so you will hear requests from all directions. This line means that only listen to connections through localhost. So, open the Redis configuration file: sudo nano /etc/nf
![windows install redis windows install redis](https://fastoredis.com/images/slider/main-1.png)
Especially useful if Redis will tolerate many simultaneous connections. The first thing to do in this file is to make Redis listen and accept connections from all directions. In this file, you can configure many things like the port or a password. Now we have to configure it and leave it ready. Sep 21 15:45:03 osradar systemd: Started Redis persistent key-value database. Sep 21 15:45:03 osradar systemd: Starting Redis persistent key-value database… Loaded: loaded (/usr/lib/systemd/system/rvice enabled vendor preset: disabled)ĭrop-In: /etc/systemd/system/Īctive: active (running) since Mon 15:45:03 EDT 1s ago
![windows install redis windows install redis](https://i.ytimg.com/vi/BGLcc_g7RsM/maxresdefault.jpg)
WINDOWS INSTALL REDIS HOW TO
So today you will learn how to install it.