close Warning: Can't synchronize with repository "(default)" (/usr/local/svn/deb2-client does not appear to be a Subversion repository.). Look in the Trac log for more information.

Changes between Version 7 and Version 8 of DEBVisDicServer


Ignore:
Timestamp:
Oct 27, 2011, 12:53:35 PM (13 years ago)
Author:
Adam
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DEBVisDicServer

    v7 v8  
    11= DEBVisDic Server Setup =
    22
    3 To setup the server you need to install Ubuntu packages ''debserver-common'' and ''debserver-wordnet''. For the setup of the DEB Server common part, see [wiki:ServerSetup Server Setup guide].
     3To setup the server you need to install Ubuntu packages ''debserver-common'' and ''debserver-debvisdic''. For the setup of the DEB Server common part, see [wiki:ServerSetup Server Setup guide].
    44For detailed description of the DEB server administration interface, see [wiki:WebAdminInterface the Documentation for Web admin interface].
    55
     
    77
    88== Initial import of XML data ==
    9  * open console and go to directory /var/lib/deb-server/bin
    10  * run following command (wncode should be wn+[http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes language code]):
     9 * open https://''hostname'':8000 in your web-browser
     10 * default login/password is deb/deb (change it using the link ''change my password'')
     11 * go to 'dictionaries'
     12 * create new dictionary (wncode should be wn+[http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes language code])::
    1113{{{
    12 ./index_wn.rb --db-file=wncode.dbxml --code=wncode --name="My WordNet"  \
    13       --source-xml=/path/to/xml/file
     14   code: wncode
     15   name: My Wordnet
     16   class: WordNet
     17   root tag: SYNSET
     18   key: /SYNSET/ID
     19   packages (code/name): wncode1 / My WordNet
     20   click ''save''
    1421}}}
     22 * the interface will offer ''Database doesn't exist. Import from XML, or create empty.'' If you choose to import the dictionary, you need to upload the XML (in [WordNetFormat DEBVisDic format]) to the server and enter the path to XML file (in case of large wordnets, initial import can take hour or more)
    1523
    16 The data can be also imported in the [WebAdminInterface Web admin interface].
    1724
    1825== Service setup ==
    19 
    20  * open https://''hostname'':8000 in your web-browser
    21  * default login/password is deb/deb (change it using the link ''change my password'')
    2226 * go to ''services''
    2327 * create new service:
     
    3741 * open console and run (as root or using sudo)
    3842{{{
    39     /etc/init.d/debserver-common restart wordnet_services
     43    /etc/init.d/debserver-common restart debvisdic
    4044}}}
    41  * logfile is in /var/log/deb-server/wordnet_services.log
     45 * logfile is in /var/log/deb-server/debvisdic.log
     46 * you have to restart the service when you add new wordnet dictionary to debvisdic
    4247
    4348== Connecting from client ==