网上有很多关于安装步骤流程,我在这里分享一下自己遇到的一些问题和解决过程
如果之前装过postgresql数据库,并且删除之前的了,还得查看一下是否还存在相关的数据库进程
root 9476 0.0 0.0 107952 360 ? S 10:17 0:00 sleep 1
root 9477 0.0 0.0 51740 1748 pts/0 R+ 10:17 0:00 ps aux
root 9478 0.0 0.0 6716 764 pts/0 R+ 10:17 0:00 less
postgres 10887 0.0 0.7 396352 14452 ? Ss Jun16 0:01 /usr/pgsql-10/bin/postmaster -D /var/lib/pgsql/10/data/
postgres 10896 0.0 0.0 249152 1840 ? Ss Jun16 0:00 postgres: logger process
postgres 10898 0.0 0.1 396352 3428 ? Ss Jun16 0:00 postgres: checkpointer process
postgres 10899 0.0 0.1 396352 3016 ? Ss Jun16 0:00 postgres: writer process
postgres 10900 0.0 0.3 396352 6184 ? Ss Jun16 0:00 postgres: wal writer process
postgres 10901 0.0 0.1 396896 2848 ? Ss Jun16 0:01 postgres: autovacuum launcher process
postgres 10902 0.0 0.1 251416 2096 ? Ss Ju