Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I did this:

sudo yum install memcached


sudo pecl install memcache

then I restarted memcache (which actually only started it) with this:

sudo /sbin/service memcached restart

i have no idea if it will start when I reboot. How do i set that up?

also is there any way to set a password on memcache? I've limited it to by editing /etc/sysconfig/memcached

and adding this line

share|improve this question

You can set memcached (or most other services with an init script) to start at boot with a command such as:

chkconfig memcached on
share|improve this answer

man chkconfig

In that manpage, there are options to list the current status and to enable it at runtime.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.