NIH | National Cancer Institute | NCI Wiki  

For the fastest start you can use a VKC Amazon Machine Instance in the cloud. This quick start, however, is 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. Fro Linux you will need to extrapolate from these or go to the full LexEVS 6.x Installation Guide.

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.

cd "\Program Files\MySQL\MySQL Server 5.6"
write my.ini
innodb_flush_log_at_trx_commit=0

3. Check to see if the MySQL service is running on Windows or a process is running on Linux for MySQL

None

4. Log into MySQL as that user and create a database named lexevs65 with UTF-8 character encoding

mysql -u root -plexevs CREATE DATABASE lexevs65 CHARACTER SET utf8 COLLATE utf8_general_ci;quit

5. Create a user with permissions to create, update and delete tables and databases or use the root user created during install.

None

6. Download the GUI Installer for LexEVS Local Runtime to your desktop. Our local directory example is C:\scratch.

None

7. Execute the jar file (double-click or by command) and click through pages until you get to "Select The Installation Path".

java -jar c:\scratch\LexEVS-install-6.5.0.6.jar

8. Change the install path to C:\LexEVS\6.5 or /home/{your user}/LexEVS/6.5 and press next. This is

{LEXEVS_HOME}
C:\LexEVS\6.5

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 down to the section marked Database Configuration and change the following:
  2. Uncomment DB_URL starting with jdbc:mysql and replace with jdbc:mysql://localhost/lexevs65
  3. Make sure the driver designate for MySQL is uncommented.
  4. Replace values for DB_USER and DB_PASSWORD with those for the MySQL user created above.
  5. Save the file.
cd c:\LexEVS\6.5\resources\config
write lbconfig.props
DB_URL=jdbc:mysql://localhost/lexevs65
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: Mysql driver mysql-connector 5.1.6.

c:\LexEVS\6.5\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.

cd c:\LexEVS\6.5\test
TestRunner.bat -v

14. Install fixes.
Check the download files page for any fixes that might update this install.

None

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.x Installation Guide and make adjustments to configurations and hardware as necessary.