<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Redis on Zayn's Blog</title><link>https://blog.treesir.pub/tags/redis/</link><description>Recent content in Redis on Zayn's Blog</description><generator>Hugo -- gohugo.io</generator><language>zh-cn</language><managingEditor>yangzun@treesir.pub (Zayn)</managingEditor><webMaster>yangzun@treesir.pub (Zayn)</webMaster><copyright>2021-2026 Zayn</copyright><lastBuildDate>Tue, 01 Jun 2021 10:13:29 +0800</lastBuildDate><atom:link href="https://blog.treesir.pub/tags/redis/index.xml" rel="self" type="application/rss+xml"/><item><title>在 Kubernetes 中使用 localPv 部署 Gitlab</title><link>https://blog.treesir.pub/posts/kubernetes-deploy-gitlab/</link><pubDate>Tue, 01 Jun 2021 10:13:29 +0800</pubDate><author>yangzun@treesir.pub (Zayn)</author><guid>https://blog.treesir.pub/posts/kubernetes-deploy-gitlab/</guid><description>&lt;h2 class="relative group">环境说明
&lt;div id="环境说明" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#%e7%8e%af%e5%a2%83%e8%af%b4%e6%98%8e" aria-label="锚点">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;ul>
&lt;li>Kubernetes Version: &lt;code>v1.20.4&lt;/code>&lt;/li>
&lt;li>Postgres Version: &lt;code>12.7&lt;/code>&lt;/li>
&lt;li>Redis Version: &lt;code>5.0.9&lt;/code>&lt;/li>
&lt;/ul>
&lt;blockquote>
&lt;p>因在官方提供的 &lt;code>gitlab-ce&lt;/code> 镜像中，内置了 Postgres &amp;amp; Redis 的安装，在实际生产使用过程中，想让其连接使用外部统一的服务进行使用，来合理统一的管理，并有效降低对应资源使用率，这里使用 dokcer 非官方镜像: &lt;code>sameersbn/gitlab:13.12.1&lt;/code> 进行使用&lt;/p></description></item><item><title>使用 Docker 快速部署 Redis 服务器</title><link>https://blog.treesir.pub/posts/docker-quickstart-redis/</link><pubDate>Mon, 30 Nov 2020 10:35:47 +0800</pubDate><author>yangzun@treesir.pub (Zayn)</author><guid>https://blog.treesir.pub/posts/docker-quickstart-redis/</guid><description>&lt;p>Redis 是一个高性能的内存数据库，广泛用于缓存、会话存储和消息队列等场景。本文将介绍如何在 CentOS 系统上使用 Docker 容器快速部署 Redis 服务器，让您在几分钟内就能拥有一个可用的 Redis 环境。&lt;/p>
&lt;h2 class="relative group">环境准备
&lt;div id="环境准备" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#%e7%8e%af%e5%a2%83%e5%87%86%e5%a4%87" aria-label="锚点">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;p>在开始之前，请确保您的系统满足以下要求：&lt;/p>
&lt;ul>
&lt;li>&lt;strong>操作系统&lt;/strong>: CentOS 7 或更高版本&lt;/li>
&lt;li>&lt;strong>Docker 版本&lt;/strong>: 19.03.8 或更高版本&lt;/li>
&lt;li>&lt;strong>Redis 镜像&lt;/strong>: redis:5.0.4（本教程使用的版本）&lt;/li>
&lt;li>&lt;strong>系统权限&lt;/strong>: 需要 root 权限或 sudo 权限&lt;/li>
&lt;/ul>
&lt;h2 class="relative group">部署步骤
&lt;div id="部署步骤" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#%e9%83%a8%e7%bd%b2%e6%ad%a5%e9%aa%a4" aria-label="锚点">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;h3 class="relative group">第一步：系统优化配置
&lt;div id="第一步系统优化配置" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#%e7%ac%ac%e4%b8%80%e6%ad%a5%e7%b3%bb%e7%bb%9f%e4%bc%98%e5%8c%96%e9%85%8d%e7%bd%ae" aria-label="锚点">#&lt;/a>
&lt;/span>
&lt;/h3>
&lt;p>为了确保 Redis 能够稳定高效地运行，我们需要先对系统进行一些优化配置：&lt;/p></description></item></channel></rss>