Changes between Version 6 and Version 7 of InstallationGuide

Show
Ignore:
Timestamp:
07/06/13 18:22:39 (11 years ago)
Author:
mmamonski
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallationGuide

    v6 v7  
    6262 
    6363 
    64 = Installation using provided RPMS = 
    65 * Create the following users: 
    66  * `qcg-comp` - needed by the QCG-Computing service 
     64= Installation = 
     65 At first you need to install appropriate [http://apps.man.poznan.pl/trac/qcg/wiki/Software%20repositories repository] or get the newest [[Downloads source package]]. 
     66 
     67= 
     68* The users must be also created (and having the same uid) on the batch server machine (but not necessarily the worker nodes). 
     69== Scientific Linux 5/6 == 
     70* install QCG-Computing using YUM Package Manager: 
     71{{{ 
     72yum install qcg-comp qcg-comp-client qcg-comp-logrotate 
     73}}} 
     74 
     75 
     76= QCG-Broker integration = 
    6777 * `qcg-broker` - the user that the [http://apps.man.poznan.pl/trac/qcg-broker QCG-Broker] service would be mapped to  
    68 * The users must be also created (and having the same uid) on the batch server machine (but not necessarily the worker nodes). 
    69 {{{ 
    70 #!div style="font-size: 90%" 
    71 {{{#!sh 
    72 useradd -r -d /var/log/qcg/qcg-comp/  qcg-comp  
    73 useradd -r -d /var/log/qcg/qcg-broker/  qcg-broker   
    74 }}} 
    75 }}} 
    76 * and the following group: 
    77  * `qcg-dev` - this group is allowed to read the configuration and log files. Please add the qcg services' developers to this group. 
    78 {{{ 
    79 #!div style="font-size: 90%" 
    80 {{{#!sh 
    81 groupadd -r qcg-dev 
    82 }}} 
    83 }}} 
    84 * install !QosCosGrid repository (latest version, including new features and latest bug fixes, but may be unstable) 
    85 {{{ 
    86 #!div style="font-size: 90%" 
    87 {{{#!sh 
    88 cat > /etc/yum.repos.d/qcg.repo << EOF 
    89 [qcg] 
    90 name=QosCosGrid YUM repository 
    91 baseurl=http://www.qoscosgrid.org/qcg-packages/sl5/x86_64/ 
    92 #repo for SL6 baseurl=http://www.qoscosgrid.org/qcg-packages/sl6/x86_64/ 
    93 enabled=1 
    94 gpgcheck=0 
    95 EOF 
    96 }}} 
    97 }}} 
    98  
    99  
    100 * install QCG-Computing using YUM Package Manager: 
    101 {{{ 
    102 #!div style="font-size: 90%" 
    103 {{{#!sh 
    104 yum install qcg-comp qcg-comp-client qcg-comp-logrotate 
    105 }}} 
    106 }}} 
    107  
    108 * install grid-ftp server using this [[GridFTPInstallation|instruction]]. 
    109  
     78 * install grid-ftp server using this [[GridFTPInstallation|instruction]]. 
     79 
     80 
     81= Database initializaiton = 
    11082* setup QCG-Computing database using provided script: 
    11183{{{ 
     
    153125vim /var/lib/pgsql/data/pg_hba.conf  
    154126/etc/init.d/postgresql reload 
    155 }}} 
    156 }}} 
    157 Install EGI Accepted CA certificates (this also install the Polish Grid CA): 
    158 {{{ 
    159 #!div style="font-size: 90%" 
    160 {{{ 
    161 cd /etc/yum.repos.d/ 
    162 wget http://repository.egi.eu/sw/production/cas/1/current/repo-files/EGI-trustanchors.repo 
    163 yum clean all 
    164 yum install ca-policy-egi-core 
    165 }}} 
    166 }}} 
    167 The above instructions were based on this [https://wiki.egi.eu/wiki/EGI_IGTF_Release manual] 
    168  
    169 Install  PL-Grid Simpla-CA certificate (not part of IGTF): 
    170 {{{ 
    171 #!div style="font-size: 90%" 
    172 {{{#!sh 
    173 wget http://software.plgrid.pl/packages/general/ca_PLGRID-SimpleCA-1.0-2.noarch.rpm 
    174 rpm -i ca_PLGRID-SimpleCA-1.0-2.noarch.rpm  
    175 #install certificate revocation list fetching utility 
    176 wget https://dist.eugridpma.info/distribution/util/fetch-crl/fetch-crl-2.8.5-1.noarch.rpm 
    177 rpm -i fetch-crl-2.8.5-1.noarch.rpm 
    178 #get fresh CRLs now 
    179 /usr/sbin/fetch-crl  
    180 #install cron job for it 
    181 cat > /etc/cron.daily/fetch-crl.cron << EOF 
    182 #!/bin/sh 
    183 /usr/sbin/fetch-crl 
    184 EOF 
    185 chmod a+x /etc/cron.daily/fetch-crl.cron 
    186127}}} 
    187128}}}