zipperer / migrate_database_with_michael

0 stars 0 forks source link

On production server, install, run, and configure postgres cluster #19

Open zipperer opened 7 months ago

zipperer commented 7 months ago

Follow steps from postgres_script.txt

= postgres instance is running =

$ top
$ ps
$ ps | grep -i postgres
$ ls -ltr /etc/postgresql
$ apt-get update
$ top
$ ps
$ ps | grep -i postgres
$ ls -ltr /etc/postgresql
$ apt-get install postgresql # answer prompts about new libraries and timezones
$ ls -ltr /etc/postgresql # files are here
open /etc/postgresql/NUMBER/main/pg_hba.conf
replace 'peer' with 'trust'. save and exit.
$ service postgresql start

and the rest
zipperer commented 7 months ago

During #2 , we did this for one computer, but we have not yet decided which computer will be production server. See #18 .