Install Memcached on Fedora 29/28, 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. [inttf_post_ad1] This guide explains howto install Memcached 1.5.10/1.4.17/1.4.36 stable version of distributed memory object caching system on Fedora 29/28/27/26 and CentOS / Red Hat (RHEL) 7.5/6.10. Fedora 29/28/27/26, CentOS 7/6 and Red Hat (RHEL) 7/6 has Memcached on default repos, so extra repositories is not needed. 1. Install Memcached 1.5.10/1.4.17/1.4.36 on Fedora 29/28/27/26, CentOS/Red Hat...

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

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

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

      • Hi Anurag,

        Could you post output of following commands:

        yum list available \*memcache\*
        uname -a
        lsb_release -a
    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)?

      • Hi Karel,

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

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

      • 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.

    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?

      • 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.

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

    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.

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

    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

1 2

Leave a Reply to JR Cancel reply

Your email address will not be published.

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

Exit mobile version