How to install Redis via Docker and Plesk

0 Shares
0
0
0
0

Introduction

This tutorial explains how to install Docker via the Plesk control panel and how to use Docker to install Redis. This tutorial uses CentOS 7, but it should work on other Linux systems as well.

Prerequisites
  • Hetzner Cloud Server with Centos 7 pre-installed.
  • The Plesk control panel must be installed through the Plesk installation tutorial.

Step 1 – Install Docker via Plesk Control Panel

To get started, you first need to install Plesk on your server. First, log in to your Plesk control panel. Then click on the Extensions menu item.

On the Extensions page, search for “docker” and select Docker Extensions.

Install Docker Extensions and move on to step two.

Step 2 – Install Redis via Docker

Connect to the server via SSH. If you can't do it via CLI, you can just use PuTTY software and then type the following command and press enter.

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

 

Step 3 – Check if Redis is installed via Docker

Log back into your Plesk control panel. Select the Docker tab. Here you can see the created container.

Result

Congratulations! You have now installed Redis using Docker on your Plesk control panel.

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *

You May Also Like