To install Galaxy, besides the Installation Package, you will need:
Unzip the Installation Package and you will have the following files:
| File | Description |
|---|---|
Galaxy.war |
The war-file you have to deploy on your Application Server |
createTables.sql |
The script to create all the tables in the MySQL database |
install_en.html |
This file |
Galaxy in the current Version relies on an MySQL database which you can download freely from their web site.
MySQL Version 4.1 Issue
Currently due to internal changes in MySQL Version 4.1, client software and libraries that access MySQL servers needs to be updated. This update is happening as of writing, but not yet complete. We therefore only support Galaxy to run with the previous 4.0 series of the MySQL Server.
Follow the documentation on the MySQL web site to install and configure the MySQL Database Server
TIP
If you have an Apache Web Server with PHP, then phpMyAdmin is a great software to work with MySQL databases. All this software is free.
Once you have the database installed and configured do the following:
galaxyDatabase'galaxyUser'galaxyUser has a passwordgalaxyUser allow her access from the server on which Galaxy will be runningOnce you have the database and the user created and ensured the user can access the database, its time to create tables in this database. To create the tables, you need to run the SQL commands that are in the createTables.sql file. You can do this either via the command line or some tool like phpMyAdmin. The command line would look something like:
$ mysql -u galaxyUser -pgalaxyUserPassword galaxyDatabase < createTables.sql
If the above command was successful, you should be able to login to the galaxyDatabase and execute the MySQL 'show tables' command that would list all the tables. You should also check that the Users table and the hibernate_unique_key table both have only 1 entry.
Upgrade Instructions: If you are updating the table model from Version 0.6 of Galaxy, please use the script 'update_V0_6_V1_0.sql' instead.
3. Placing MySQL JDBC Connection Library into the Application ServerOnce you have downloaded the JDBC package for MySQL, inside it you will find a file with the following name: mysql-connector-java-3.x.xx-ga-bin.jar. The 'x' will be different depending on which is the current version numbers.
Tomcat
Under Tomcat this can be achieved by dropping the jar file into the TOMCAT_INSTALL_DIR/common/lib directory and restarting the Tomcat Server.
If you want to use the Galaxy SQL connector to connect to a different type of database (like Oracle) you have to provide the JDBC connector for the particular database in the same way as the MySql JDBC connector.
The JDBC Driver classes for Oracle can be downloaded here.
With Tomcat copy this JDBC jar file into the TOMCAT_INSTALL_DIR/common/lib directory and then restart the Tomcat server.
WebSphere
With WebSphere, consult its documentation to setup a JDBC datasource, and follow the instructions and create a data source for MySQL and any other database that you wish to use.
This document contains instruction for deployment on two application servers: IBM's WebSphere 5.1 and Tomcat 5.0.x. At this stage, we will assume that you have installed the Application Server of your choice.
4.1. Deployment on WebSphere (Tested with version 5.1.0)Galaxy.war on your local machine (you can use the browse button)
conf directory of the Tomcat installation.
Galaxy.war file
The first time you start up Galaxy, you will be directed to the Install Pages. This is a 5 Step Process where you specify the MySQL database the Galaxy will connect to. Galaxy then check if it can really connect to this database and if everything is ok, then it starts the Galaxy Engine. The Steps are described below:
Step 1In this step, the MySQL connection is tested, and if everything is ok, then you can proceed to Step 3
Step 3In this step, a check is made is the tables in the database that is provided in Step 1 match the ones that are needed. And if everything is ok, then proceed to step 4.
Step 4Ok, you have installed Galaxy, what now? The basic work cycle for Galaxy is as follows:
For LDAP and SQL tutorials, go to: Galaxy Web site -> Documents -> Samples. Other tutorials will be put up there as well, so visit the Documents section regularly.
7. Troubleshooting and SupportIf you have any trouble installing, using or working with Galaxy, we encourage you to visit the Galaxy Forums and post your queries. Someone will definitely help you. Or if your prefer email, then email your queries at: galaxy[AT]sagadc[dot]com.
| » Imprint » Disclaimer » Terms » Contact » Privacy | © 2006, SAGA D.C. GmbH - All rights reserved ![]() |
|