From c08783e1790d6e6fe2c777618dfa8bfed332331e Mon Sep 17 00:00:00 2001 From: SharadKumar97 Date: Mon, 21 Sep 2020 10:28:48 -0500 Subject: [PATCH] Update docs to install Redis v4.0 or later Redis v4.0 or later is required to create superuser on Centos7. Otherwise it generates this error - redis.exceptions.ResponseError: Error running script (call to f_0605214935a9ffcd4b9e5779300302540ff08da4): @user_script:36: @user_script: 36: Unknown Redis command called from Lua script --- docs/installation/2-redis.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/docs/installation/2-redis.md b/docs/installation/2-redis.md index 20f0095d0..dc39a4a5f 100644 --- a/docs/installation/2-redis.md +++ b/docs/installation/2-redis.md @@ -14,13 +14,19 @@ ``` ### CentOS - +We will be installing Redis server via remi repo, as netbox requires Redis v4.0 or later. ```no-highlight -# yum install -y epel-release -# yum install -y redis +# yum -y install http://rpms.remirepo.net/enterprise/remi-release-7.rpm +# yum --enablerepo=remi install redis # systemctl start redis # systemctl enable redis ``` +Confirm if Redis v4.0 or later has been installed. + +``` + yum list installed | grep redis +redis.x86_64 6.0.8-1.el7.remi @remi +``` You may wish to modify the Redis configuration at `/etc/redis.conf` or `/etc/redis/redis.conf`, however in most cases the default configuration is sufficient.