Difference between revisions of "Robs DiracServer Install Guide"

From GridPP Wiki
Jump to: navigation, search
Line 27: Line 27:
 
You now need to create a config file which will be used to install DIRAC:
 
You now need to create a config file which will be used to install DIRAC:
  
[[File:Example.jpg]]
+
[[File:dinstall.cfg]]
  
 
<pre>
 
<pre>
 
scripts/dirac-install -X /opt/dirac/etc/dinstall.cfg
 
scripts/dirac-install -X /opt/dirac/etc/dinstall.cfg

Revision as of 13:54, 17 March 2015

This is a WIP guide for setting up a server version of DIRAC mainly for testing/development when install scripts aren't being your friend. (This is also a training exercise to make sure I know how things tie together)

I'm assuming that you're installing DIRAC into: /opt/dirac/DIRAC and that you've followed other tutorials on how to ensure your system is compatible and you have the required pre-requisits

Firstly lets grab DIRAC and any extra modules you want and put them in place:

git clone DIRAC and switch to the branch we're interested in (the latest in the v6r13 series here):

git clone https://github.com/ic-hep/DIRAC.git /opt/dirac/DIRAC
git --git-dir=/opt/dirac/DIRAC/.git --work-tree=/opt/dirac/DIRAC checkout rel-v6r13

Web interface (optional but highly recommended)

git --git-dir=/opt/dirac/Web/.git --work-tree=/opt/dirac/Web checkout v1r3p7

GridPPDIRAC extensions

git clone https://github.com/ic-hep/GridPPDIRAC.git /opt/dirac/GridPPDIRAC
git --git-dir=/opt/dirac/GridPPDIRAC/.git --work-tree=/opt/dirac/GridPPDIRAC checkout master


You now need to create a config file which will be used to install DIRAC:

File:Dinstall.cfg

scripts/dirac-install -X /opt/dirac/etc/dinstall.cfg