|
| 1 | +--- |
| 2 | +myst: |
| 3 | + html_meta: |
| 4 | + description: 'With Composer, you can easily install, update or remove dependencies. |
| 5 | + Read here how to use Composer 2 on our Hypernode platform. ' |
| 6 | + title: How to use Componsor 2 on Hypernode? |
| 7 | +redirect_from: |
| 8 | + - /en/support/solutions/articles/48001184546-how-to-use-composer-2-on-your-hypernode/ |
| 9 | +--- |
| 10 | + |
| 11 | +--- |
| 12 | +myst: |
| 13 | + html_meta: |
| 14 | + description: 'In this article we will explain how to use Valkey on Hypernode. ' |
| 15 | + title: How to use Valkey? | Hypernode |
| 16 | +redirect_from: |
| 17 | + - /en/hypernode/tools/how-to-use-valkey-on-hypernode/ |
| 18 | +--- |
| 19 | + |
| 20 | +<!-- source: https://support.hypernode.com/en/hypernode/tools/how-to-use-valkey-on-hypernode/ --> |
| 21 | + |
| 22 | +# How to use Valkey on your Hypernode |
| 23 | + |
| 24 | +This article explains how to use Valkey on our Hypernode platform. |
| 25 | + |
| 26 | +## What is Valkey? |
| 27 | + |
| 28 | +Valkey is a Redis-compatible in-memory store. On Hypernode, **Valkey-8** is available on Debian Bookworm single-node setups. |
| 29 | +Valkey is supported by the latest Magento releases and you don't need to make any configuration changes within Magento when switching from Redis to Valkey. |
| 30 | + |
| 31 | + |
| 32 | +## Changing from Redis to Valkey |
| 33 | + |
| 34 | +Your Hypernode is configured with Redis by default. |
| 35 | +Changing from Redis to Valkey is pretty easy on Hypernode. You can use the `hypernode-systemctl` command-line tool to change from Redis to Valkey. |
| 36 | + |
| 37 | +```console |
| 38 | +app@levka6-appname-magweb-cmbl:~$ hypernode-systemctl settings valkey_enabled true |
| 39 | +Operation was successful and is being processed. Please allow a few minutes for the settings to be applied. Run 'livelog' to see the progress. |
| 40 | +``` |
| 41 | + |
| 42 | +It may take a few minutes for the changes to be applied. You can monitor the progress by running `hypernode-log`. |
| 43 | +Once the process is complete, Valkey will be enabled and Redis will be disabled on your Hypernode. |
| 44 | + |
| 45 | +## Using Valkey tools |
| 46 | + |
| 47 | +Redis comes by default with a bunch of useful tools pre-installed on Hypernode, like `redis-cli` and `redis-benchmark`. |
| 48 | +Once you have switched to Valkey, you can use the `valkey-cli` and `valkey-benchmark` tools instead. |
| 49 | +However, to make it even more easy, we made sure that the `redis-cli` and `redis-benchmark` commands are symlinked to their Valkey counterparts when Valkey is enabled. |
| 50 | +In this way you can keep using the same commands you are used to. |
| 51 | + |
| 52 | +## How to configure Valkey in Magento 2 |
| 53 | + |
| 54 | +The configuration for Valkey is the same as for Redis. |
| 55 | +You can follow our [Magento 2 Redis configuration guide](../../ecommerce-applications/magento-2/how-to-configure-redis-for-magento-2.md) to configure Valkey for Magento 2. |
0 commit comments