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

  • 相关阅读:
    HTTP状态码
    HTTP详解教程 / HTTP 响应头信息 HTTP 响应头信息
    HTTP请求方法
    HTTP 消息结构
    HTTP 简介
    Session 工作原理
    CSS 布局
    css float 浮动
    CSS 布局
    css position定位
  • 原文地址:https://www.cnblogs.com/weaver1/p/2312704.html
Copyright © 2011-2022 走看看