Redis ===== Redis-Server ------------ Install Redis-Server for the system distribution. .. code:: console $ apt install redis-server | Redis-Server advises to set ``vm.overcommit_memory=1`` in the system conf file. | Edit the Redis config file and add the directive. .. code:: console $ nano /etc/sysctl.conf .. code:: none vm.overcommit_memory=1 | Check the section on GRUB for additional settings to be made for Redis-Server. | Once Redis has been installed, it can be checked by running the redis command line. .. code:: console $ redis-cli If redis server is running it will provide a prompt. Enter the following command to give information on the server. .. code:: console 127.0.0.1:6379> info Server # Server redis_version:6.0.7 redis_git_sha1:00000000 redis_git_dirty:0 redis_build_id:387167825cd3a846 redis_mode:standalone os:Linux 5.8.0-1-amd64 x86_64 arch_bits:64 multiplexing_api:epoll atomicvar_api:atomic-builtin gcc_version:10.2.0 process_id:704 run_id:9b651df1e6856f4dd2f6a7ca8b24d8e2cf965374 tcp_port:6379 uptime_in_seconds:986888 uptime_in_days:11 hz:10 configured_hz:10 lru_clock:7162515 executable:/usr/bin/redis-server config_file:/etc/redis/redis.conf io_threads_active:0 127.0.0.1:6379> If redis-cli provides an output similar to above, then all would appear good with Redis-Server.