From a68c8605b7b751e1adffa13915242eb0f250d0c3 Mon Sep 17 00:00:00 2001 From: midoks Date: Thu, 11 Aug 2022 02:08:20 +0800 Subject: [PATCH] up --- plugins/postgresql/conf/pg_hba.conf | 4 ++-- plugins/postgresql/versions/14.4/install.sh | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/plugins/postgresql/conf/pg_hba.conf b/plugins/postgresql/conf/pg_hba.conf index b5aee69fd..015073936 100644 --- a/plugins/postgresql/conf/pg_hba.conf +++ b/plugins/postgresql/conf/pg_hba.conf @@ -3,8 +3,8 @@ # TYPE DATABASE USER ADDRESS METHOD # "local" is for Unix domain socket connections only local all all trust -host all all 127.0.0.1/32 trust -host all all ::1/128 trust +host all all 127.0.0.1/32 md5 +host all all ::1/128 md5 local replication all trust host replication all 127.0.0.1/32 trust host replication all ::1/128 trust \ No newline at end of file diff --git a/plugins/postgresql/versions/14.4/install.sh b/plugins/postgresql/versions/14.4/install.sh index ceae43324..7f00a7e9a 100755 --- a/plugins/postgresql/versions/14.4/install.sh +++ b/plugins/postgresql/versions/14.4/install.sh @@ -68,13 +68,13 @@ Install_App() if [ ! -d $serverPath/postgresql ];then cd ${postgreDir}/postgresql-${VERSION} && ./configure \ - --prefix=$serverPath/postgresql - # --with-openssl \ + --prefix=$serverPath/postgresql \ + --with-openssl # --with-pgport=33206 echo "cd ${postgreDir}/postgresql-${VERSION} && ./configure \ - --prefix=$serverPath/postgresql" - # --with-openssl \ + --prefix=$serverPath/postgresql \ + --with-openssl" # --with-pgport=33206 make -j${cpuCore} && make install && make clean fi