nginx and memcache - Ubuntu 10.14

I am trying to secure the memcache port as described in a few articles I have come across by

"On my CentOS box, I can do this by simply editing the

/etc/sysconfig/memcached

file, changing the line

OPTIONS=""

to

OPTIONS="-l 127.0.0.1"

"

But I am on an Ubunto 10.14 box and can not find that file. All the memcached files I did find do not have that OPTIONS="" option to edit. Does anyone know where I can find this mystery file?

Thanks,

Dave

2 Replies

The file is /etc/memcached.conf there is a line starting -l set it to -l 127.0.0.1 and then restart memcached.

Perfect!

Thanks for the help.

Dave

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct