If Not True Then False

Install Memcached on Fedora 25/24, CentOS/RHEL 7.3/6.9/5.11 - 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.4.15/1.4.17/1.4.29 stable version of distributed memory object caching...
Categories:

45 Comments

Leave a Comment

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

Input your comment.
help

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Input your name.

Anurag

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

reply Reply
JR

Hi Anurag,

Could you post output of following commands:


yum list available \*memcache\*

uname -a

lsb_release -a
reply Reply
Karel

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 Reply
JR

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 Reply
JR

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 Reply
Woody

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 Reply
JR

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 Reply
Lourdes

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 Reply
xqlee

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

reply Reply
rtaylor

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 Reply