Arthor Documentation for Future Developer

From DISI
Revision as of 22:48, 16 December 2019 by Jyoung (talk | contribs)
Jump to navigation Jump to search

Written by Jennifer Young on December 16, 2019

Install and Set Up on TomCat

Arthor currently runs on n-1-136, which runs CentOS Linux release 7.7.1908 (Core). You can check the version of CentOS with the following command

    cat /etc/centos-release

Check your current version of Java with the following command:

   java -version

On n-1-136 we are running openjdk version "1.8.0_222", OpenJDK Runtime Environment (build 1.8.0_222-b10), and OpenJDK 64-Bit Server VM (build 25.222-b10, mixed mode) If Java is not installed, install it using yum

I followed this link to install TomCat on CentOS 7 https://linuxize.com/post/how-to-install-tomcat-9-on-centos-7/

Open port for Arthor

In order for Arthor to be usable in the browser, the port you wish to run it on must be opened. https://www.thegeekdiary.com/how-to-open-a-ports-in-centos-rhel-7/

Setting environment variables for TomCat Server

Set the environment variables in the setenv.sh file. Note: Be sure to edit the file in the directory corresponding to the latest version of TomCat. As of December 2019, we are running 9.0.27 on n-1-136.

  vim  /opt/tomcat/apache-tomcat-9.0.27/bin/setenv.sh

Set the path the arthor.cfg file as the ARTHOR_CONFIG environment variable in this file

  export ARTHOR_CONFIG=/usr/local/tomcat/arthor.cfg