zoukankan      html  css  js  c++  java
  • Centos中安装memcached

    Centos中安装memcached问题

     

    Centos中安装memcached问题

    项目需要研究memcached,首先是环境准备。查看官网安装说明:http://code.google.com/p/memcached/wiki/NewInstallFromPackage

    使用命令:

    1
    yum install memcached

    提示:

    1
    No package memcached available

    查看了下用户反馈信息,说是要安装redhat的EPEL包。
    参见:http://www.cyberciti.biz/faq/rhel-fedora-centos-linux-enable-epel-repo/
    首先去http://download.fedora.redhat.com/pub/epel/5/i386/查找最新的rpm包,比如http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
    然后:

    1
    2
    rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
    yum repolist

    将会出现:

    1
    epel                 Extra Packages for Enterprise Linux 5 -   enabled

    然后可以使用yum install memcached来安装memcached了。

    #service memcached start

    #chkconfig memcached on

    #yum intall php-pecl-memcached

  • 相关阅读:
    rsync
    SAMBA服务搭建
    top,job,user,file,alias
    FTP服务搭建
    shell_script2
    shell_script1
    shell_processing
    shell_advanced
    shell_basic
    docker搭建私有仓库遇到的坑 http: server gave HTTP response to HTTPS client
  • 原文地址:https://www.cnblogs.com/weaver1/p/2312704.html
Copyright © 2011-2022 走看看