Installing MOBY-Central on a fresh machine
(from my log book)
Installation on a Sun Enterprise 220R
spec:
- Sun Enterprise 220R (2 X UltraSPARC-II 450MHz)
- Two 18GB SCSI drives in a mirrored configuration
- root fs has 13GB available, swap is 2GB, with 2GB of real system
memory
- perl 5.8 installed
as root:
-
downloaded Apache 2.0.40
-
./configure --prefix=/usr/local/apache ; make
; make install
-
edit httpd.conf modified start as user and start as group to "nobody"
-
installed expat version 1.95.4 as per installation instructions
-
download Solaris 2.8 source for mySQL
-
compile/install as per instructions
-
set permissions as per instructions.
-
EXCEPT - don't give root a password yet...
-
start mysql daemon
-
CPAN install using -j3 flag (dual processor)
-
Bundle::CPAN
-
LWP
-
HTML::Parser with unicode support (this might have caused some of the later
problems)
-
Bundle::DBI
-
FAILED: switched off -j3 flag to fix this problem
-
SOAP::Lite
-
included HTTPS support
-
tried to include Jabber support -> failed. gave up.
-
installs XML::Parser as dependancy
-
XML::DOM
-
failed... don't know why (even with -j3 off). force install.
-
DBD::mysql
-
installed CVS
-
set CVS_RSH=ssh in environment
-
anonymous CVS checkout of moby-live into ~/moby-live
-
cvs -d :pserver:cvs@cvs.open-bio.org:/home/repository/moby login
-
password is 'cvs'
-
cvs -d :pserver:cvs@cvs.open-bio.org:/home/repository/mobycheckout moby-live
-
SET UP MOBY CENTRAL DATABASE
-
start mysql as root
-
create database MOBY_Central; (to get the full database, contact
me ad I'll dump it for you)
-
GRANT ALL PRIVILEGES ON MOBY_Central.* TO moby_central@localhost identified
by "*********";
-
exit
-
mysql -u moby_central -p MOBY_Central < ~/moby-live/Central/schema.mysql
-
-
SET UP MOBY CENTRAL ON WEBSERVER
-
cp ~/moby-live/Central/MOBY-Central.pl /usr/local/apache/cgi-bin
-
cp -r ~/moby-live/Central/MOBY /usr/local/apache/cgi-bin
-
start apache
-
create MOBY_Central config file
-
file /usr/local/apache/cgi-bin/MOBY/central.cfg contains four lines
(in order)
-
localhost
-
MOBY_Central
-
moby_central
-
********** <- (moby_central's mysql password)
-
set up root password for mysql just to be safe
-
mysqladmin -u root -p password NewPasswordHere
Done!
To test all this, configure ~/moby-live/Client/central_connection_example.pl
to point to your instance and make a call.