0 votes
in MemCached by
How to Install Memcached on Ubuntu?

1 Answer

0 votes
by

To install Memcached on Ubuntu, go to terminal and type the following commands −

$sudo apt-get update
$sudo apt-get install memcached

Confirming Memcached Installation

To confirm if Memcached is installed or not, you need to run the command given below. This command shows that Memcached is running on the default port 11211.

$ps aux | grep memcached

To run Memcached server on a different port, execute the command given below. This command starts the server on the TCP port 11111 and listens on the UDP port 11111 as a daemon process.

$memcached -p 11111 -U 11111 -u user -d

You can run multiple instances of Memcached server through a single installation.

Related questions

0 votes
asked Jun 9, 2020 in MemCached by DavidAnderson
0 votes
asked Jun 9, 2020 in MemCached by DavidAnderson
...