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 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 rvice - Redis persistent key-value database.Now we need to start the service: sudo systemctl start redisĬheck the status of the service to make sure everything is going well: sudo systemctl status redis The next step is to make Redis run as soon as the system starts. Is this ok : 1.- Install Redis on CentOS 8 Package Architecture Version Repository Size So to do so, just run the following command in a terminal session: sudo yum install to set locale, defaulting to C.UTF-8ĬentOS-8 - AppStream 7.2 kB/s | 4.3 kB 00:00ĬentOS-8 - AppStream 601 kB/s | 5.8 MB 00:09ĬentOS-8 - Extras 2.5 kB/s | 1.5 kB 00:00ĬentOS-8 - Extras 3.5 kB/s | 8.1 kB 00:02 Therefore it is not complicated to install it on CentOS 8 and even RHEL 8. Redis on RHEL 8 is available on the AppStream repository.
So today you will learn how to install it.