version 1.2, 2014/02/18 19:22:23
|
version 1.3, 2014/02/18 19:29:38
|
|
|
NotesOnConvert_dcs0,1,2_to_dcs0,1,2x.txt | NotesOnConvert_dcs0,1,2_to_dcs0,1,2x.txt |
| |
|
!!NOTE: see vix |
|
for the original version of this with passwords. |
|
|
New datacapture machines:: 3/26/2013 dcs1x dcs2x | New datacapture machines:: 3/26/2013 dcs1x dcs2x |
dcs0x | dcs0x |
#production bn_dat4yu |
|
production j1!!-beer |
|
root: mdi:tng/ (try hfcsg0?a) |
|
postgres: j1ka-ale |
|
#jim: j1ka-ale |
|
jim: same as xim | jim: same as xim |
sumsadmin: j1ka-ale |
|
prodtest: j1ka-ale (search forward to Password::) |
|
jsoc: _istwamwy |
|
Run > chsh to change to /bin/tcsh shell | Run > chsh to change to /bin/tcsh shell |
As user postgres: | As user postgres: |
dcs0x:/var/lib/pgsql> initdb -D /var/lib/pgsql/data_sums | dcs0x:/var/lib/pgsql> initdb -D /var/lib/pgsql/data_sums |
Line 157 listen_addresses = '*' # what I |
|
Line 152 listen_addresses = '*' # what I |
|
> psql -p 5432 -U postgres aiadb | > psql -p 5432 -U postgres aiadb |
jsoc=# create user postgres with password '????????'; | jsoc=# create user postgres with password '????????'; |
or | or |
hmidb=# ALTER USER postgres WITH PASSWORD 'j1ka-ale'; |
hmidb=# ALTER USER postgres WITH PASSWORD '(the ale)'; |
ALTER ROLE | ALTER ROLE |
or | or |
Edit /var/lib/pgsql/data_drms/pg_hba.conf for no password: | Edit /var/lib/pgsql/data_drms/pg_hba.conf for no password: |
|
|
jsoc=# insert into drms.minvers (minversion) values ('1.0'); | jsoc=# insert into drms.minvers (minversion) values ('1.0'); |
INSERT 0 1 | INSERT 0 1 |
| |
hmidb=# create user prodtest with password 'j1ka-ale'; |
hmidb=# create user prodtest with password '(the ale)'; |
| |
jsoc=# \q | jsoc=# \q |
| |
Line 303 cpan[1]> install DBD::Pg |
|
Line 298 cpan[1]> install DBD::Pg |
|
In /web/www/cgi-bin/forms_jsocdc_dcs1_SUMS as root change: | In /web/www/cgi-bin/forms_jsocdc_dcs1_SUMS as root change: |
$HOST = "dcs1x"; #host where the cgi runs | $HOST = "dcs1x"; #host where the cgi runs |
$user = "prodtest"; | $user = "prodtest"; |
$password = "j1ka-ale"; |
$password = "(the ale)"; |
$hostdb = "dcs1x"; #host where Postgres runs | $hostdb = "dcs1x"; #host where Postgres runs |
$PGPORT = 5434; | $PGPORT = 5434; |
| |
Line 317 ln -s htdocs html |
|
Line 312 ln -s htdocs html |
|
Apache on dcs1x logs: /var/log/httpd/ | Apache on dcs1x logs: /var/log/httpd/ |
| |
=============================================================================== | =============================================================================== |
irisarc:: j1ka-ale |
irisarc:: passwd (the ale) |
irisarc has been configured to communicate with irisdc | irisarc has been configured to communicate with irisdc |
over the 10g LMSAL link. Its 14TB disk is now mounted | over the 10g LMSAL link. Its 14TB disk is now mounted |
on irisdc as /irisarc (owner/group sumsadmin/sums). | on irisdc as /irisarc (owner/group sumsadmin/sums). |