| 29 | |
| 30 | Once complete, enter ''' \q ''' to exit the PostgreSQL shell. |
| 31 | |
| 32 | === Redis Installation === |
| 33 | |
| 34 | Redis is an in-memory key-value store which NetBox employs for caching and queuing. This section entails the installation and configuration of a local Redis instance. |
| 35 | Redis v4.0 or later required. |
| 36 | {{{ |
| 37 | # sudo apt install -y redis-server |
| 38 | }}} |
| 39 | |
| 40 | Before continuing, verify that your installed version of Redis is at least v4.0: |
| 41 | {{{ |
| 42 | # redis-server -v |
| 43 | }}} |
| 44 | 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. |