RSDB Development Server Installation

Linux 2.4.27-2-386
MemTotal 516368 kB
model name AMD Athlon(tm) XP 2800+
cpu MHz 2088.081
cache size 512 KB

Things installed

  • Debian
  • Iptables (run iptables -L -n -v to view the current ruleset)
  • Apache2 (apt-get -t stable install apache2 apache2-doc apache2-common apache-common)
    • /var/www/
    • /var/log/apache2/
  • Postgresql (apt-get -t stable install postgresql postgresql-doc)
    • /usr/lib/postgresql
  • Zope (apt-get install zope2.7)
    • ran 'mkzope2.7instance'; put instance in /var/lib/zope2.7/instance/main
    • server access at http://<hostname>:9673
  • OIO (see installation notes attached below)
  • Plone (apt-get install plone)
  • Apache Tomcat 5.0.28 (see the OpenClinica-v0.9.0 Install Guide)
    • CATALINA_HOME=/usr/share/tomcat
    • file /etc/init.d/tomcat5 added for boot time start of tomcat
  • Java J2SDK 1.4.2_08 (see the OpenClinica-v0.9.0 Install Guide)
    • JAVA_HOME=/usr/share/java
  • Ruby 1.8
    • Interpreter and Ruby libraries
    • Ruby documentation
    • Interactive Ruby
    • mod_ruby (for Apache2)
    • eRuby (for embedding Ruby in HTML)
    • Note: for mod_ruby and eRuby, go here for additional configuration notes. An example ruby.load file, which you can drop into the /etc/apache2/mods-available/ directory, is attached below.
    • For convenience: run apt-get install ruby libapache2-mod-ruby irb ri eruby
  • Rails (for Ruby) (check out RailsNotes for quick installation notes)
    • Go here and download the RubyGems source
    • Unzip the source, and then run ruby setup.rb to install RubyGems
    • Run gem install rails --include-dependencies
    • Note: the first two steps won't be necessary in the future, since RubyGems will be incorporated as the official Ruby installer
  • PostgreSQL Ruby extension
    • Get the source code
    • Install ruby1.8-dev (apt-get install ruby1.8-dev)
    • Run ruby extconf.rb; make; make install
    • Note: for your PostgreSQL tables to work with Rails, you need a serial non null unique id called "id".
      Example: create table penguins (id SERIAL NOT NULL UNIQUE, name varchar(50), height int, weight int, PRIMARY KEY("id"));
  • CVS (go here and/or [[][here]; follow the instructions)
    • Note: for whatever reason, inetd wasn't running when I was configuring CVS. It's in the rc*.d directories though... so I dunno.
    • Open up port 2401 in iptables (only accept local connections for now):
      iptables -A INPUT -s -p tcp -m tcp --dport 2401 -j ACCEPT
    • Run: chown -R cvs.cvs /usr/local/cvsroot
    • Attached below is the Perl script I used to make passwords for CVS.

Miscellaneous configuration notes

  • I disabled bash_history by default (no saving across sessions) due to security issues. Here are the relevant lines in /etc/profile:
     export HISTFILESIZE=0
     unset HISTFILE

     # Change this to a reasonable number of lines to save, I like to save only 100.
     export HISTSIZE=100
Topic attachments
I Attachment Action Size Date Who Comment
CancerStudy-BaselineMedicalorSurgicalHistory.xlsxls CancerStudy-BaselineMedicalorSurgicalHistory.xls manage 47.5 K 15 Jul 2005 - 10:05 DalePlummer OpenClinica definition file
CancerStudy-PhysicalExam.xlsxls CancerStudy-PhysicalExam.xls manage 46.0 K 15 Jul 2005 - 10:05 DalePlummer OpenClinica definition file
OpenClinica-v0.9.0-Install-Guide.txttxt OpenClinica-v0.9.0-Install-Guide.txt manage 9.4 K 12 Jul 2005 - 09:17 DalePlummer  
OpenClinica-v0.9.0-Release-Notes.txttxt OpenClinica-v0.9.0-Release-Notes.txt manage 13.5 K 12 Jul 2005 - 13:24 DalePlummer manage 0.3 K 19 Aug 2005 - 09:40 JeremyStephens Perl password encryption script
oio_notes.txttxt oio_notes.txt manage 4.0 K 08 Aug 2005 - 11:18 JeremyStephens OIO installation notes
ruby.loadload ruby.load manage 0.7 K 15 Aug 2005 - 11:21 JeremyStephens Put this in /etc/apache2/mods-available
Topic revision: r18 - 19 Aug 2005, JeremyStephens

This site is powered by FoswikiCopyright © 2013-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Vanderbilt Biostatistics Wiki? Send feedback