Exhibit SourceExhibit is nice, and could be customized to my needs. So, decided to download a source code from here.
cd /usr/local/var svn checkout http://simile.mit.edu/repository/exhibit/branches/2.0 exhibit
downloaded the source code. Oops, pretty big, over 38MB
To run Exhibit on the server,
cd exhibit run
will start the Jetty server included in the code.
Got an error. Need to install java. Ran
sudo apt-get install sun-java6-jre
and installed the recommended packages, too:
sudo apt-get install equivs binfmt-support sun-java6-plugin ia32-sun-java6-plugin sun-java6-fonts ttf-baekmuk ttf-unfonts ttf-unfonts-core ttf-kochi-gothic ttf-sazanami-gothic ttf-kochi-mincho ttf-sazanami-mincho ttf-arphic-uming libmyodbc odbc-postgresql libct1
These days, the repository server in Japan is very slow
Need a break.
Gash, the terminal shows
![[[image: sun-java6-bin_DLJ.png]]](/frog/files/Teru/sun-java6-bin_DLJ.png)
Donno what key should be hit to say Ok
After some trial and errors, found TAB key works
Finished installing java (didn't installed the recommended packages yet), and ran
./run &
The Jetty server started successfully.
After configuring my reverse-proxy server,http://exhibit.i4pace.net/exhibit/site/index.html showed the cover page for Exhibit. When running an example, got an error
![[[image: googlemaps_registration_key_request.png]]](/frog/files/Teru/googlemaps_registration_key_request.png)
Well, need a key for displaying a googlemap... Got a key for http://exhibit.i4pace.net from Google
ABQIAAAA5rx0fP0jKPZGPYbWqbfu9xRp-edaKq-jRT1P7zhC_QXpGlaTbBQIYLZdNtFqV7rUKyzjYTgpmci34Q
and edited presidents.html in /usr/local/var/exhibit/src/webapp/site/examples/presidents as follows:
<!-- google map key for http://127.0.0.1:8888/ -->
<script src="http://exhibit.i4pace.net/exhibit/src/webapp/extensions/map/map-extension.js?gmapkey=ABQIAAAA5rx0fP0jKPZGPYbWqbfu9xRp-edaKq-jRT1P7zhC_QXpGlaTbBQIYLZdNtFqV7rUKyzjYTgpmci34Q" type="text/javascript"></script>Worked!
Changed the reference to API in presidents.html at /usr/local/var/exhibit/src/webapp/site/examples/presidents as
<script href="http://exhibit.i4pace.net/exhibit/api/exhibit-api.js?bundle=false" type="text/javascript"></script>
Installed ant
sudo apt-get install ant
Ran
cd /usr/local/var/exhibit ant
Past midnite... Sigh and rest.
• Wrote Teru at 22:09 (edited 6×, last on 03 May 2008) | read 153× | Add comment