80 | | '''IMPORTANT:''' Altought it's possible to install QCG-Broker service on any account (<tt>root</tt>, regular user) we strongly recommend to deploy QCG-Broker service on |
81 | | the account designated specifically for this service (<tt>qcg-broker</tt> for example). |
82 | | |
83 | | We recommend to create a new user (e.g. <code>qcg-broker</code>) that will be used by the service to run in unprivileged mode |
84 | | |
85 | | mkdir -p /opt/QCG |
86 | | useradd -d /opt/QCG/qcg-broker -m -s /bin/bash qcg-broker |
87 | | |
88 | | '''IMPORTANT:''' If you want to configure QCG-Broker to use its own list of trusted CA certificates, please do not forget to copy them into ''~/.globus/certificates'' directory. |
| 80 | '''IMPORTANT:''' Altought it's possible to install QCG-Broker service on any account (`root`, regular user) we strongly recommend to deploy QCG-Broker service on the account designated specifically for this service (`qcg-broker` for example). |
| 81 | |
| 82 | We recommend to create a new user (e.g. `qcg-broker`) that will be used by the service to run in unprivileged mode |
| 83 | {{{ |
| 84 | #!div style="font-size: 90%" |
| 85 | {{{#!sh |
| 86 | # mkdir -p /opt/QCG |
| 87 | # useradd -d /opt/QCG/qcg-broker -m -s /bin/bash qcg-broker |
| 88 | }}} |
| 89 | }}} |
| 90 | '''IMPORTANT:''' If you want to configure QCG-Broker to use its own list of trusted CA certificates, please do not forget to copy them into `~/.globus/certificates` directory. |
103 | | exit |
104 | | |
105 | | |
106 | | * Create new database (e.g. qcg-broker) owned by the ''qcg-broker'' user: |
107 | | su - qcg-broker |
108 | | createdb -U qcg-broker qcg-broker |
109 | | exit |
110 | | |
111 | | {{Note}} The ''qcg-broker'' user must be allowed to create new databases |
112 | | |
113 | | * Depending on the local PostgreSQL configuration you may need to edit the <code>pg_hba.conf</code> file (''host based authentication'' configuration file) to enable password authentication to the ''qcg-broker'' database for the ''qcg-broker'' user. |
114 | | |
115 | | For SL5.x: edit the ''/var/lib/pgsql/data/pg_hba.conf'' file. |
| 107 | $ exit |
| 108 | }}} |
| 109 | }}} |
| 110 | |
| 111 | * Create new database (e.g. qcg-broker) owned by the `qcg-broker` user: |
| 112 | # su - qcg-broker |
| 113 | $ createdb -U qcg-broker qcg-broker |
| 114 | $ exit |
| 115 | |
| 116 | '''Note:''' The `qcg-broker` user must be allowed to create new databases. |
| 117 | |
| 118 | * Depending on the local PostgreSQL configuration you may need to edit the `pg_hba.conf` file (''host based authentication'' configuration file) to enable password authentication to the `qcg-broker` database for the `qcg-broker` user. |
| 119 | |
| 120 | For SL5.x: edit the `/var/lib/pgsql/data/pg_hba.conf` file. |