GenDBWiki/DeveloperDocumentation/PersonalWebServer: Difference between revisions

From BRF-Software
Jump to navigation Jump to search
imported>HeikoNeuweger
No edit summary
m (6 revisions)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
Here we describe how to set up a personal GenDB Webserver in the [[CeBiTec]] environment.
= Setting up your personal GenDB web server at [[CeBiTec]] =


The following documentation relates to the Head version in the CVS
The content of this page was moved to the [http://www.cebitec.uni-bielefeld.de/groups/brf/internal/AdminInfoGenDB/PersonalWebServer internal Wiki] since all descriptions provided here do only apply for setting up an internal GenDB web server at the CeBiTec.
 
create a CVS direcory in your home directory e.g. 'CVS_HEAD'
 
 
<pre><nowiki>
cd
mkdir CVS_HEAD
cd CVS_HEAD
</nowiki></pre>
 
check out the following modules from the CVS
make sure your CVS_ROOT and CVS_RSH are set
 
 
<pre><nowiki>
cvs co bioinfo/common
cvs co bioinfo/gendb
cvs co bioinfo/gendb_web
cvs co bioinfo/projectmanagement
cvs co bioinfo/GOPArc
cvs co bioinfo/BRIDGE
</nowiki></pre>
 
 
create a user_conf.sh file in the CVS_HEAD/bioinfo/gendb_web/share/www/
directory. This file must contain the two following lines
 
<pre><nowiki>
PORT=9000
CVS_SUBDIR=CVS_HEAD
</nowiki></pre>
 
 
PORT defines the port your webserver process will wait for requests.
Make sure this port is not used yet. The CVS_SUBDIR states the directory relative to your home where the bioinfo subdir can be found.
In thia example ist CVS_HEAD
 
use a remote shell on a host like bane, hook or trillian
 
<pre><nowiki>
rsh bane
 
</nowiki></pre>
 
 
change to the gendb_web directory on that host and
run the apache2 script with param start
 
 
<pre><nowiki>
cd ~/CVS_HEAD/bioinfo/gendb_web
./apache2 start
</nowiki></pre>
 
 
this will start an httpd process on that machine tha listens on the port
you provided in the user_conf.sh file.
 
direct your browser to
 
 
<pre><nowiki>
http://bane:9000
</nowiki></pre>
 
 
and hopefully you will see the login dialog of gendb 2.2
 
 
<pre><nowiki>
cd ~/CVS_HEAD/bioinfo/gendb_web
./apache2 stop
</nowiki></pre>
 
will stop the webserver. Do not forget to restart the webserver if Perl
Modules are updated. cgi scripts and templates will get updated automatically
 
if you made changes to cgi.template file in gendb_web/share/cgi_bin do not forget
to process these files with the process_templates script
 
 
<pre><nowiki>
cd ~/CVS_HEAD/bioinfo/gendb_web/bin
./process_templates ../share/cgi-bin/
</nowiki></pre>

Latest revision as of 07:16, 26 October 2011

Setting up your personal GenDB web server at CeBiTec

The content of this page was moved to the internal Wiki since all descriptions provided here do only apply for setting up an internal GenDB web server at the CeBiTec.