加入收藏 | 设为首页 | 会员中心 | 我要投稿 辽源站长网 (https://www.0437zz.com/)- 云专线、云连接、智能数据、边缘计算、数据安全!
当前位置: 首页 > 服务器 > 搭建环境 > Linux > 正文

Install Redis on CentOS 6.4--转

发布时间:2021-01-26 12:02:39 所属栏目:Linux 来源:网络整理
导读:h4 class="post_title"a href="http://thoughts.z-dev.org/2013/05/27/install-redis-on-centos-6-4/"gt;Install Redis on CentOS 6.4 source:http://thoughts.z-dev.org/2013/05/27/install-redis-on-centos-6-4/ We’re provisioning production machines

<h4 class="post_title"><a href="http://thoughts.z-dev.org/2013/05/27/install-redis-on-centos-6-4/"&gt;Install Redis on CentOS 6.4

source:http://thoughts.z-dev.org/2013/05/27/install-redis-on-centos-6-4/

We’re provisioning production machines today!

This means that I’m finding a lot of things that I did previously to make my life easier. We use Redis primarily to temporarily cache data retrieved from Riak and this dramatically?reduces?that amount of stress on our Riak cluster.

Unfortunately,Redis doesn’t (by default) have its own package in yum.

:(

The Hard Way

Like most freely distributed software,the process is pretty much the same: download,extract and compile.

This is what that looks like:

Unfortunately that keeps the binaries in /usr/local/bin and doesn’t include a init script (boo).

The Easy Way

Fortunately,there’s the REMI repository which packages common programs and distributes them. Let’s see what it looks like with that

This means that we don’t have to manually update Redis and that we can use the included init script to start,stop,and restart the service.

Just thought I’d throw that out there since this is a relatively annoying issue that’s pretty easy to solve.

(编辑:辽源站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读