Print Friendly  .  About this website   .  Search 

 

 

 

Index Data  >  ⁠Keystone DLS (TKL) (NO LONGER BEING ACTIVELY DEVELOPED)  >  Keystone Administration  >  Installing the Sample Portal

Installing the Sample Portal

A sample portal called Bibliotheca can currently be found at the URL bibliotheca.

Get the basic portal and unpack it in the HTML root of the web server, or any other convenient directory acessible by the web server. It will create sub directory bibliotheca-1.0, which you will probably wish to access by a symlink bibliotheca. Make sure that this directory and its subdirectories are writable by the user of the web server - often nobody. On Debian, the web server user is www-data. Check your Apache configuration for details.

The semi-structured XML databases bundled with the portal must be indexed before the search engine can use them. Indexing is done in the root directory of the portal (in this case, the bibliotheca directory) by issuing the following three commands as the user the web server runs as:

 zebraidx -l db/server.log -c db/zebra.cfg init
 zebraidx -l db/server.log -c db/zebra.cfg update articles help links news suggest
 zebraidx -l db/server.log  -c db/zebra.cfg commit
      

The init command is only used once, at the very first time when a new portal is created. The update and commit commands are used whenever new documents have been added to the portal.