version 1.9, 2010/12/17 18:34:28
|
version 1.10, 2012/05/22 19:10:45
|
Line 56 postgres, after any reboot: |
|
Line 56 postgres, after any reboot: |
|
> chmod 600 /var/lib/pgsql/ssh-agent.env | > chmod 600 /var/lib/pgsql/ssh-agent.env |
> source /var/lib/pgsql/ssh-agent.env | > source /var/lib/pgsql/ssh-agent.env |
> ssh-add | > ssh-add |
(The password is written on my whiteboard (same as production's)) |
(The password is same as production's) |
| |
2. Login as user production via j0. (password is on Jim's whiteboard). | 2. Login as user production via j0. (password is on Jim's whiteboard). |
| |
3. The Postgres must be running and is started automatically on boot: | 3. The Postgres must be running and is started automatically on boot: |
| |
> ps -ef |grep pg |
#######OLD######################### |
postgres 4631 1 0 Mar11 ? 00:06:21 /usr/bin/postmaster -D /var/lib/pgsql/data |
#> ps -ef |grep pg |
|
#postgres 4631 1 0 Mar11 ? 00:06:21 /usr/bin/postmaster -D /var/lib/pgsql/data |
|
################################### |
|
|
|
dcs0:/home/production> px postgres |
|
postgres 6545 1 0 May04 ? 00:09:50 /usr/local/pgsql-8.4/bin/postgres -D /var/lib/pgsql/dcs0_data |
| |
4. The root of the datacapture tree is /home/production/cvs/JSOC. | 4. The root of the datacapture tree is /home/production/cvs/JSOC. |
The producton runs as user id 388. | The producton runs as user id 388. |
Line 123 This requires that an ssh-agent be runni |
|
Line 128 This requires that an ssh-agent be runni |
|
> ssh-add (or for sonar: ssh-add /home/production/.ssh/id_rsa) | > ssh-add (or for sonar: ssh-add /home/production/.ssh/id_rsa) |
(The password is written on my whiteboard) | (The password is written on my whiteboard) |
| |
|
NOTE: on some machines you may have to put the user name in |
|
/etc/ssh/allowed_users |
|
|
NOTE: cron jobs use this /var/tmp/ssh-agent.env file | NOTE: cron jobs use this /var/tmp/ssh-agent.env file |
| |
If you want another window to use the ssh-agent that is already running do: | If you want another window to use the ssh-agent that is already running do: |