on i4PACE(i for Personal Archiving and Creating Environment)
actions » SearchLogin 89 articles • 09 Sep 2010

Article with comments

Wednesday, 19 Aug 2009

permalink Installing Tokyo Cabinet and Tokyo Promenade

Started to install Tokyo Cabinet and Tokyo Promenade. Info is here (in Japanese). Planing to move this blog to Tokyo Promenade if I succeed.

Requirements for installation: Linux 2.4+, gcc, make, zlib, bzip2. Make sure they are installed. Fro zlib, do

> sudo apt-get install zlib1g

Download the source file:http://tokyocabinet.sourceforge.net/tokyocabinet-1.4.31.tar.gz. Untar

> sudo tar xzvf tokyocabinet-1.4.31.tar.gz
> cd tokyocabinet-1.4.31/

Configure

> ./configure

gave an error

configure: error: zlib.h is required

. Did

sudo apt-get install zlib1g-dev

Reran configure. Now

configure: error: bzlib.h is required

. Did

> sudo apt-get install libbz2-dev

. Dd

> make
> make check

Checking emits a lot of lines on the terminal screen, and takes some time. Feel even meticulous, but it's probably a good engineering practice to make sure everything works as it should. Need a coffee break :-O After probably thousans of lines, got

#================================================================
# Checking completed.
#================================================================

Did

> sudo make install

Got

#================================================================
# Thanks for using Tokyo Cabinet.
#================================================================

OK :-)

Now download TokyoPromenade here. See here for installation (in English). Untar

> sudo tar xzvf tokyopromenade-0.9.2.tar.gz

Did

> ./confiture
> make
> make check
> sudo make install

in seconds successfully. Create a base directory for CGI as

> sudo mkdir -p /usr/lib/cgi-bin/tokyopromenade

After setting up the Apache site file at /etc/apache2/sites-available/sitefile3, accessing here gave me this page
[[image: tokyopromenade.png]]
Simple and sufficient! I like it :->

OK. What next? See here, for the instructions (in Japanese). Well, it doesn't explain how to register a user :(( When tried with guest without a pasword, login was successful. But, how ca I create a user? Alright, I found it in a blog article %-| here. I.e., admin/nimda for administrator. The top page for admin is
[[image: tokyopromenade_1.png]]
Hitting the "users" there gets [[image: tokyopromenade_2.png]]

• Wrote Teru at 12:49 (edited 4×, last on 19 Aug 2009) | read 178× | Add comment

Comments (0)

No comments for this article yet.

Write a comment

Your name  
E-mail   (only visible for blog owner)
Homepage
How much is 3×5?   (protection against spam-bots)
Text:

[b] [i] [u] [tt] [center] [code] [quote] [url] [url=] [img] [@] [@@] [@:]
detailed help about markup
Process times: page=0.032 request=0.048 cpu=0.050