| Certified Monod Server Platforms |
Linux |
Certified; RedHat
Linux 7.2, 7.3, 8.0, and 9.0 |
| Mac |
Certified; Mac OS 10.1, 10.02
and 10.03 |
|
| Unix |
Uncertified;
It should run fine
on any Unix variant. |
|
| Windows |
Uncertified;
In theory, it
should run on Windows machines as well, but in practice we've had
mysterious difficulties getting it to work. |
|
| Minimum system requirements for
Monod Server |
We have not tested the minimal
possible configuration for running the Monod server, but we recommend a
fast
processor (e.g. at least a Pentium III/600) and lots of free memory (say, a couple hundred megabytes). |
| Index |
Required/Optional |
Task |
Details |
| 1 |
required |
Download Postgres |
|
| 2 |
required |
Install Postgres |
http://www.postgresql.org/docs/current/static/installation.html
|
| 3 |
required |
Download Resin J2EE/web server |
|
| 4 |
optional |
Download jikes |
|
| 5 |
optional |
Create jikes binary |
|
| 6 |
required |
Install Resin |
http://www.caucho.com/download/install.pdf
|
| 7 |
required CHECKPOINT-1 | Check JDK version |
|
| 8 |
optional CHECKPOINT-2 | Check Resin installation |
|
| 9 |
required |
Download latest Monod |
|
| 10 |
required |
Unpack Monod tar file |
|
| 11 |
required |
Create database users |
|
| 12 |
required |
Install database schemas |
|
| 13 |
recommended CHECKPOINT-3 | Check Postgres installation |
|
| 14 |
required* |
Load standard records to database |
|
| 15 |
optional |
Copy Monod data from server x for data replication |
pg_dump -U monod -W -O monod >
myMonod.dmp
|
| 16 |
optional |
Replicate data on the new Monod instance |
psql -f myMonod.data monod monod
|
| 17 |
recommended
CHECKPOINT-4 |
Check Postgres data loading |
|
| 18 |
recommended |
cron job for postgres
optimization |
|
| 19 |
required | Edit resin.conf |
<web-app id='' app-dir='/usr/local/monod'/> </host> <web-app id='monod' app-dir='/home/username/projects/monod'/>
<java compiler='/usr/bin/jikes' compiler-args='-g' work-dir='tmp'/> <!--<java compiler="internal" compiler-args=""/>--> <java compiler="jikes" compiler-args="-classpath /usr/java/j2sdk/jre/lib/rt.jar"/> |
| 20 |
optional |
Edit resin.conf |
<http port='8888'/>
|
| 21 |
required |
Edit monod/WEB-INF/web.xml |
There are three occurrences of
"http://localhost/hessian". If you
install the Monod Server locally, you need to change these to
point to your local Monod server instance (e.g., your local Monod
server is monod.xyz.org, you will need to change it to
http://monod.xyz.org/hessian).
|
| 22 |
optional |
Edit monod/WEB-INF/web.xml |
|
| 23 |
required |
Edit monod/conf/monod.properties |
|
| 24 |
required |
Edit monod/conf/monod.properties
for monod pdf directory |
Note: If you place your
/usr/local/monod/pdf directory on a different
partition than /usr/local/monod/WEB-INF, monod will be forced to copy
(rather than rename) pdf files when they are uploaded, resulting in
performance degradation. You can adjust the efficiency of the
process by changing copyBufferSize
in monod.properties.
|
| 25 |
optional |
Edit monod/conf/log4j.properties |
|
| 26 |
optional |
Create monod server scripts |
#!/bin/sh
JAVA_HOME=/usr/local/java export JAVA_HOME USER=username ROOT=/home/$USER RESIN=/usr/local/resin cd $ROOT #su $USER -c " $RESIN/bin/httpd.sh -server-root $ROOT/projects/monod -J-Xmx200m -J-Xms30m -conf $ROOT/dev/resin.conf start #"
#!/bin/sh
JAVA_HOME=/usr/local/java export JAVA_HOME USER=username ROOT=/home/$USER RESIN=/usr/local/resin cd $ROOT #su $USER -c " $RESIN/bin/httpd.sh -server-root $ROOT/projects/monod -conf $ROOT/dev/resin.conf stop #" |
| 27 |
required CHECKPOINT-5 |
Start up monod server |
|
| 28 |
optional CHECKPOINT-6 | Start up web Monod |
|
| 29 |
optional CHECKPOINT-7 | Start up Monod Desktop client |
|
| Postgres RPM installation on Linux |
1. To install the Postgres package
(Options: i = display package info; U = upgrade; v = print verbose info; h = print 50 hash marks as the package archive is unpacked) root # rpm -Uvh postgresql-*.rpm
2. To initialize Postgres database server su - postgres
initdb --pglib=/usr/lib/pgsql --pgdata=/var/lib/pgsql/data 3. To run the postmaster when booting root # setup
It is the easiest way to manager the Linux configuration in RedHat. 4. To let postmaster be connected with TCP/IP a. (run postmaster manually)
root # postmaster -S -i -D/usr/lib/pgsql b. (This must be done if you have finished step 3) - edit the file, /etc/init.d/postgresql - find the string "postmaster -S -D/usr/lib/pgsql" - change the string "postmaster -S -i -D/usr/lib/pgsql" - save it 5. To allow all local database connections on the machine, edit /var/lib/pgsql/data/pg_hba.conf 6. To start the database server root #
/etc/rc.d/init.d/postgresql start
|
| Postgres RPM installation on Mac OS X |
http://www.entropy.ch:16080/software/macosx/postgresql/
Postgres Installation InstructionsYou must have administrator rights to perform this installation. Do this to install for the first time (see below for update instructions):
If you would like PostgreSQL to start up automatically when the
system comes up, then you can install this package which installs a
StartupItem into Postgres Update InstructionsIf you previously installed an older version of this package, here is what you have to do to update to the most recent version:
|