Difference between revisions of "GBrowse Administration"
From WormBaseWiki
Jump to navigationJump to search (New page: GBrowse is one of the central -- and most heavily used -- components of the WormBase site. To meet this demand, we use a number of dedicated servers using GBrowse's built in master/slave ...) |
|||
Line 7: | Line 7: | ||
== Configuration == | == Configuration == | ||
+ | == Install Perl 5.10.1 or greater == | ||
+ | |||
+ | You'll need Perl version 5.10.1 or greater. We recommend installing a local version of Perl and required libraries. This makes management dramatically easier. We keep our Perl with the webapp itself. | ||
+ | |||
+ | If you have sufficient privileges, you may wish to use your pre-installed system Perl. | ||
+ | |||
+ | bash> mkdir ~/website/perl | ||
+ | bash> cd ~/src | ||
+ | bash> curl -O http://www.cpan.org/src/perl-5.10.1.tar.gz | ||
+ | bash> cd ~/build | ||
+ | bash> tar xzf ../src.perl-5.10.1.tar.gz | ||
+ | bash> cd perl-5.10.1 | ||
+ | bash> ./Configure -des -Dprefix=$HOME/website/perl/5.10.1 | ||
+ | bash> make | ||
+ | bash> make test | ||
+ | bash> make install | ||
+ | |||
+ | Be sure to set up your your system to preferentially use this newly installed Perl: | ||
+ | |||
+ | bash> export PATH=~/wormbase/perl/5.10.1/bin:${PATH} | ||
= GBrowse = | = GBrowse = |
Revision as of 18:37, 2 March 2010
GBrowse is one of the central -- and most heavily used -- components of the WormBase site. To meet this demand, we use a number of dedicated servers using GBrowse's built in master/slave configuration. This document describes how to build these servers, how to configure GBrowse, and tips and tricks for maintenance.
Contents
Hardware
Topology
Configuration
Install Perl 5.10.1 or greater
You'll need Perl version 5.10.1 or greater. We recommend installing a local version of Perl and required libraries. This makes management dramatically easier. We keep our Perl with the webapp itself.
If you have sufficient privileges, you may wish to use your pre-installed system Perl.
bash> mkdir ~/website/perl bash> cd ~/src bash> curl -O http://www.cpan.org/src/perl-5.10.1.tar.gz bash> cd ~/build bash> tar xzf ../src.perl-5.10.1.tar.gz bash> cd perl-5.10.1 bash> ./Configure -des -Dprefix=$HOME/website/perl/5.10.1 bash> make bash> make test bash> make install
Be sure to set up your your system to preferentially use this newly installed Perl:
bash> export PATH=~/wormbase/perl/5.10.1/bin:${PATH}