标签:usr list tar master ESS div bak lsp comm
-bash-4.2$ cd $PGDATA -bash-4.2$ ls base pg_commit_ts pg_logical pg_serial pg_subtrans pg_wal postmaster.opts current_logfiles pg_dynshmem pg_multixact pg_snapshots pg_tblspc pg_xact postmaster.pid global pg_hba.conf pg_notify pg_stat pg_twophase postgresql.auto.conf log pg_ident.conf pg_replslot pg_stat_tmp PG_VERSION postgresql.conf -bash-4.2$ cp postgresql.conf postgresql.conf.bak -bash-4.2$ vi postgresql.conf listen_addresses = ‘0.0.0.0‘
-bash-4.2$ cp pg_hba.conf pg_hba.conf.bak -bash-4.2$ vi pg_hba.conf host all all 0.0.0.0/0 md5
-bash-4.2$ /usr/pgsql-12/bin/pg_ctl restart
可查看日志:cd $PGDATA/log
标签:usr list tar master ESS div bak lsp comm
原文地址:https://www.cnblogs.com/connected/p/12635678.html