...
Info | ||
---|---|---|
| ||
OpenJDK is not officially supported, but there are currently no known issues with running TermWeb on OpenJDK. |
Downloading installation files
Connect to files.termweb.se using the credentials provided by InterverbumTech. Download the zip-archive for the desired TermWeb version. The archive contains the files termweb.war
, createdb.sql
, termweb.sql
and termweb_sqlserver2005.sql
.
Database setup
The default database name, user and login name, and password in the descriptions below can be replaced by other values. It is highly recommended to change the password for security reasonsYou can test whether you have the correct Java platform by running java -version
:
Code Block | ||
---|---|---|
| ||
~$ 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 but TermWeb also supports Tomcat 6.0.
Info | ||
---|---|---|
| ||
Tomcat 8 requires Java 1.8 and is currently not supported by TermWeb. |
The recommended installation directory is C:\tomcat
. Tomcat's installation directory is referred to as <tomcat>/
in this documentation.
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 the webapp directory in Tomcat <tomcat>/webapp
. The war file should be is extracted automatically when into <tomcat>/webapps/termweb
if Tomcat is restartedrunning.
Database connection setup
Application setup
In the file <tomcat-installation><tomcat>/webapps/termweb/WEB-INF/termweb.properties
you will find settings that may have to be adjusted according to your environment. For a standard environment the settings should be correct as they arePay extra attention to the termweb.home
, base.url
and work.dir
values.
Info | ||
---|---|---|
| ||
All changes to termweb.properties requires a restart of TermWeb webapp or Tomcat to take effect. |
Logging
Configuration for logging is configured in <tomcat-installation><tomcat>/webapps/termweb/WEB-INF/log4j.properties
. You may want need to change the path to the log file (log4j.appender.logfile.file
) if you want to make TermWeb to write its log file to logs directory in Tomcatdesired 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 in your web browser. You should see the TermWeb login screen. You can log in with client "admin", user "admin" and password "admin".
Tip |
---|
Congratulations! Your TermWeb installation is now completed! |