Difference between revisions of "Imperial Dirac server"
From GridPP Wiki
m |
m |
||
Line 14: | Line 14: | ||
<pre> | <pre> | ||
+ | [root ~]# wget http://repository.egi.eu/sw/production/cas/1/current/repo-files/EGI-trustanchors.repo -O /etc/yum.repos.d/EGI-trustanchors.repo | ||
+ | [root ~]# yum install ca-policy-egi-core | ||
[root ~]# useradd -s /bin/bash -d /home/dirac dirac | [root ~]# useradd -s /bin/bash -d /home/dirac dirac | ||
− | |||
− | |||
[root ~]# mkdir -p /opt/dirac/etc/grid-security/ | [root ~]# mkdir -p /opt/dirac/etc/grid-security/ | ||
[root ~]# cp /etc/grid-security/host*.pem /opt/dirac/etc/grid-security | [root ~]# cp /etc/grid-security/host*.pem /opt/dirac/etc/grid-security | ||
− | [root ~]# chown | + | [root ~]# chown -R dirac:dirac /opt/dirac |
− | + | ||
[root ~]# su - dirac | [root ~]# su - dirac | ||
[dirac ~]$ ln -s /etc/grid-security/certificates /opt/dirac/etc/grid-security/certificates | [dirac ~]$ ln -s /etc/grid-security/certificates /opt/dirac/etc/grid-security/certificates | ||
Line 26: | Line 25: | ||
[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> | ||
+ | |||
+ | This is the initial preparation done, the next steps actually install the server components. | ||
+ | |||
+ | <pre> | ||
</pre> | </pre> |
Revision as of 11:42, 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 ~]# wget http://repository.egi.eu/sw/production/cas/1/current/repo-files/EGI-trustanchors.repo -O /etc/yum.repos.d/EGI-trustanchors.repo [root ~]# yum install ca-policy-egi-core [root ~]# useradd -s /bin/bash -d /home/dirac dirac [root ~]# mkdir -p /opt/dirac/etc/grid-security/ [root ~]# cp /etc/grid-security/host*.pem /opt/dirac/etc/grid-security [root ~]# chown -R dirac:dirac /opt/dirac [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
This is the initial preparation done, the next steps actually install the server components.