Install Redis on CentOS 6.4--转
来源:互联网 发布:淘宝好评晒图怎么删掉 编辑:程序博客网 时间:2024/05/01 13:47
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.gztar xzf redis-2.6.13.tar.gzcd redis-2.6.13make
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
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpmwget http://rpms.famillecollet.com/enterprise/remi-release-6.rpmrpm -Uvh remi-release-6*.rpm epel-release-6*.rpmyum 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 MariaDB on CentOS 6.4
- Install VNC Server On CentOS 6.4
- Install Redis on Ubuntu
- install qpidd on centos
- Install opencv on Centos
- Install Composer on CentOS
- Install NTFS on CentOS
- centos install redis
- centos install redis phpredis
- centos 6.3 & redis install
- centos 6.5 install redis
- redis centos 安装 install
- Install redis on CentOS6.5
- install redis-server on centos7
- Install LLVM on CentOS-5
- Install Ceph on CentOS 5.5
- CentOS install Ruby On Rails
- RPM安装命令总结--转载
- How can I exclude directories from grep -R?
- mybatis_SQL映射(5)_缓存
- 主机访问虚拟机中linux上的web服务
- 解决 ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)异常
- Install Redis on CentOS 6.4--转
- 解决两台centos虚拟机Telnet服务无法联机的问题
- linux主机间复制文件
- 清除linux缓存命令
- CATransition的动画效果类型及实现方法
- 火狐浏览器修改userAgent
- occlusion area遮挡区域
- url rewrite优化url的可读性
- tar exclue文件夹