Install Memcached on Fedora 28/27, CentOS/RHEL 7.5/6.10 - Comment Page: 2

Memcached is a high-performance, distributed memory object caching system, generic in nature, but originally intended for use in speeding up dynamic web applications by alleviating database load. Memcached is a very useful also in other cases, than only dynamic web applications. This guide explains howto install Memcached 1.5.7/1.4.17/1.4.36 stable version of distributed memory object caching system on Fedora 28/27/26/25 and CentOS / Red Hat (RHEL) 7.5/6.10. Fedora 28/27/26/25, CentOS 7/6 and Red Hat (RHEL) 7/6 has Memcached on default repos, so extra repositories is not needed. [inttf_post_ad1] 1. Install Memcached 1.5.7/1.4.17/1.4.36 on Fedora 28/27/26/25, CentOS/Red Hat...

45 comments on “Install Memcached on Fedora 28/27, CentOS/RHEL 7.5/6.10 - Comment Page: 2

1 2
    1. dude !!! fantastic work man…
      you save my time :)

      Reply
    2. i am not get any package, first installation successful, but next command say … no package with php-pecl-memcache availabel … what i do ?

      Reply
      • Hi Anurag,

        Could you post output of following commands:

        
        yum list available \*memcache\*
        
        uname -a
        
        lsb_release -a
        
        Reply
    3. Did the following on Centos 6.4 (also APC installed):
      yum install memcached
      chkconfig memcached on
      service memcached start

      I have checked that Memcached is Running and Working. This seems to be ok.

      But now what? Is it ready to do its job? Do I have to configure anything else? Or is it just eating my RAM without doing anything use full (yet)?

      Reply
      • Hi Karel,

        Sounds okay, but could you tell how much is your memory limit and how much is it using RAM without doing anything?

        Reply
    4. Hi JR, do we need memcached in nginx+php-fpm environment setup?

      Reply
      • Hi Woody,

        Memcached is not required in nginx+php-fpm setup. You can use memcached with php or even with nginx, but it’s not needed if you don’t want to use it.

        Reply
    5. Hi JR, How about Varnish Cache? Unable to search any tutorial about Varnish Cache in your webpage, guess it is a good tool to implement it in apache or nginx website?

      Reply
      • Hi Woody,

        I actually have one draft post, about installing Varnish Cache. Varnish is excellent choice, but many times it’s little bit overkill (and it took a while to get it how very powerful VCL configuration language works) and I have seen people using it totally wrong places, Varnish is excellent if you serve lot of static content. I mean really lot, several thousands hits per second. And yes many users can say that it’s very useful also with small sites, but normally small sites doesn’t have enough resources run Varnish Cache as it should be.

        Many times using Nginx as reverse proxy is very good and much lighter choice. I have used Varnish with this site, but nowadays I prefer Nginx as page cache with conditional passing/purging and CloudFlare service, they have done awesome job and cache nicely all static content. Content delivery works really nice all over the world and it saves lot of bandwidth which is normally expensive.

        Reply
    6. Thank you very much JR.
      Hope to learn more from you in nginx.. :)

      Reply
    7. I get this error.

      Fatal error: Class ‘Memcache’ not found in /opt/lampp/htdocs/memcache/memcache_test.php on line 3

      But I’ve installed Memcached correctly and the php modules memcache and memcached.

      P.S. I’m using a xampp(for linux), running on a Fedora 17.

      Reply
    8. BY the way,can you tell me how to install WALN with rtl8188eus chip driver on CenntOS 7.1 kernel 3.10.0

      Reply
    9. STEP: 2.2 Fedora 24/23/22/21/20 and CentOS/Red Hat (RHEL) 7.2
      Adding 11211 to the firewall is done with

      firewall-cmd –permenent –zone=public –add-port=11211/tcp

      on Fedora 24

      Reply
1 2

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Close