Get Rewarded! We will reward you with up to €50 credit on your account for every tutorial that you write and we publish!

How to install Redis via Docker and Plesk

profile picture
Author
Mohammadr3z
Published
2023-03-08
Time to read
3 minutes reading time

Introduction

This tutorial explains how to install Docker via the Plesk control panel, and how to then use Docker to install Redis. This tutorial uses CentOS 7, however this should also work on other Linux systems.

Prerequisites

Step 1 - Installing Docker through the Plesk control panel

To get started, you must first install Plesk on your server. You can use the tutorial "Install Plesk on a Hetzner Cloud Server".

In the first step, enter the Plesk control panel. Then click on the menu item Extensions.

alt text

On the extensions page, search for "docker" in the search box, and select the Docker extensions.

alt text

Install the Docker Extensions and proceed to the second step.

Step 2 - Installing Redis via Docker

Connect to the server via SSH. If you can't do it via the CLI, you can just use PuTTY software.

Then, enter the following command and press enter

docker run --name redis -d -p 6379:6379 redis redis-server --requirepass "YOUR_PASSWORD"

In the YOUR_PASSWORD field, you must enter your custom password.

Step 3 - Check if Redis was installed via Docker

Log in to the Plesk control panel again. Select the Docker tab. Here you can see the created container.

alt text

Conclusion

Congratulations! Now you have installed Redis on Plesk control panel using Docker.

License: MIT
Want to contribute?

Get Rewarded: Get up to €50 in credit! Be a part of the community and contribute. Do it for the money. Do it for the bragging rights. And do it to teach others!

Report Issue
Try Hetzner Cloud

Get 20€ free credit!

Valid until: 31 December 2024 Valid for: 3 months and only for new customers
Get started
Want to contribute?

Get Rewarded: Get up to €50 credit on your account for every tutorial you write and we publish!

Find out more