/
README
81 lines (50 loc) · 2.01 KB
/
README
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
Dolomite
Getting started with your Dolomite foundation
---------------------------------------------
- Install the virtualenv python package on your machine
easy_install virtualenv
OR
sudo easy_install virtualenv
- Download create_virtualenv.sh
( http://github.com/cccarey/dolomite/raw/master/create_virtualenv.sh )
- Execute create_virtualenv.sh in a place where you want your
environment, e.g. /home/youruser
cd /home/youruser
./create_virtualenv.sh
Note: this creates a directory called dolomite-env at the spot
where you run the script.
- Activate your dolomite foundation environment with the command:
source dolomite-env/bin/activate
- Start local memcached daemon:
start-memcached
- Test local memcached daemon:
test-memcached
- When done, you can deactivate the dolomite foundation environment:
deactivate
Other tools available in this repository:
Ubuntu JEOS on VMWare
---------------------
If running on Ubuntu JEOS ( http://www.ubuntu.com/products/whatisubuntu/serveredition/jeos )
on VMWare. Use the install/install_openvmtools.sh script to install the fast ethernet
and other VMWare tools
Quick Start:
- Download install/install_openvmtools.sh script from github.com
- Run script
sudo ./install_openvmtools.sh
Note: script currently reboots the image at the end.
MemcacheDB
---------------------
Install script for Ubuntu 8.10
Script installs depedency packages, downloads latest SVN version of
memcachedb from http://memcachedb.googlecode.com/svn/trunk/ , compiles
and installs it.
Quick Start:
- Download install/install_memcachedb.sh script from github.com
- Run script
sudo ./install_memcachedb.sh
- Run memcachedb as daemon process
sudo su -
memcachedb -p21201 -u root -d -r -H /home/ccarey/memcachedb/testenv -N -v >/var/log/memcachedb 2>&1
exit
- Run the benchmark script - ./memcache/tools/mcben.py
- Run the tests - ./memcache/tools/mdbtest.py (2 tests currently fail out of the box)