我试图在Centos6.5 (x64)上安装Redis,行如下:
yum install redis但是我看到了下面的屏幕:
[root@NodeJs ~]# yum install redis
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: nl.mirror.eurid.eu
* epel: nl.mirror.eurid.eu
* extras: mirror.denit.net
* updates: nl.mirror.eurid.eu
Resolving Dependencies
--> Running transaction check
---> Package redis.x86_64 0:2.8.14-2.el7 will be installed
--> Processing Dependency: systemd for package: redis-2.8.14-2.el7.x86_64
--> Processing Dependency: systemd for package: redis-2.8.14-2.el7.x86_64
--> Processing Dependency: libjemalloc.so.1()(64bit) for package: redis-2.8.14-2.el7.x86_64
--> Running transaction check
---> Package jemalloc.x86_64 0:3.6.0-1.el7 will be installed
---> Package redis.x86_64 0:2.8.14-2.el7 will be installed
--> Processing Dependency: systemd for package: redis-2.8.14-2.el7.x86_64
--> Processing Dependency: systemd for package: redis-2.8.14-2.el7.x86_64
--> Finished Dependency Resolution
Error: Package: redis-2.8.14-2.el7.x86_64 (epel)
Requires: systemd
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest我如何解决这个问题?
发布于 2015-06-06 09:42:37
以下是我在CentOS 6.5上更新Redis (2.4.10)的成功经验。
上更新Redis
EPEL和REMI:sudo rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-版本-6-8 sudo rpm -Uvh http://rpms.remirepo.net/enterprise/remi-release-6.rpmREMI回购中的Redis版本:(截至2015年6月,版本为2.8.13) yum -enablerepo=remi info redisjemalloc回购中安装相关依赖项( EPEL ):sudo -enablerepo=epel install发布于 2015-05-12 08:57:26
EPEL redis软件包有点过时,在RHEL6上您可以使用Remi的存储库:http://rpms.famillecollet.com/。它们是最新的,也有3.0和2.8版本的最新版本。
查看这里,了解最新软件包的描述。
https://serverfault.com/questions/667857
复制相似问题