Skip to content

A project to adapt vithesaurus to greek language in order to enrich the Greek thesaurus for LibreOffice

Notifications You must be signed in to change notification settings

apsegian/vithesaurus-el

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

How to set up vithesaurus on ubuntu server 12.04

  1. Install tomcat6 and MySQL:

    sudo apt-get install tomcat6 tomcat6-admin mysql-server libmysql-java

    I 'm assuming that you use password "thesaurus" for the root mysql user (of course in reality you will use a better one).

  2. Setup tomcat6 and mysql:

    sudo chown -R root:tomcat6 /var/lib/tomcat6 mysql -uroot -pthesaurus

    create database vithesaurus; grant all privileges on vithesaurus.* to 'vithesaurus'@'localhost'
    identified by 'vithesaurus';

  3. Install Grails 1.3.9

    sudo apt-get install python-software-properties sudo add-apt-repository ppa:groovy-dev/grails sudo apt-get update sudo apt-get install grails-1.3.9

  4. Install git and get the code (if you don't have it already)

    sudo apt-get install git git clone git://github.com/freegreek/vithesaurus-el cp /usr/share/java/mysql.jar vithesaurus-el/vithesaurus/lib

  5. Download jforumsecuresso and put it in the codebase

    sudo apt-get install unzip wget http://www.smartkey.co.uk/downloads/jforumsecuresso-1.0-dist.zip unzip jforumsecuresso-1.0-dist.zip cp jforumsecuresso-1.0/dist/jforumsecuresso-1.0.jar vithesaurus-el/vithesaurus/lib/

  6. Build the war:

    cd vithesaurus-el/vithesaurus ; grails war

  7. Install

    Edit /etc/tomcat6/tomcat-users.xml as needed for manager gui access

    sudo cp vithesaurus-1.2.0.war /var/lib/tomcat6/webapps sudo service tomcat6 restart

  8. Open http://localhost:8080 Enter the admin interface (username/password = whatever you set in tomcat-users.xml)

    Start the vithesaurus application.

  9. Create the in-memory database

    curl -I http://localhost:8080/vithesaurus-1.2.0/synset/createMemoryDatabase

  10. Set the vithesaurus.properties (site URL etc)

    Edit /var/lib/tomcat6/webapps/vithesaurus-1.2.0/WEB-INF/classes/vithesaurus.properties

  11. Profit! (browse to http://localhost:8080/vithesaurus-1.2.0/)

About

A project to adapt vithesaurus to greek language in order to enrich the Greek thesaurus for LibreOffice

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published