mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-27 02:48:38 -06:00
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:
parent
2bc524a2ee
commit
c08783e179
@ -14,13 +14,19 @@
|
|||||||
```
|
```
|
||||||
|
|
||||||
### CentOS
|
### CentOS
|
||||||
|
We will be installing Redis server via remi repo, as netbox requires Redis v4.0 or later.
|
||||||
```no-highlight
|
```no-highlight
|
||||||
# yum install -y epel-release
|
# yum -y install http://rpms.remirepo.net/enterprise/remi-release-7.rpm
|
||||||
# yum install -y redis
|
# yum --enablerepo=remi install redis
|
||||||
# systemctl start redis
|
# systemctl start redis
|
||||||
# systemctl enable 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.
|
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.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user