一只单身猿
在 CentOS 6.5 上安装 Redis
alarm2018-07-24 faceyejinmo
使用RPM包的方式离线安装Redis
因Redis依赖于epel
以及jemalloc
,所以需先安装这两个RPM包
可到 https://centos.pkgs.org/ 下载所需包
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/Packages/r/redis-3.2.11-1.el6.x86_64.rpm
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/Packages/e/epel-release-6-8.noarch.rpm
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/Packages/j/jemalloc-3.6.0-1.el6.x86_64.rpm
yum install epel-release-6-8.noarch.rpm
yum install jemalloc-3.6.0-1.el6.x86_64.rpm
yum install redis-3.2.11-1.el6.x86_64.rpm
service redis start