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
This commit is contained in:
SharadKumar97 2020-09-21 10:28:48 -05:00 committed by GitHub
parent 2bc524a2ee
commit c08783e179
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.