1 |
|
NotesOnConvert_dcs0,1,2_to_dcs0,1,2x.txt |
2 |
|
|
3 |
+ |
!!NOTE: see vix |
4 |
+ |
for the original version of this with passwords. |
5 |
+ |
|
6 |
|
New datacapture machines:: 3/26/2013 dcs1x dcs2x |
7 |
|
dcs0x |
5 |
– |
#production bn_dat4yu |
6 |
– |
production j1!!-beer |
7 |
– |
root: mdi:tng/ (try hfcsg0?a) |
8 |
– |
postgres: j1ka-ale |
9 |
– |
#jim: j1ka-ale |
8 |
|
jim: same as xim |
11 |
– |
sumsadmin: j1ka-ale |
12 |
– |
prodtest: j1ka-ale (search forward to Password::) |
13 |
– |
jsoc: _istwamwy |
9 |
|
Run > chsh to change to /bin/tcsh shell |
10 |
|
As user postgres: |
11 |
|
dcs0x:/var/lib/pgsql> initdb -D /var/lib/pgsql/data_sums |
152 |
|
> psql -p 5432 -U postgres aiadb |
153 |
|
jsoc=# create user postgres with password '????????'; |
154 |
|
or |
155 |
< |
hmidb=# ALTER USER postgres WITH PASSWORD 'j1ka-ale'; |
155 |
> |
hmidb=# ALTER USER postgres WITH PASSWORD '(the ale)'; |
156 |
|
ALTER ROLE |
157 |
|
or |
158 |
|
Edit /var/lib/pgsql/data_drms/pg_hba.conf for no password: |
207 |
|
jsoc=# insert into drms.minvers (minversion) values ('1.0'); |
208 |
|
INSERT 0 1 |
209 |
|
|
210 |
< |
hmidb=# create user prodtest with password 'j1ka-ale'; |
210 |
> |
hmidb=# create user prodtest with password '(the ale)'; |
211 |
|
|
212 |
|
jsoc=# \q |
213 |
|
|
298 |
|
In /web/www/cgi-bin/forms_jsocdc_dcs1_SUMS as root change: |
299 |
|
$HOST = "dcs1x"; #host where the cgi runs |
300 |
|
$user = "prodtest"; |
301 |
< |
$password = "j1ka-ale"; |
301 |
> |
$password = "(the ale)"; |
302 |
|
$hostdb = "dcs1x"; #host where Postgres runs |
303 |
|
$PGPORT = 5434; |
304 |
|
|
312 |
|
Apache on dcs1x logs: /var/log/httpd/ |
313 |
|
|
314 |
|
=============================================================================== |
315 |
< |
irisarc:: j1ka-ale |
315 |
> |
irisarc:: passwd (the ale) |
316 |
|
irisarc has been configured to communicate with irisdc |
317 |
|
over the 10g LMSAL link. Its 14TB disk is now mounted |
318 |
|
on irisdc as /irisarc (owner/group sumsadmin/sums). |