-
Notifications
You must be signed in to change notification settings - Fork 1
Installation on Windows
Command prompt = CMD
Apache Jena/Fuseki 4 requires Java 11 JRE - use ie. https://adoptopenjdk.net/
-
Test the installation - open CMD and run:
java -version
-
Download Jena and Fuseki binary files https://jena.apache.org/download/index.cgi
- Apache Jena Fuseki - ie. apache-jena-fuseki-4.10.0.zip
- Apache Jena libraries - ie. apache-jena-4.10.0.zip
-
Unpack the distribution files to <JENA_HOME_DIR>, <FUSEKI_HOME_DIR>
-
Create a directory to store your data <FUSEKI_DATA_DIR>
-
Create/Set environmental (ENV) variables:
JENAROOT <JENA_HOME_DIR>
JENA_HOME <JENA_HOME_DIR>
FUSEKI_HOME <FUSEKI_HOME_DIR>
FUSEKI_BASE <FUSEKI_DATA_DIR>- open CMD and run:
setx /M JENAROOT c:\Programs\apache-jena-4.9.0
setx /M JENA_HOME c:\Programs\apache-jena-4.9.0
setx /M FUSEKI_HOME c:\Programs\apache-jena-fuseki-4.9.0
setx /M FUSEKI_BASE d:\apache-jena-data
-
Add to your PATH variable
;%JENA_HOME%\bat;%FUSEKI_HOME%
-
Modify fuseki-server.bat in your <FUSEKI_HOME_DIR>
Change:
java -Xmx1200M -jar fuseki-server.jar %*
to (use 4096 MB or more):
java -Xmx8192M -jar %FUSEKI_HOME%\fuseki-server.jar %*
-
Test the installation - open CMD and run:
fuseki-server --version
The output shall be:
Apache Jena Fuseki version ...
For production see Running Fuseki server
-
Download SQLite3 binary files at https://www.sqlite.org/download.html
-
use Precompiled Binaries for Windows for your platform
-
do not forget to download the sqlite-tools-... package
-
-
Unpack the files to your <SQLITE_HOME_DIR>
-
Create/Set environmental (ENV) variable
SQLITE_HOME <SQLITE_HOME_DIR>
Open CMD and run:
setx /M SQLITE_HOME C:\Programs\sqlite3
-
Add to your PATH variable
;%SQLITE_HOME%
-
Test the installation - open CMD and run:
sqlite3 --version
-
Download distribution file MTW-X.X.X.zip from Releases
-
Unpack dist file to <MTW_HOME_DIR>
-
Create/Set environmental (ENV) variable
MTW_HOME <MTW_HOME_DIR>
Open CMD and run (change the X.X.X to the current version):
setx /M MTW_HOME C:\Programs\MTW-X.X.X
Append to your PATH variable:
;%MTW_HOME%\tools
-
Set Admin credentials using set-mtw-admin.exe - open CMD and run:
set-mtw-admin --login <YOUR_ADMIN_LOGIN> --pwd <YOUR_ADMIN_PASSWORD>
-
Create the management database - open CMD and run:
cd %MTW_HOME%\instance\db sqlite3 mtw.db < mtw_schema.sql
-
Customize the config file - important values are marked with !
<MTW_HOME_DIR>\instance\conf\mtw-dist.ini
https://github.com/filak/MTW-MeSH/blob/master/flask-app/instance/conf/mtw-dist.ini
-
MTW Worker - open CMD and run:
mtw-worker.exe
-
MTW Server - open CMD and run:
mtw-server.exe --port 80 --relax
-
check the logs for any startup errors: <MTW_HOME_DIR>\instance\logs
-
open in your browser http://127.0.0.1/mtw/ and login with your Admin credentials [check the Admin login checkbox]
For production deployment see Running MTW as a service
Continue to Loading MeSH datasets