Install Redis on CentOS 6.4--转
2013-12-23 17:19
639 查看
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:
wget http://redis.googlecode.com/files/redis-2.6.13.tar.gz tar xzf redis-2.6.13.tar.gz cd redis-2.6.13 make
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 thatwget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm yum install redis -y
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.
相关文章推荐
- Install Redis on CentOS 6.4--转
- Install Redis On a server running CentOS
- remove and re-install mysql 5.6 on centOS 6.4
- Install rabbitmq on Centos6.4
- Install redis on CentOS6.5
- Install a GitLab CE Omnibus package on centos 6.4
- install mysql 5.6 from binary on CentOS 6.4
- Install Apache 2.2.15, MySQL 5.5.34 & PHP 5.5.4 on RHEL/CentOS 6.4/5.9 & Fedora 19-12 [转]
- how-to-install-redis-on-centos6.6-x86_64
- Install VNC Server On CentOS 6.4
- 如何在centos6.4上安装git How To Install Git on a CentOS 6.4 VPS
- Install Wine on CentOS 6.4
- install eventlet ,redis,dreque on centos
- RabbitMq install on Centos6.4
- install eventlet ,redis,dreque on centos
- How to install redis server on CentOS 7 / RHEL 7
- How to install snmpwalk snmpget on CentOS 6.4 6.3 5.9 Redhat RHEL Fedora
- How to install Redis 3.2 on CentOS 6 and 7
- Install Splunk 6.4 on CentOS 6 with non-root user
- [ZZ]Install Firefox 20 on Fedora 18/17, CentOS/Red Hat (RHEL) 6.4