Installation of memcached under Ubuntu

179 people read Comment(0) Collection Report

1, the installation of libevent

Libevent is an event triggered network library, the memcached operation depends on the library, so you need to install the library:

VisitHttp://, access to the source code to install the package (I use libevent-2.0.13-stable.tar.gz), the decompression, CD To libevent-2.0.13-stable directory,

Executive./configure (this step should be a configuration path environment variable what, not too clear, have time to study this script), then is make, install make can be

2, the installation of memcached

Http:// download the installation package (I use the memcached-1.4.20.tar.gz), to extract, CD to memcached-1.4.20,Executive./configure, then make,

Install make is OK.

3, verify the installation is successful

Execute -d -m 256M -p memcached 12345

-d is the start of the guardian process (background operation)

-m specified memory size

-p specify the service port number

If you are using root users, plus root -u

Copyright statement: This article is the original article of the main Bo, without the permission of the owner.

Guess what you're looking for.
View comments
* above the user's comments only represent their personal views, do not represent the views or position of the CSDN website
    Personal data
    • Visit3849 times
    • Integral:186
    • Grade
    • Rank:Miles away
    • Original15
    • Reprint:0
    • Translation:0
    • Comment:5
    Article classification
    Latest comments