|
||||
|
Server InstallationYou have just downloaded the binaries of HiveBoard (hiveboard-bin-0.6.0.tar.bz2) and you want to install it on your current web server (servlet container)? This page is for you! Please note that if you have no servlet container installed on your server, an easier solution to install HiveBoard server is to use the embedded server (as described there). This page describes step by step what you will have to do to install HiveBoard server. 1. Pre-requisitesFirst of all, you need to have a Sun JDK (Java Development Kit) 5 or later installed on your server (you can get it from this location. Then you must have a Servlet Container (compliant to Servlet Specifications 2.3) installed on your machine. Currently, HiveBoard 0.6.0 has been tested on the following containers: You must also have an SQL Database server installed and running on your machine (or another machine accessible through the network, but it is preferrable to have the database engine on the same machine for performance reasons and because setup is generally easier). Currently, HiveBoard 0.6.0 supports (and has been tested on) the following engines: Please note that if you start the SQL engine and the servlet container as daemons (Unix) or services (Windows), then you need to make sure that the SQL engine starts before the servlet container. Check that you have the JDBC driver that matches your SQL engine:
Unzip the HiveBoard Server binary distribution (hiveboard-server-bin-0.6.0.tar.bz2) into some directory. The distribution includes the following directories:
2. Setup the HiveBoard databaseIf you use MySQL, follow this step. If you use PostgreSQL, then follow that step. If you use HSQLDB, then follow that step. If you use Derby, then follow that step. 3. Setup the HiveBoard Web Application serverThe full HiveBoard server application is contained within a single war file:
First of all, you need to set properties in For database connection, you must properly set all properties beginning with
"
If you use PostgreSQL, you would have setting like the following:
If you use HSQLDB, you would have setting like the following:
Finally, if you use Apache Derby, you would have setting like the following:
Please note that all these settings are already defined in
Then you may want to specify specific logging setup (for log4j). There are 2 files, first you need to choose one for your site deployment. When installing for the first time, i{log4j-test.xml} would be a good option (but it will quickly generate huge log files if the system is used regularly). Normally, you would not change the file's content. However, there may be one property you might wish to change:
Basically, this property defines 2 things:
If you know enough about log4j, then you may change this property. In the sample above, The last configuration step for the servlet container depends on the container you use. If you use Tomcat, follow this step. If you use Jetty, then follow that step. To make sure that everything went fine, you should take a look in the Tomcat
Check that, besides the first "ERROR' line (which is actually not an actual
error), no "ERROR" message was logged in Now you are finished with the server installation! Please note that although HiveBoard 0.6.0 is a very stable and complete system, it still requires quite some setup before running; hopefully, future versions will provide simpler installation for HiveBoard server. However, do not forget the other way, quicker (and preferred), to install HiveBoard server through the "embedded" version. |
|||
|