pull/156/head
midoks 3 years ago
parent a65a484bf1
commit a68c8605b7
  1. 4
      plugins/postgresql/conf/pg_hba.conf
  2. 8
      plugins/postgresql/versions/14.4/install.sh

@ -3,8 +3,8 @@
# TYPE DATABASE USER ADDRESS METHOD # TYPE DATABASE USER ADDRESS METHOD
# "local" is for Unix domain socket connections only # "local" is for Unix domain socket connections only
local all all trust local all all trust
host all all 127.0.0.1/32 trust host all all 127.0.0.1/32 md5
host all all ::1/128 trust host all all ::1/128 md5
local replication all trust local replication all trust
host replication all 127.0.0.1/32 trust host replication all 127.0.0.1/32 trust
host replication all ::1/128 trust host replication all ::1/128 trust

@ -68,13 +68,13 @@ Install_App()
if [ ! -d $serverPath/postgresql ];then if [ ! -d $serverPath/postgresql ];then
cd ${postgreDir}/postgresql-${VERSION} && ./configure \ cd ${postgreDir}/postgresql-${VERSION} && ./configure \
--prefix=$serverPath/postgresql --prefix=$serverPath/postgresql \
# --with-openssl \ --with-openssl
# --with-pgport=33206 # --with-pgport=33206
echo "cd ${postgreDir}/postgresql-${VERSION} && ./configure \ echo "cd ${postgreDir}/postgresql-${VERSION} && ./configure \
--prefix=$serverPath/postgresql" --prefix=$serverPath/postgresql \
# --with-openssl \ --with-openssl"
# --with-pgport=33206 # --with-pgport=33206
make -j${cpuCore} && make install && make clean make -j${cpuCore} && make install && make clean
fi fi

Loading…
Cancel
Save