Redis Installation under Centos #4410

Closed
opened 2025-12-29 18:35:45 +01:00 by adam · 1 comment
Owner

Originally created by @Lon1 on GitHub (Dec 26, 2020).

Change Type

[X ] Addition
[ ] Correction
[ ] Deprecation
[ ] Cleanup (formatting, typos, etc.)

Area

[X ] Installation instructions
[ ] Configuration parameters
[ ] Functionality/features
[ ] REST API
[ ] Administration/development
[ ] Other

It appears that you need to install the EPEL package first on Centos as described in https://www.digitalocean.com/community/tutorials/how-to-install-secure-redis-centos-7

Proposed Changes

Centos
Before we can install Redis, we must first add Extra Packages for Enterprise Linux (EPEL) repository to the server’s package lists. EPEL is a package repository containing a number of open-source add-on software packages, most of which are maintained by the Fedora Project.

We can install EPEL using yum:

sudo yum install epel-release

Once the EPEL installation has finished you can install Redis and add to start on boot:

sudo yum install -y redis
sudo systemctl start redis
sudo systemctl enable redis

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.

Originally created by @Lon1 on GitHub (Dec 26, 2020). <!-- NOTE: IF YOUR ISSUE DOES NOT FOLLOW THIS TEMPLATE, IT WILL BE CLOSED. Please indicate the nature of the change by placing an X in one of the boxes below. --> ### Change Type [X ] Addition [ ] Correction [ ] Deprecation [ ] Cleanup (formatting, typos, etc.) ### Area [X ] Installation instructions [ ] Configuration parameters [ ] Functionality/features [ ] REST API [ ] Administration/development [ ] Other <!-- Describe the proposed change(s). --> It appears that you need to install the EPEL package first on Centos as described in https://www.digitalocean.com/community/tutorials/how-to-install-secure-redis-centos-7 ### Proposed Changes Centos Before we can install Redis, we must first add Extra Packages for Enterprise Linux (EPEL) repository to the server’s package lists. EPEL is a package repository containing a number of open-source add-on software packages, most of which are maintained by the Fedora Project. We can install EPEL using yum: sudo yum install epel-release Once the EPEL installation has finished you can install Redis and add to start on boot: sudo yum install -y redis sudo systemctl start redis sudo systemctl enable redis 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.
adam closed this issue 2025-12-29 18:35:45 +01:00
Author
Owner

@jeremystretch commented on GitHub (Dec 28, 2020):

The installation instructions are for CentOS 8.2. We no longer maintain documentation for earlier releases.

@jeremystretch commented on GitHub (Dec 28, 2020): The installation instructions are for CentOS 8.2. We no longer maintain documentation for earlier releases.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#4410