User:Lao/Drafts/Redis

From Gentoo Wiki
Jump to:navigation Jump to:search
This article is a stub. Please help out by expanding it - how to get started.


Installation

Kernel

KERNEL Enable support for <Software_title>
Write menuconfig instructions here.

USE flags

USE flags for dev-db/redis A persistent caching system, key-value, and data structures database

jemalloc Use dev-libs/jemalloc for memory management
selinux !!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occur
ssl Add support for SSL/TLS connections (Secure Socket Layer / Transport Layer Security)
systemd Enable use of systemd-specific libraries and features like socket activation or session tracking
tcmalloc Use tcmalloc from dev-util/google-perftools for allocations.
test Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)

Emerge

root #emerge --ask dev-db/redis

}}

Additional software

Configuration

Unix Socket

Instead of using a TCP/IP loopback, redis can be configured to use a unix socket instead.

In the redis.conf: unixsocket /run/redis/redis.sock unixsocketperm 770

mkdir /run/redis/ chown root:redis /run/redis chmod 770 /run/redis

Environment variables

  • VAR1
  • VAR2

Files

  • /etc/global_file_example - Global (system wide) configuration file.
  • ~/.local_file_example - Local (per user) configuration file.

Service

Usage

Invocation

user $cmd --help
(Paste command help output here.)

Troubleshooting

Removal

Unmerge

root #emerge --ask --depclean --verbose category/package

See also

External resources

  • (Link to external resources (outside the Wiki) using bullet points in this section. It is common for the information in this section to full sentences that are links.)

References