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 |
# http://torum.net/2010/01/kyotocabinet-alpha-release/ ulimit -u unlimited #zlib compression sudo apt-get install -y zlib1g-dev build-essential #lzma compression sudo apt-get install -y lzma liblzma-dev #lzo compression sudo apt-get install -y liblzo2-dev sudo apt-get remove -y libtokyocabinet-dbg libtokyocabinet-dev tokyocabinet-bin libtokyocabinet9 sudo apt-get install -y xz-utils #lua sudo apt-get remove -y lua5.2 liblua5.2-0 liblua5.2-0-dbg liblua5.2-dev sudo apt-get remove -y lua50 liblua50 liblua50-dbg liblua50-dev sudo apt-get install -y lua5.1 liblua5.1 liblua5.1-dev sudo apt-get install -y zlib1g zlib1g-dev sudo apt-get autoremove -y # kyoto cabinet build mkdir -p ~/build/kyoto cd ~/build/kyoto version="1.2.76" # download wget http://fallabs.com/kyotocabinet/pkg/kyotocabinet-$version.tar.gz # extract tar xvzf kyotocabinet-$version.tar.gz # build and install cd kyotocabinet-$version ./configure --enable-zlib --enable-lzo --enable-lzma make sudo make install #--Add /usr/local/lib path ---------------------- # make installs the library copies to /usr/local/lib # add /usr/local/lib into the /etc/ld.so.conf file # Also fixes this error # Error: libkyotocabinet.so.16: cannot open shared object file: No such file or directory # More sane default configurations - the default 50% free memory allocation is too much for me if [ "`sudo grep '/usr/local/lib' /etc/ld.so.conf`" == "" ] ; then sudo tee -a /etc/ld.so.conf <<"_EOF_" /usr/local/lib _EOF_ #sudo ldconfig -v sudo ldconfig |
Kyoto Cabinet – Performance Tests using python
Install Kyoto Cabinet
Install Python 2 Bindings ... Read more