forked from douban/beansdb
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathINSTALL
More file actions
51 lines (36 loc) · 687 Bytes
/
INSTALL
File metadata and controls
51 lines (36 loc) · 687 Bytes
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
Dependencies
============
beansdb require epoll on Linux, or kqueue on *BSD/Mac OS.
Installation
============
$ git clone https://github.com/douban/beansdb
$ cd beansdb
$ ./autogen.sh
or
$ # wget from github/douban/beansdb/
$ tar xvzf beansdb-X.Y.Z.tar.gz
$ cd beansdb-X.Y.Z
$ ./configure
$ make
$ sudo make install
Getting Started
===============
use "-h" option to get started.
Running Examples:
1. run as a single daemon
beansdb -p 7900 -H /data/beansdb -T 0 -v
2. test it
$ telnet localhost 7900
< set hello 0 0 5
< world
> STORED
< get hello
> VALUE hello 0 0 5
> world
> END
< get @
> VALUE @ 0 18
> hello 933489272 1
>
> END
Have fun :)