Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 0 additions & 54 deletions tech/database/redis/about.md

This file was deleted.

54 changes: 54 additions & 0 deletions tech/database/valkey/about.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
---
title: Valkey
subsection: valkey
section: tech-database
description: In-memory data structure store, used as a database, cache and message broker
---

# Valkey

Valkey is a free and open source in memory data structure store forked from Redis. It is widely used as a database, in memory cache or a message broker.

## Quick start

To install Valkey on Fedora, run the following commands:

```console
$ sudo dnf install valkey # Install valkey cli and server
$ sudo systemctl start valkey # Initialize valkey server
```

To start valkey on boot, run

```console
$ sudo systemctl enable valkey
```

To test valkey-cli, run

```console
$ valkey-cli ping
PONG
```

## Configuring Valkey

The config file for Valkey is located at `/etc/valkey/valkey.conf`.

```console
$ sudo nano /etc/valkey/valkey.conf
```

Valkey should be always restarted after changing settings. Restart valkey by running

```console
$ sudo systemctl restart valkey
```

Secure valkey by enabling authentication. Add this line in `/etc/valkey/valkey.conf`

```console
requirepass <AuthPassword>
```

and after the Valkey server restarts, all clients must execute `AUTH <AuthPassword>` to be able to execute commands in Valkey.