|
Table of Contents
|
Install instructions for eHour.war on WindowseHour requires a Java JDK, the Apache Tomcat servlet container and a MySQL database. When you are upgrading an existing installation of eHour, please see the upgrade instructions. Java 1.6+eHour requires a Java 6 runtime environment. Download and install the latest version from Oracle's site
eHour homeeHour 0.9.1 introduces the concept of the eHour home directory. This is the directory where you unpacked the eHour archive. The log file is stored in this directory as well as general configuration, etc. To make eHour aware of the home directory you have to create an system environment variable. To do so on Windows 7:
Database setupMySQL and PostgreSQL are supported however only instructions for usage with MySQL are provided here, PostgreSQL instructions are only available for Linux. If you don't have MySQL installed, download the Community Server from http://dev.mysql.com/downloads/mysql/ With MySQL downloaded, start the install and:
Create databaseThe easiest way to create the eHour database is to install the MySQL Workbench.
Install eHour databaseWith the ehour schema created it's time to create the database tables. In the directory where you unpacked the binary distribution there is a
Now on to the final part, Apache Tomcat Apache Tomcat installation and configurationInstall TomcatApache Tomcat is the server which runs the application. If you don't have Tomcat installed yet, download the Windows Service installer from [http://tomcat.apache.org/download-60.cgi] Install instructions for Tomcat can be found on their site Install the MySQL JDBC connectorDownload the MySQL JDBC connector from [http://dev.mysql.com/downloads/connector/j/] Unpack the downloaded archive and copy the extracted Hook up eHour to Tomcat
First make sure that Tomcat isn't running. Navigate to the Tomcat's Open this file in a text editor. The first line reads: Unfortunately Tomcat does not read the environment variable you set up earlier so you need to replace the Make sure to use forward slashes and not backslashes to split the path.
When you're done editing save this file as Start it all up !MySQL is probably already running, otherwise you wouldn't be able to install the database in a previous step. Start Tomcat by running |
Skip to end of metadata
Go to start of metadata
Labels:




Add Comment