LexEVS 6.x安装教程Centos版

xiaoxiao2021-03-01  1

下载LexEVS 6.5.0  https://cbiit-download.nci.nih.gov/evs/LexEVS/v6.5/Release/LexEVS-install-6.5.0.FINAL.jar

创建数据库:CREATE DATABASE {数据库名} CHARACTER SET utf8 COLLATE utf8_general_ci;

安装jdk1.8.0_144-2000:1.8.0_144-fcs.x86_64

wget http://219.238.4.228/files/5009000005CDA520/download.oracle.com/otn-pub/java/jdk/8u144-b01/090f390dda5b47b9b721c7dfaa008135/jdk-8u144-linux-x64.rpm rpm -ivh jdk-8u144-linux-x64.rpm rpm -Uvh jdk-8u144-linux-x64.rpm

在vim /etc/profile 文件里写下如下配置:

JAVA_HOME=/usr/java/jdk1.8.0_144/ PATH=$JAVA_HOME/bin:$PATH CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar export JAVA_HOME export PATH export CLASSPATH

在图形模式下运行 java -jar LexEVS-install-6.5.0.FINAL.jar 安装

http://repo1.maven.org/maven2/mysql/mysql-connector-java/5.1.6/mysql-connector-java-5.1.6.jar 下载到/usr/local/LexGrid/LexEVS/6.5.0.FINAL/runtime/sqlDrivers目录

vi /usr/local/LexGrid/LexEVS/6.5.0.FINAL/resources/config/lbconfig.props 修改配置文件如下内容:

#DB_URL=jdbc:mysql://server.url/lexevs 改为 DB_URL=jdbc:mysql://localhost:3306/lexevs

#DB_DRIVER=com.mysql.jdbc.Driver  这句去掉前面的#

DB_USER=root DB_PASSWORD=密码

安装URI_Resolver-1.0.0步骤:

git clone https://github.com/NCIP/URI_Resolver.git

安装NetBeans IDE环境并以打开项目的方式加载URI_Resolver文件夹

在项目里的其他源src\main\resources打开uriresolver.properties文件,修改为:

db.driverClassName=com.mysql.jdbc.Driver

db.url=jdbc:mysql://localhost:3306/uriresolver

db.username=uriuser

db.password=uriuser

db.editable=true

log.level=3

log.filelocation=

user.properties文件增加用户:

cts2 mayo+nih cts abc123

在NetBeans里右键点击URI_Resolver项目选择清理并构建 找到URI_Resolver/target/URI_Resolver-1.0.0.war文件复制到tomcat下webapps目录,例如:

cp /Code/URI_Resolver/target/URI_Resolver-1.0.0.war /Code/apache-tomcat-9.0.0.M26/webapps/ /Code/apache-tomcat-9.0.0.M26/bin/startup.sh

安装MySQL 5.7并创建uriresolver数据库,然后重新配置MySQL,密码规则:

select @@validate_password_length; set global validate_password_length=1; set global validate_password_mixed_case_count=2; flush privileges;

CREATE USER 'uriuser'@'localhost' IDENTIFIED BY 'uriuser';

将src\main\resources\uriresolver.sql导入uriresolver数据库

转载请注明原文地址: https://www.6miu.com/read-3850131.html

最新回复(0)