Skip to content

Instantly share code, notes, and snippets.

@romanitalian
Last active April 29, 2021 19:35
Show Gist options
  • Save romanitalian/b4ce305ec0c4f2f9e2e399e291d523bb to your computer and use it in GitHub Desktop.
Save romanitalian/b4ce305ec0c4f2f9e2e399e291d523bb to your computer and use it in GitHub Desktop.

UBUNTU

Install memcached on UBUNTU

$ sudo apt install memcached
$ sudo apt install libmemcached-tools

Restart memcached:

$ sudo systemctl restart memcached

Start memcached:

$ sudo systemctl start memcached

Stop:

$ sudo systemctl stop memcached

This is how you can see the memcached logs:

$ sudo journalctl -u memcached

WSL (Windows + Linux)

$ sudo apt install memcached

$ sudo service memcached status
$ sudo service memcached start

$ sudo service memcached stop
$ sudo service memcached status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment