Tokyo Cabinet和Tokyo Tyrant安装和测试

来源:互联网 发布:便携电脑推荐 知乎 编辑:程序博客网 时间:2024/05/16 14:40

主从配置:

http://www.littz.com/install-tokyo-tyrant-tokyo-cabinet.html


详细说明:

http://blog.csdn.net/starxu85/article/details/4457446


下载地址:

wget http://cloud.github.com/downloads/xurenlu/mc_list_patch_4_tokyotyrant/tokyocabinet-1.4.41.tar.gz

wget http://cloud.github.com/downloads/xurenlu/mc_list_patch_4_tokyotyrant/tokyotyrant-1.1.37.tar.gz

以下是整个过程

tar -xzf tokyotyrant-1.1.37.tar.gz  327  cd tokyocabinet-1.4.41  328  ll  329   tar -xzf tokyocabinet-1.4.41.tar.gz  330  ll  331  cd tokyocabinet-1.4.41  332  ./configure  333   make && make install  334  ll  335  cd ../  340  cd tokyotyrant-1.1.37  341   ./configure  342  make && sudo make install  343  pwd  344  cd ../  345  ll  346  find / -name ttserver  347  mkdir -p /ttserver/  348  chmod 777 -R /ttserver/  349  /usr/local/bin/ttserver -host 127.0.0.1 -port 11111 -thnum 8 -dmn -pid /ttserver/ttserver.pid -log /ttserver/ttserver.log -le -ulog /ttserver/ -ulim 128m -sid 1 -rts /ttserver/ttserver.rts /ttserver/database.tch  350  curl -X PUT http://127.0.0.1:11111/my_key -d "this is value"    351  curl http://127.0.0.1:11111/my_key  352  curl -X DELETE http://127.0.0.1:11111/my_key


0 0
原创粉丝点击