Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

This guide describes how to install a new TermWeb installation on Linux. 

Installing Java

TermWeb requires Java Developers Kit (JDK) or Java Runtime Environment (JRE) platform to be installed on your server's operating system. Currently Java 1.6 and 1.7 is supported by TermWeb. Java 1.8 is not supported.

Oracle's JDK/JRE can be downloaded from Oracle's website.

 

Please note

OpenJDK is not officially supported, but there are currently no known issues with running TermWeb on OpenJDK.

 

You can test whether you have the correct Java platform by running java -version:

~$ java -version
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)

Installing Tomcat

TermWeb is a web application that requires an application server. Apache Tomcat is the recommended application server and can be downloaded here. Recommended version is 7.0 or later, but TermWeb also supports Tomcat 6.0.

Please note

Java 1.7 must be used for Tomcat 8. Java 1.8 is not supported.

The installation directory for Tomcat depends on the Linux distribution, one common location is /usr/share/tomcat.  Tomcat's installation directory is referred to as <tomcat>/ in this documentation.

Configuring Tomcat

TermWeb need more heap space than the 64MB that is allocated to the Java virtual machine by default. The recommended value is 512MB or higher, but it should not exceed the amount of physical RAM available.

To increase heap space memory in Linux installations:

The exact procedure is depending on Linux distribution. For a CentOS/RHEL system it is as follows:

  1. Edit /etc/tomcat/tomcat.conf .
  2. Add or modify the line containing JAVA_OPTS and set the value for -Xmx.

    set JAVA_OPTS="-Xmx512m"
  3. Restart Tomcat. You can confirm that Tomcat has picked up the correct settings by running

    ps aux | grep java

    and see that the setting for -Xmx is as desired.

Database connection

When Tomcat is installed, please refer to Connecting TermWeb to a Database for setting up and configuring the database.

Web application installation

Copy the termweb.war file to <tomcat>/webapp . The war file is extracted automatically into <tomcat>/webapps/termweb if Tomcat is running.

In the file <tomcat>/webapps/termweb/WEB-INF/termweb.properties you will find settings that may have to be adjusted according to your environment. Pay extra attention to the termweb.home, base.url and work.dir values.

Please note

All changes to termweb.properties requires a restart of TermWeb webapp or Tomcat to take effect.

Logging

Configuration for logging is configured in <tomcat>/webapps/termweb/WEB-INF/log4j.properties. You may need to change the path to the log file (log4j.appender.logfile.file) to make TermWeb write its log file in desired location.

See http://logging.apache.org/log4j for more information about logging configuration options.

Installation complete

Start up Tomcat and check the log files for any errors.

Open your browser and enter http://localhost:8080/termweb. TermWeb now asks for a license. Enter the license that you have received from Interverbum Technology.

You should now see the TermWeb login screen. You can log in with client admin, user admin and password admin.

(tick) Congratulations! Your TermWeb installation is now completed!

 

  • No labels