Installation of Reactome database and website

This document describes installation of Reactome database and setup for situations where you don't have or don't want to use root privileges. You do need to have wget, gunzip, tar, gcc and (gnu) make. Please make sure that those occur in your path and that the "right" one comes 1st.

Create a directory where you want to install the Reactome stuff. This directory will be self-contained, i.e. the installed code should not need anything from outside and nothing will be installed outside this directory.

        mkdir GK

Enter this directory

	cd GK

Let's call this the Reactome root directory. You can find the full path by issuing either:

	echo $PWD

or

	pwd


Non-Reactome software

Perl

Install your "own" Perl. The point is that this way you can freely write into this perl's lib directory and don't have to mess with "use libs", "prefixes" and suchlike. Installation should be fairly painless.

MySQL

Use the latest production release (currently 4.0). Go to the MySQL download page (http://www.mysql.com/downloads/mysql-4.0.html) and choose the precompiled binaries appropriate for your platform. (If, for whatever reason, you want to compile it yourself you can opt for source download.)

Perl modules

Necessary modules not included in the perl distribution are:

Apache with mod_perl

Please note the "switching" between apache and mod_perl directories below.

	wget http://apache.mirror.positive-internet.com/httpd/apache_1.3.29.tar.gz
	gtar xvzf apache_1.3.29.tar.gz
	wget http://perl.apache.org/dist/mod_perl-1.0-current.tar.gz
	gtar xvzf mod_perl-1.0-current.tar.gz
	mkdir apache
	cd apache_1.3.29
	./configure
	cd ../mod_perl-1.29/
	<path to Reactome root directory>/bin/perl Makefile.PL \
		APACHE_SRC=../apache_1.3.29/src \
		DO_HTTPD=1 USE_APACI=1 EVERYTHING=1
	make
	make install
	cd ../apache_1.3.29
	./configure --enable-module=include --prefix=<path to Reactome root directory>/apache
	make
	make install
	cd ..


Reactome code and data

Reactome code

Reactome data



Start Reactome webserver

	<path to Reactome root directory>/apache/bin/httpd -f \
		<path to Reactome root directory>/website/conf/httpd.conf.personal

Point your browser at http://localhost:8080 or http://127.0.0.1:8080