Installation and security Memcached Ubuntu 18.04

The following article will describe how in a very simple way to install memcached in Ubuntu 18.04 and secure it to listen locally.
Installation is simple let's get started.

At the beginning of the update repository list command:

The next step is to install the memcached and necessary packages:

Now we will protect it.

Centos 7
modify file

modifying:

na

Debian/Ubuntu
Check to see if the file

It has content:

If it does not, add it as follows, and if it is - we add only the tip:

Save and restart memcached.

What are these letters?

-l 127.0.0.1 He tells us that the memcached server to listen on only locally

-The 0 disables the UDP

How useful this post was?

Click on the star, to evaluate it!

Average grade / 5. number of votes:

So far, no votes! Be the first to rate this post.