Ubuntu12.04 Tokyo Cabinet and Tokyo Tyrant installation license, official site address: Tokyo Cabinet latest: http://fallabs.com/tokyocabinet/Tokyo Tyrant latest: http://fallabs.com/tokyotyrant/ II, in ubuntu12.04 installation, pay attention to the use of the root user. Installation Method: Install Tokyo Cabinet first, then install Tokyo Tyrant, the default installation can be, the command is as follows: Install Tokyo Cabinet: tar zxvf tokyocabinet-1.4.48.tar.gz cd tokyocabinet-1.4.48. /configure found there is no dependency package, install it well: apt-get install zlib1g-dev apt-get install libbz2-dev make makeinstall install Tokyo Tyrant: tar-xzvf tokyotyrant-1.1.41.tar.gz cd tokyotyrant-1.1.41. /configure -- prefix =/usr/local/tokyotyrant make install input ttserver, Display ERROR invalid socket pat H, ERROR invalid socket path. Now we need to execute its absolute path:/usr/local/tokyotyrant/bin/ttserver TT database installation is complete! L stop tokyotyrant (ttserver) ps-ef | grep ttserver find the process Number of ttserver and kill it, for example, kill-TERM 2159