安装Review Board的过程中,根据Review Board的官方网站说明,需要安装memcached服务,今天在centOS 5.4系统上安装Review Board时,利用yum install memcached来自动安装,但是得到的结果却是:
No package memcached available.
Nothing to do.
使用yum search memcached,得到的结果一样,也是No package memcached available。
然后通过vi /etc/yum.repos.d/CentOS-Base.repo,改变一些源,居然也没能找到memcached,为此感到头痛!
最后,通过google centOS5.4 install memcached,有一篇文章《How to install Memcached》,其中介绍到
First, you must grab the RPM that matches your OS:
CentOS 5 (64 bit):
|
su -c 'rpm -Uvh http://mirrors.kernel.org/fedora-epel/5/x86_64/epel-release-5-4.noarch.rpm' |
因此就先下载了epel-release-5-4.noarch.rpm包,然后使用了rpm -ivh epel-release-5-4.noarch.rpm安装该包。
然后使用yum search memcached,赫然发现了如下结果:

终于得到了memcached,使用
yum install memcached.x86_64
安装即可。
参考:http://boomshadow.net/tech/installs/how-to-install-memcached/ 《How to install Memcached》
浙公网安备 33010602011771号