NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Scrollbar
iconsfalse

...

Page info

...

title
title

What is a quick start? – a single path of installation steps that should allow you to quickly get an instance of LexEVS Local Runtime up and running. The sample commands are from a Windows install. You can cut and paste them to a command line in order to run them.

Step

Windows Commands

1. Install the MySQL version listed as acceptable on the prerequisite software listing accepting all default settings.
If you will copy/paste the commands below then use a password of lexevs.

None

2. If this is a windows install, after the install is complete, add a line or change the value in my.ini or my.cnf for innodb_flush_log_at_trx_commit

...

to

...

0.

...

Code Block
cd "\Program Files\MySQL\MySQL Server 5.0"
write my.ini
innodb_flush_log_at_trx_commit=0 

...

3.

...

Create

...

a

...

user

...

with

...

permissions

...

to

...

create,

...

update

...

and

...

delete

...

tables

...

and

...

databases

...

or

...

use

...

the

...

root

...

user

...

created

...

during

...

install.

...

None

4.

...

Log

...

into

...

MySQL

...

as

...

that

...

user

...

and

...

create

...

a

...

database

...

named

...

lexevs60

...

with

...

UTF-8

...

character

...

encoding

...

Code Block
mysql -u root -plexevs CREATE DATABASE lexevs60 CHARACTER SET utf8 COLLATE utf8_general_ci;quit

...

5.

...

Check

...

to

...

see

...

if

...

the

...

MySQL

...

service

...

is

...

running

...

on

...

Windows

...

or

...

a

...

process

...

is

...

running

...

on

...

Linux

...

for

...

MySQL

...

None

6.

...

Download

...

the

...

...

...

...

...

...

...

to

...

your

...

desktop

...

None

7.

...

Double

...

click

...

the

...

jar

...

file

...

and

...

click

...

through

...

pages

...

until

...

you

...

get

...

to

...

"Select

...

The

...

Installation

...

Path".

...

Code Block
java -jar c:\scratch\LexEVS-install-6.0.jar

...

8.

...

Change

...

the

...

install

...

path

...

to

...

C:\LexEVS\6.0

...

or

...

\home

...

{your

...

user}\LexEVS\6.0

...

and

...

press

...

next.

...

This

...

is

...

Code Block

...

{LEXEVS_HOME}

...

Code Block
C:\LexEVS\6.0

...

9.

...

Accept

...

the

...

remaining

...

default

...

install

...

options.

...

None

10.

...

Click

...

next

...

and

...

exit

...

when

...

complete.

...

None

11.

...

Navigate

...

to

...

the

...

install

...

directory

...

{LEXEVS_HOME}

...

and

...

go

...

to

...

folder

...

resources/config

...

and

...

open

...

the

...

lbconfig.props

...

file

...

for

...

editing.

...

  1. Scroll

...

  1. down

...

  1. to

...

  1. the

...

  1. section

...

  1. marked

...

  1. Database

...

  1. Configuration

...

  1. and

...

  1. change

...

  1. the

...

  1. following:

...

  1. Uncomment

...

  1. DB_URL

...

  1. starting

...

  1. with

...

  1. jdbc:mysql

...

  1. and

...

  1. replace

...

  1. with

...

  1. jdbc:mysql://localhost/lexevs60

...

  1. Make

...

  1. sure

...

  1. the

...

  1. driver

...

  1. designate

...

  1. for

...

  1. MySQL

...

  1. is

...

  1. uncommented.

...

  1. Replace

...

  1. values

...

  1. for

...

  1. DB_USER

...

  1. and

...

  1. DB_PASSWORD

...

  1. with

...

  1. those

...

  1. for

...

  1. the

...

  1. MySQL

...

  1. user

...

  1. created

...

  1. above.

...

  1. Save

...

  1. the

...

  1. file.

...

Code Block
cd c:\LexEVS\6.0\resources\config
write lbconfig.props
DB_URL=jdbc:mysql://localhost/lexevs60
DB_DRIVER=com.mysql.jdbc.Driver
DB_USER=root
DB_PASSWORD=lexevs 

...

12.

...

Navigate

...

to

...

the

...

runtime/sqlDrivers

...

folder

...

and

...

download

...

to

...

it

...

the

...

MySQL

...

driver

...

located

...

here:

...

...

...

...

...

.

Code Block
c:\LexEVS\6.0\runtime\sqlDrivers

...

13.

...

You

...

can

...

now

...

test

...

your

...

configuration

...

by

...

either

...

navigating

...

to

...

the

...

test

...

directory

...

and

...

running

...

TestRunner,

...

or

...

by

...

using

...

LoadSampleData

...

in

...

the

...

examples

...

directory.

...

Code Block
cd c:\LexEVS\6.0\test
TestRunner.bat -v

...

If you have any errors, you should check values in the configuration file to make sure they are correct or return to the install guide for full instructions.

If you want full performance and the ability to load and access larger terminologies, read the full LexEVS 6.0 Installation Guide and make adjustments to configurations and hardware as necessary.

Scrollbar
iconsfalse