-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathINSTALL
55 lines (38 loc) · 1.01 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
Dependencies
============
Before deploying Memcachedb, make sure the following packages are installed:
OpenLDAP 2.4.33 or later libmdb
-------------------------
http://www.openldap.org
How to install MDB:
$tar xvzf openldap-2.4.33.tgz
$cd openldap=2.4.33/libraries/libmdb
$make
$sudo cp mdb.h /usr/local/include
$sudo cp libmdb.* /usr/local/lib
libevent 1.3e or later
-------------------------
http://monkey.org/~provos/libevent/
How to install libevent:
$tar xvzf libevent-1.3e.tar.gz
$cd libevent-1.3e
$./configure
$make
$sudo make install
Load .so file by adding a line in /etc/ld.so.conf:
/usr/local/lib
Then, run 'ldconfig'.
Installation
============
$tar xvzf memcachedb-X.Y.Z.tar.gz
$cd memcachedb-X.Y.Z
$./configure --enable-threads
$make
$sudo make install
Getting Started
===============
use "-h" option to get started.
Running Examples:
1. run as a single daemon
memcachedb -p21201 -d -r -H /data1/21201 -N -v >/data1/21201.log 2>&1
Have fun :)