|
|
9613bd |
Package %{scl_name} provides the Redis data store as a Software
|
|
|
9613bd |
Collection. For more information about Software Collections, see
|
|
|
9613bd |
scl(1). By installing the %{scl_name} collection, you will get
|
|
|
9613bd |
the set of packages to have a working Redis server.
|
|
|
9613bd |
|
|
|
9613bd |
Usage: scl enable %{scl} 'redis-cli'
|
|
|
9613bd |
|
|
|
9613bd |
Software Collections allows use of applications which are not located
|
|
|
9613bd |
in the filesystem root hierarchy but are present in an alternative
|
|
|
9613bd |
location, which is %{_scl_root} in case of the %{scl_name}
|
|
|
9613bd |
collection.
|
|
|
9613bd |
|
|
|
9613bd |
Redis is an open source (BSD licensed), in-memory data structure store,
|
|
|
9613bd |
used as database, cache and message broker. It supports data structures
|
|
|
9613bd |
such as strings, hashes, lists, sets, sorted sets with range queries,
|
|
|
9613bd |
bitmaps, hyperloglogs and geospatial indexes with radius queries.
|
|
|
9613bd |
|
|
|
9613bd |
Redis has built-in replication, Lua scripting, LRU eviction, transactions
|
|
|
9613bd |
and different levels of on-disk persistence, and provides high availability
|
|
|
9613bd |
via Redis Sentinel and automatic partitioning with Redis Cluster.
|
|
|
9613bd |
|
|
|
9613bd |
The %{?scl_prefix}redis package provides the redis and sentinel servers.
|
|
|
9613bd |
|
|
|
9613bd |
Redis server listens on local network soket (by default port 6379).
|
|
|
9613bd |
Sentinel server listens on local network soket (by default port 26379).
|
|
|
9613bd |
|
|
|
9613bd |
When working with %{scl_name} collection, use the "scl" utility (see
|
|
|
9613bd |
scl(1) for usage) to enable the scl environment properly.
|
|
|
9613bd |
|
|
|
9613bd |
Configuration for the %{scl_name} software collection is located under %{_sysconfdir}.
|
|
|
9613bd |
|
|
|
9613bd |
Examples:
|
|
|
9613bd |
scl enable %{scl_name} 'command --arg'
|
|
|
9613bd |
Run a specific command with argument --arg within %{scl_name} software collections
|
|
|
9613bd |
environment.
|
|
|
9613bd |
|
|
|
9613bd |
scl enable %{scl_name} 'redis-cli'
|
|
|
9613bd |
Run redis-cli from %{scl_name} software collection.
|
|
|
9613bd |
|
|
|
9613bd |
scl enable %{scl_name} bash
|
|
|
9613bd |
Run interactive shell where %{scl_name} software collection is enabled.
|
|
|
9613bd |
|
|
|
9613bd |
%if 0%{?rhel} >= 7
|
|
|
9613bd |
systemctl start %{?scl_prefix}redis
|
|
|
9613bd |
%else
|
|
|
9613bd |
service %{?scl_prefix}redis start
|
|
|
9613bd |
%endif
|
|
|
9613bd |
Starts the redis server from %{scl_name} software collection.
|
|
|
9613bd |
|
|
|
9613bd |
%if 0%{?rhel} >= 7
|
|
|
9613bd |
systemctl start %{?scl_prefix}redis-sentinel
|
|
|
9613bd |
%else
|
|
|
9613bd |
service %{?scl_prefix}redis-sentinel start
|
|
|
9613bd |
%endif
|
|
|
9613bd |
Starts the sentinel server from %{scl_name} software collection.
|
|
|
9613bd |
|