Difference between revisions of "Imperial Dirac server"

From GridPP Wiki
Jump to: navigation, search
m
m
Line 1: Line 1:
 
== Prerequisites ==
 
== Prerequisites ==
  
* A host machine with SL6.
+
* A host machine with SL6.
* A host certificate.
+
* A host certificate.
* A link to the [http://diracgrid.org/files/docs/AdministratorGuide documentation].
+
* No mysql or mysql-libs package on the machine (/etc/my.cnf conflicts with dirac settings).
 +
* A link to the [http://diracgrid.org/files/docs/AdministratorGuide documentation].
 +
* Sign up with the [https://groups.google.com/forum/#!forum/diracgrid-forum diracgrid-forum].
 +
 
 +
Now you need to work out which version to install; this can be found in the tags list on [https://github.com/DIRACGrid/DIRAC GitHub].
  
 
== Installing the server ==
 
== Installing the server ==
Line 9: Line 13:
 
Following the steps [http://diracgrid.org/files/docs/AdministratorGuide/InstallingDIRACService/index.html here] to some degree.
 
Following the steps [http://diracgrid.org/files/docs/AdministratorGuide/InstallingDIRACService/index.html here] to some degree.
  
 +
<pre>
 
[root ~]# useradd -s /bin/bash -d /home/dirac dirac
 
[root ~]# useradd -s /bin/bash -d /home/dirac dirac
 
[root ~]# mkdir /opt/dirac
 
[root ~]# mkdir /opt/dirac
Line 21: Line 26:
 
[dirac ~]$ cd ~/DIRAC
 
[dirac ~]$ cd ~/DIRAC
 
[dirac DIRAC]$ wget https://github.com/DIRACGrid/DIRAC/raw/integration/Core/scripts/install_site.sh
 
[dirac DIRAC]$ wget https://github.com/DIRACGrid/DIRAC/raw/integration/Core/scripts/install_site.sh
 +
</pre>

Revision as of 11:29, 7 August 2014

Prerequisites

  • A host machine with SL6.
  • A host certificate.
  • No mysql or mysql-libs package on the machine (/etc/my.cnf conflicts with dirac settings).
  • A link to the documentation.
  • Sign up with the diracgrid-forum.

Now you need to work out which version to install; this can be found in the tags list on GitHub.

Installing the server

Following the steps here to some degree.

[root ~]# useradd -s /bin/bash -d /home/dirac dirac
[root ~]# mkdir /opt/dirac
[root ~]# chown -R dirac:dirac /opt/dirac
[root ~]# mkdir -p /opt/dirac/etc/grid-security/
[root ~]# cp /etc/grid-security/host*.pem /opt/dirac/etc/grid-security
[root ~]# chown dirac:dirac /opt/dirac/etc/grid-security/host*.pem
[root ~]# chown dirac:dirac /opt/dirac/etc/grid-security/
[root ~]# su - dirac
[dirac ~]$ ln -s /etc/grid-security/certificates  /opt/dirac/etc/grid-security/certificates
[dirac ~]$ mkdir ~/DIRAC
[dirac ~]$ cd ~/DIRAC
[dirac DIRAC]$ wget https://github.com/DIRACGrid/DIRAC/raw/integration/Core/scripts/install_site.sh