r3 - 13 Apr 2010 - 12:49:56 - JMAlboSYou are here: TWiki >  NEXT Web  >  NextSoftware > SoftwareOnline > InstallationGuide

Installation Guide

These short instructions will only guide you through a simple installation of DATE NextSoftware

DATE depends in many external libraries

Install this packages as ROOT user:

  • MySQL?
    • More information about MySQL? http://www.mysql.com/
    • rpm -ivh MySQL?-devel-community-5.1.31-0.rhel4.i386.rpm
    • rpm -ivh MySQL?-shared-community-5.1.31-0.rhel4.i386.rpm
    • rpm -ivh MySQL?-client-community-5.1.31-0.rhel4.i386.rpm
    • rpm -ivh MySQL?-server-community-5.1.31-0.rhel4.i386.rpm

  • TCL
    • TCL/TK is a script language, almost all the HI used in DATE are developed in TK. Some extra TCL libs are needed to handle components like MySQL?
    • More information about TCL http://www.tcl.tk
    • rpm -ivh tcl-8.4.7-4.el4.i386.rpm
    • rpm -ivh tk-8.4.7-3.el4_6.1.i386.rpm
    • rpm -ivh BWidget-1.7.0-1.noarch.rpm
    • rpm -ivh mysqltcl-3.05-1.i386.rpm <br/ >

    • As DATE software has been developed at CERN the rpm have more dependencies. If it's necessary install too:
      • rpm -ivh readline-5.0-3.i386.rpm
      • rpm -ivh expect-5.42.1-1.i386.rpm
      • rpm -ivh castor-devel-2.1.0-3.i386.rpm
      • rpm -ivh castor-lib-2.1.0-3.i386.rpm


Once all rpms are installed we can move to configure the system in order to handle the DATE software

  • To do as ROOT user
    • Create a local user and group that will later own the whole DATE installation, for example:
      • /usr/sbin/groupadd -g 2222 dategroup
      • /usr/sbin/useradd -u 2222 -s /bin/bash -g 2222 -d /home/dateuser dateuser
    • Correct the ownership and permissions on the DATE tree
      • chown -R dateuser:dategroup /opt/date
    • Create MySQL? user accounts (needed only once after MySQL? server install)
      • unset DATE_SITE
      • . /date/setup.sh
      • newMysql.sh

  • To do as dateuser
    • Create DATE_SITE
      • Answer yes at the question "Do you want to create a minimal configuration?". This will create a simple standalone setup consisting of one LDC and one GDC on the same node.
      • newDateSite.sh

  • To do as ROOT user
    • Configure the services (to be run on all DATE hosts as root)
      • export DATE_SITE=/dateSite
      • . /date/setup.sh
      • dateLocalConfig -s
    • Stop the firewall (to be done after each boot)
      • /etc/init.d/iptables stop
    • Launch the DIM name server where appropriate (to be done after each boot)
      • /date/runControl/start_dim.sh &

  • To do as dateuser
    • Launch the infoLoggerServer where appropriate (to be done after each boot)
      • export DATE_SITE=/dateSite
      • . /date/setup.sh
      • /date/infoLogger/infoLoggerServer.sh start
    • Launch DATE
      • export DATE_SITE=/dateSite
      • cd /date; . ./setup.sh
      • infoBrowser
      • runControl/DAQCONTROL.sh

Edit | WYSIWYG | Attach | PDF | Raw View | Backlinks: Web, All Webs | History: r3 < r2 < r1 | More topic actions
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback