GenDBWiki/DeveloperDocumentation/PersonalWebServer: Difference between revisions
imported>HeikoNeuweger No edit summary |
imported>HeikoNeuweger No edit summary |
||
Line 36: | Line 36: | ||
</nowiki></pre> | </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 | use a remote shell on a host like bane, hook or trillian | ||
Line 67: | Line 71: | ||
and hopefully you will see the login dialog of gendb 2.2 | 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> |
Revision as of 15:12, 4 March 2005
Here we describe how to set up a personal GenDB Webserver in the CeBiTec environment.
The following documentation relates to the Head version in the CVS
create a CVS direcory in your home directory e.g. 'CVS_HEAD'
cd mkdir CVS_HEAD cd CVS_HEAD
check out the following modules from the CVS
make sure your CVS_ROOT and CVS_RSH are set
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
create a user_conf.sh file in the CVS_HEAD/bioinfo/gendb_web/share/www/
directory. This file must contain the two following lines
PORT=9000 CVS_SUBDIR=CVS_HEAD
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
rsh bane
change to the gendb_web directory on that host and
run the apache2 script with param start
cd ~/CVS_HEAD/bioinfo/gendb_web ./apache2 start
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
http://bane:9000
and hopefully you will see the login dialog of gendb 2.2
cd ~/CVS_HEAD/bioinfo/gendb_web ./apache2 stop
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
cd ~/CVS_HEAD/bioinfo/gendb_web/bin ./process_templates ../share/cgi-bin/